how to simulate a shortcut command in android??
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 203
- Joined: Mon Oct 31, 2011 9:36 pm
- Location: Italy
- Contact:
how to simulate a shortcut command in android??
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
i thank you a lot...
cheers,
Lestroso
Re: how to simulate a shortcut command in android??
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
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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 203
- Joined: Mon Oct 31, 2011 9:36 pm
- Location: Italy
- Contact:
Re: how to simulate a shortcut command in android??
Hi Mark....can you could make a simple example script....to make me understand well you say to me???
thanks a lot...
Lestroso
thanks a lot...
Lestroso
Re: how to simulate a shortcut command in android??
Hi Lestroso,
You can enter the custom URL scheme in the standalone settings (in LC 5.5 or later) and use a simple URL:
Kind regards,
Mark
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"
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 203
- Joined: Mon Oct 31, 2011 9:36 pm
- Location: Italy
- Contact:
Re: how to simulate a shortcut command in android??
Thanks mark.....but i needed another solution...it's not like have in my idea......but thanks a lot agail
Lestroso
Lestroso
Re: how to simulate a shortcut command in android??
Hi Lestroso,
Sorry, I don't understand your reply. What do you need?
Kind regards,
Mark
Sorry, I don't understand your reply. What do you need?
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode