Incoming command line parameters?
Ken Ray
kray at sonsothunder.com
Wed Feb 8 18:35:24 EST 2006
On 2/8/06 4:53 PM, "Garrett Hylltun" <garrett at paraboliclogic.com> wrote:
> Greetings,
>
> How to grab command line parameters that are sent to my rev app when
> it's launched?
They come in as $1, $2, etc. $0 is the path of the application itself:
on openStack
put $0 into theAppPath
put $1 into theDocToOpen
answer "The doc to open is: " & theDocToOpen
end openStack
HTH,
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode
mailing list