On 4/25/00 7:46 PM Jeremy Wadsack ([EMAIL PROTECTED]) wrote:
>Jason Linhart wrote:
>
>> On 4/25/00 5:52 PM Tom Wiebe ([EMAIL PROTECTED]) wrote:
>>
>> >What syntax do I pass Analog on the Macintosh to tell it to open a
>> >specific configuration file, ignoring the default config file, via
>> >applescript.
>> >
>
>The proper syntax (to stay on topic :) under any OS that supports command
>lines is:
>
> analog -G +gmyconfig.cfg
>
>The "-G" turns off the default config file (if this is what you want to do).
>
>The "+g" turns "on" the configuration file that is specified after it.
>
>No spaces may exist between command-line options and their values. If the
>values have spaces then the options must be quoted.
Oops, that means the correct AppleScript to match up with what Drag and
Drop does on the Mac is:
tell application "Analog4.1"
do script "-G '+gpathto:myotherconfigfile.cfg'"
end tell
I guess it is obvious that I don't use the command line much.
Jason
-----------------
[EMAIL PROTECTED]
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
-- Peter van der Linden, Expert C Programming, Deep C Secrets
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------