URL Scheme Handled by a Rev Application

Andres Martinez andres at bakno.com
Thu Jan 24 23:23:31 EST 2008


Thanks Trevor,

I will use relaunch when the application is running.

And sorry but I still don't understand how to get the parameters  
passed to the application on the first launch.

Regards,
Andres Martinez
www.baKno.com

On Jan 24, 2008, at 9:20 PM, Trevor DeVore wrote:

> On Jan 24, 2008, at 7:54 PM, Andres Martinez wrote:
>
>> Hello Andre
>>
>> I made it work putting the handler into the stack script.
>>
>> It is clear it would not run on windows, what I want to know is how  
>> to get parameters sent to the application on Windows.
>
> If your app is already running then look at the "relaunch" message  
> in the docs. You can extract parameters passed to the program in  
> that message.
>
> If you want to get parameters passed to the app when it first  
> launches then you can do something like this:
>
> repeat with i = 1 to $#  -- "$#" is new in 2.9 dp-3
>    put value("$" & i) into theValue
>    put theValue & cr after theFiles
> end repeat
>
> $# is very handy for this as it is the number of arguments passed  
> in. Otherwise you have to decide for yourself how how the repeat  
> loop should go.
>
> Regards,
>
> -- 
> Trevor DeVore
> Blue Mango Learning Systems
> www.bluemangolearning.com    -    www.screensteps.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list