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

Use Actionscript to control other applications

Participant ,
Aug 19, 2018 Aug 19, 2018

Copy link to clipboard

Copied

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

Views

515

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Hi,

I would firstly fire/launch another third party application.

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

Oliver

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Thank you.

fscommand "exec" from AIR

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Hi.

 

Have you tried the LocalConnection class?

Votes

Translate

Translate

Report

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