|
|
|
|
|
January 16th, 2007, 12:37 PM
|
|
Sergeant
|
|
Join Date: Apr 2004
Location: Tampa Bay, Florida, USA
Posts: 327
Thanks: 5
Thanked 33 Times in 11 Posts
|
|
Re: Command Line Switches - revisited
all switches seem to be treated as another filename argument, perhaps to the "open" command.
|
January 16th, 2007, 01:25 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Command Line Switches - revisited
I saw an example online of using the open and then putting the filename in single quotes so that
open Dominions3.app -h
would have been
open 'Dominions3.app -h '
or something like that. I couldnt tell what quotes were used whether it as " ' ` or whatever.
Im just curious because this is one of the subjects Im debating wiki/blog/faq or something on Dom3Minions. Some how-to on screenshots, sprites, command switches, backups, saves, restores, alarms, hosting, map making, etc etc
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
January 17th, 2007, 07:42 PM
|
|
Sergeant
|
|
Join Date: Apr 2004
Location: Tampa Bay, Florida, USA
Posts: 327
Thanks: 5
Thanked 33 Times in 11 Posts
|
|
Re: Command Line Switches - revisited
Gandalf - good idea! But unfortunately, it doesn't seem to work. encapsulating the "Dominions3.app -h' (application plus switches within the quotes) doesn't make any difference, which sort of runs counter to *nix standard behavior I guess.
Quote:
/Applications/Games/Dominions 3 psientist$ open 'Dominions3.app -h'
2007-01-17 17:42:26.491 open[3418] No such file: /Applications/Games/Dominions 3/Dominions3.app -h
|
|
January 17th, 2007, 10:21 PM
|
|
Captain
|
|
Join Date: Jun 2004
Location: Rhode Island
Posts: 822
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Command Line Switches - revisited
Remember, open expects its argument to be a file. If it's an executable file, I guess that's okay, but files don't usually take command-line arguments -- programs do.
You don't need open to run a program; you don't even want it to run a program, unless I'm missing something.
|
January 18th, 2007, 11:40 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Command Line Switches - revisited
Yesterdays progress file item should be of interest.
17th january
* Version 3.05
16th january
* Universal binary working.
* New spell for Man.
The "Universal Binary" Im guessing refers to this..
http://en.wikipedia.org/wiki/Universal_binary
Be sure to let us know how the new patch works out for you guys.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
January 18th, 2007, 04:08 PM
|
|
Sergeant
|
|
Join Date: Apr 2004
Location: Tampa Bay, Florida, USA
Posts: 327
Thanks: 5
Thanked 33 Times in 11 Posts
|
|
Re: Command Line Switches - revisited
Well, I'm still running a motorola PowerPC - based Mac. The universal binary won't affect me until I upgrade...but that's still good news!
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|