hello, at first thanks for new version with numerous additions.. most new features we requested are included..
i thought about a new kind of "script" addition.. a more complex script that allows javascript commands.. as i checked, other automation apps have this feature..
why i requested this: i tried stock camera app, run it and simulate "take photo" key to get instant photo, i even simulated KEYCODE_CAMERA even my phone does not have a hardware camera button.. that didn't work. after research, i noticed, only way for this is a java code.. so maybe this kind of new script addon can help..
another request for forum: in userhelp-bug request forum, "DIY-Actions: Execute Command, Execute Root Command" topic is great,
how about a new topic about start activity-broadcast topic, describing special activities-variables of stock apps, examples and their results?
regards,
java script addon
Moderator: Martin
Re: java script addon
Hi,
sl4a might be the right tool for you. It allows to create scripts in different languages (JavaScript, Python, lua, beanshell etc.):
https://code.google.com/p/android-scripting/
You can call your own scripts from Automagic using the action Plugin and you can probably also trigger Automagic flows from scripts using broadcast intents (see trigger General Broadcast).
I'm thinking about starting more DIY-posts as soon as I find some time. Posts will probably cover General Broadcast, Start Activity and Send Broadcast.
Don't hesitate to post your own examples or variations of existing commands in the forum.
Regards,
Martin
sl4a might be the right tool for you. It allows to create scripts in different languages (JavaScript, Python, lua, beanshell etc.):
https://code.google.com/p/android-scripting/
You can call your own scripts from Automagic using the action Plugin and you can probably also trigger Automagic flows from scripts using broadcast intents (see trigger General Broadcast).
I'm thinking about starting more DIY-posts as soon as I find some time. Posts will probably cover General Broadcast, Start Activity and Send Broadcast.
Don't hesitate to post your own examples or variations of existing commands in the forum.
Regards,
Martin
-
- Posts: 53
- Joined: 17 Mar 2013 16:08
Re: java script addon
Thx for the note to SL4A! A great expansion to Automagic 's 'Action' part!