macro or small program?

Discussion in 'Mac Apps and Mac App Store' started by Arkious, May 10, 2011.

  1. Arkious macrumors 6502a

    Arkious

    Joined:
    Mar 14, 2011
    Location:
    Newcastle, UK
    #1
    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 :)
     
  2. Arkious thread starter macrumors 6502a

    Arkious

    Joined:
    Mar 14, 2011
    Location:
    Newcastle, UK
    #3
    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?
     
  3. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #4
    It's scripting, which is vaguely akin to macros. Read up on it and you'll see how it works.
     
  4. Arkious thread starter macrumors 6502a

    Arkious

    Joined:
    Mar 14, 2011
    Location:
    Newcastle, UK
    #5
    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
     
  5. Arkious thread starter macrumors 6502a

    Arkious

    Joined:
    Mar 14, 2011
    Location:
    Newcastle, UK

Share This Page