Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Use Actionscript to control other applications

Participant ,
Aug 19, 2018 Aug 19, 2018

I am wondering if it is possible to use Actionscript, to firstly launch another application. And then click a certain pattern on the screen. To automate another application.

TOPICS
ActionScript
934
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 19, 2018 Aug 19, 2018

Hi.

Could you please provide more details?

Do you want an ActionScript application to control another ActionScript application? Or do you want to control an application created with another language?

And what kind of pattern and automation?

Thanks,

JC

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 26, 2018 Aug 26, 2018

Hi,

I would firstly fire/launch another third party application.

Then I would like to push some buttons inside that other application

Oliver

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 27, 2018 Aug 27, 2018

Hi.

I think the easiest solution would be using fscommand() to call an external executable.

flash.system - Details Adobe ActionScript® 3 (AS3) API Reference

Native Process is also an option.

NativeProcess - Adobe ActionScript® 3 (AS3 ) API Reference

The control over the external application is up to you. It depends on how you code it.

Regards,

JC

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 30, 2018 Aug 30, 2018

Thank you.

fscommand "exec" from AIR

This is an old thread, but do you know if it has been implemented?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 31, 2018 Aug 31, 2018

If you're using an AIR application, then you can use NativeApplication - Adobe ActionScript® 3 (AS3 ) API Reference .

See an example here:

Re: Launching external exe in AIR

Regards,

JC

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 02, 2018 Sep 02, 2018

Would that example work on a mobile device. Or Desktop only?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 23, 2024 Oct 23, 2024

Hello, would AS3 in full screen mode in one window be able to contol another AS3 app in another full screen window? It would be easy if Animate/Flash could span 2 desktops in full screen mode, but it seems it can't, so some how 2 apps have to communicate.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 24, 2024 Oct 24, 2024
LATEST

Hi.

 

Have you tried the LocalConnection class?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines