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

Fscommand

New Here ,
Jul 03, 2016 Jul 03, 2016

I have used adobe flash to make an autorun which is a list of some games,I used fscommand in my flash file to load an external executable file when the the button is pressed,but as i have 5 program to open in different buttons several windows are opened which are kind of bothering.is there any similar code to do this job avoiding the mentioned issue ? you can also see the video of the autorun,.

TOPICS
ActionScript
1.9K
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

correct answers 1 Correct answer

Community Expert , Jul 05, 2016 Jul 05, 2016

it doesn't make any sense to double click WarKey.exe in flash.

regarding the file WarKey.exe (that's NOT in flash),

rename WarKey.bat to WarKey.exe

create a new Warkey.bat file using notepad that contains the following one line of code:

start WarKey.exe

double click the bat file.  does it work correctly?  if so, test your flash file.

Translate
Community Expert ,
Jul 03, 2016 Jul 03, 2016

what code executes when a button is clicked?

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 ,
Jul 03, 2016 Jul 03, 2016

on (release) {

    fscommand("exec","WarKey.bat");

}

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 ,
Jul 04, 2016 Jul 04, 2016

what's in WarKey.bat?

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 ,
Jul 04, 2016 Jul 04, 2016

I just saw online that to open a exe file we should make it bat first.

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 ,
Jul 04, 2016 Jul 04, 2016

what's in WarKey.bat?

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 ,
Jul 04, 2016 Jul 04, 2016

it's just "WarKey.exe" and saved as .bat

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 ,
Jul 04, 2016 Jul 04, 2016

what happens when you double click WarKey.bat?

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 ,
Jul 05, 2016 Jul 05, 2016

In flash or in file folder ? If in flash it opens warkey.exe in file folder and the same happens when it's clicked in file folder.

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 ,
Jul 05, 2016 Jul 05, 2016

it doesn't make any sense to double click WarKey.exe in flash.

regarding the file WarKey.exe (that's NOT in flash),

rename WarKey.bat to WarKey.exe

create a new Warkey.bat file using notepad that contains the following one line of code:

start WarKey.exe

double click the bat file.  does it work correctly?  if so, test your flash file.

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 ,
Jul 06, 2016 Jul 06, 2016

"rename WarKey.bat to WarKey.exe

create a new Warkey.bat file using notepad that contains the following one line of code:

start WarKey.exe"

This just worked fine and as i wanted,thanks

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 ,
Jul 06, 2016 Jul 06, 2016
LATEST

you're welcome.

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