Re: [flexcoders] Could AIR create an automation app?

2011-08-08 Thread James Ong
Not direct invocation but you can control them through NativeProcess that
can pass a command of argument and received standard output from the
application like Command Prompt. That right, AIR is made to be as portable
as possible.

For your case, you can use .Net or C# to automate those task. For easier
coding, consider AutoIT which is widely use by System Admin to automate
routine tasks, you can do a simple control like mouse and window position to
advance control like hook DLL. I did used AutoIT in the past.


On Mon, Aug 8, 2011 at 12:07 PM, MicC chigwel...@yahoo.com wrote:

 **


 Does AIR have enough hooks to the os to create an automation app? Programs
 like Automate and WinAutomation script mouse position and clicks to control
 an app's gui, and Automate automatically recognizes menus and buttons etc if
 the app to be controlled conforms to something - not sure what.

 I really need the power of actionscript to control a widget intensive music
 gui. TIA,

 Mic.

  



Re: [flexcoders] Could AIR create an automation app?

2011-08-08 Thread Pete
In short, I don't think so, you are pretty much in a sand box as you run 
an Air app. I haven't checked the state of play with 4.5, things have 
maybe improved.


I think that Adobe are terrified that someone will write a virus in 
Air!  So they keep you away from all that system level stuff...  All a 
little bit nanny state to my mind, Air should have access to the system 
to be a viable language IMO, no-one blames Microsoft for all the VB 
malware out there!


I mentioned FlourineFX as a last week, it provides access to .NET but I 
think it only works on Windows (although it is compatible with Mono).  
Might be a way to do it?  I'm not a .NET guy so don't know what's in 
there :)


Regards,
Pete



On 08/08/2011 05:07, MicC wrote:


Does AIR have enough hooks to the os to create an automation app? 
Programs like Automate and WinAutomation script mouse position and 
clicks to control an app's gui, and Automate automatically recognizes 
menus and buttons etc if the app to be controlled conforms to 
something - not sure what.


I really need the power of actionscript to control a widget intensive 
music gui. TIA,


Mic.




[flexcoders] Could AIR create an automation app?

2011-08-07 Thread MicC
Does AIR have enough hooks to the os to create an automation app? Programs like 
Automate and WinAutomation script mouse position and clicks to control an app's 
gui, and Automate automatically recognizes menus and buttons etc if the app to 
be controlled conforms to something - not sure what.

I really need the power of actionscript to control a widget intensive music 
gui. TIA,

Mic.