Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Arkious

macrumors 6502a
Original poster
Mar 14, 2011
583
0
Newcastle, UK
Hi All,

I would like to know if its possible to write a simple macro/ program to open an application or two from a ceirtain location when it is launched. i have been trying via command but you cant seem to save it so you can run it.

thanks :)
 

Arkious

macrumors 6502a
Original poster
Mar 14, 2011
583
0
Newcastle, UK
ohh thats what automator is for! haha cool.

okay, i want to run a java program under ceirtain circumstances. will i be to add this to the list?

i think its needs to be run via command, but is this just like a macro program?
 

Arkious

macrumors 6502a
Original poster
Mar 14, 2011
583
0
Newcastle, UK
okay so there are many things this could be useful for! i cant figure out how to do it though.

i want to run a minecraft server for my little brother as my computer has much resource to spare but i turn it off a lot when not used and only run this server when he wants it and its a bugger to type/ copy and paste this into terminal all the time!

basically its

open terminal
type 'cd /Applications/Minecraft/Server' and hit enter
type 'ls' and hit enter
type 'java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui' and hit enter

that would be the whole thing but i cant figure out how to do it. even the record feature doesnt seem to do it :p
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.