Page 1 of 1

Let us Help You Master!

Posted: 16 Apr 2014 14:16
by munhozdiego
Hi Developer,

Please consider the Following:

Could you implement some form of Modular design, allowing experienced developers (like me :) ) to expand capabilities of AutoMagic trought creating "modules".

Let me get things more clearer:

Using root commands and action script for example, i can pull lots of new triggers and conditions. Simple by using that. Imagine now that you create some sort of "module import option" for automagic, this import option would take a script wrote by someone else and turn it into a new trigger, action, condition.

Do you got it ? this way we could easly have thousands of new triggers,actions,conditions in no time simple by allowing programmers or experienced users to create these. It´s like plugin idea, but superior.

Let me show you an example:

Someone asked here on Feature Requests forum a trigger for when phone is rebooted, so I created this ?

stdout = uptime
if (substring(stdout,11,14) < 1) {
//Fancy Stuff here
}

Quick code to check phone uptime (in minutes) if phone is started for less than a minute, it triggers condition of phone being rebooted.

Re: Let us Help You Master!

Posted: 16 Apr 2014 22:00
by ZSasha
@munhozdiego, it is a great idea, however Automagic does already support Plugins.
Did you have a chance to look at them? They could be triggers as well.