Page 1 of 1
how to simulate a shortcut command in android??
Posted: Mon Jan 14, 2013 10:33 pm
by Fasasoftware
is there a way to command a sequence of keys like ctrl+o, for example to open a window in firefox..or ctrl+c or do other task...using android?? in other words...how i can send command to android but not only to a web browser....????
i thank you a lot...
cheers,
Lestroso

Re: how to simulate a shortcut command in android??
Posted: Wed Jan 16, 2013 2:14 am
by Mark
Hi Lestroso,
I don't think you're supposed to be able to do that, because it would be a huge security risk. You could, however, use a custom protocol to open an app and add a number of parameters to the URL. If you are the author of the app responding to the custom protocol, then you could write a script that responds to the parameters embedded in the URL.
Kind regards,
Mark
Re: how to simulate a shortcut command in android??
Posted: Wed Jan 16, 2013 6:40 am
by Fasasoftware
Hi Mark....can you could make a simple example script....to make me understand well you say to me???
thanks a lot...
Lestroso

Re: how to simulate a shortcut command in android??
Posted: Thu Jan 17, 2013 3:54 pm
by Mark
Hi Lestroso,
You can enter the custom URL scheme in the standalone settings (in LC 5.5 or later) and use a simple URL:
Code: Select all
launch URL "lestroso:_some_url?some=parameters&to=parse"
Kind regards,
Mark
Re: how to simulate a shortcut command in android??
Posted: Thu Jan 17, 2013 4:25 pm
by Fasasoftware
Thanks mark.....but i needed another solution...it's not like have in my idea......but thanks a lot agail
Lestroso

Re: how to simulate a shortcut command in android??
Posted: Thu Jan 17, 2013 10:08 pm
by Mark
Hi Lestroso,
Sorry, I don't understand your reply. What do you need?
Kind regards,
Mark