Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > General > Flashants Support Forum

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-06-2002, 01:10 AM   #1
dazzer
Registered User
 
Join Date: May 2002
Location: Christchurch, New Zealand
Posts: 2
Lightbulb Shell Execute with parameters

Hi Folks,
I am trying to run the Shell Execute Command in FMProjector, but I need to pass parameters as well as a file name.

Any Ideas? I have tried quite a few things, but no luck yet.

Cheers
D
dazzer is offline   Reply With Quote
Old 05-06-2002, 05:13 AM   #2
Flashants
Moderator
 
Join Date: Apr 2002
Location: Taipei, Taiwan
Posts: 147
Default

Try this:


on (release) {
cmdStr="c:\\Support\\Solution\\exec\\test.exe";

fscommand("EXEC", cmdStr);
}
Flashants is offline   Reply With Quote
Old 05-06-2002, 05:25 AM   #3
Flashants
Moderator
 
Join Date: Apr 2002
Location: Taipei, Taiwan
Posts: 147
Default

Sampe for passing parameter

on (release) {
cmdStr="c:\\WIN2000\\NOTEPAD.EXE c:\\autoexec.bat";

fscommand("EXEC", cmdStr);
}
Flashants is offline   Reply With Quote
Old 05-08-2002, 10:11 PM   #4
dazzer
Registered User
 
Join Date: May 2002
Location: Christchurch, New Zealand
Posts: 2
Default

Thanks for the quick reply,

Unfortunatly the commmands you gave me do not work in FlashMX, as Macromedia have reduced the fscommand("EXEC") functionality. See http://www.macromedia.com/support/fl...opics.htm#exec

What I am trying to do is run a program with
fscommand("fas.shell.open", "docs/RelNotes.pdf");
This one works fine, but when I try to run an exe with a parameter, I have no luck
fscommand("fas.shell.open", "setup.exe -english");

(I am specifically wanting to use MX for its unicode support)


Many Thanks
Darrin Hurd

Last edited by dazzer; 05-08-2002 at 10:13 PM..
dazzer is offline   Reply With Quote
Old 03-31-2009, 12:06 AM   #5
Furinax
Guest
 
Posts: n/a
Default Docs

Just passed by your post looking for a solution with FS command myself. Check the docs, maybe they'll help:


http://livedocs.adobe.com/flash/9.0/...riptLangRefV3/

http://flash-reference.icod.de/globa...ml#fscommand()
  Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
one template, many looks? subquark ActionScript 1.0 (and below) 1161 09-03-2009 04:45 PM
execute file with parameters Programatorul Projectors and CDs 2 01-24-2005 12:59 PM
Advanced Level Question: How do I define optional function parameters? thebigjibb ActionScript 2.0 3 11-11-2004 11:30 AM
How to access the parameters of a component in the library? cmxcmz2002 JSFL - Extending Flash 1 09-10-2004 10:50 AM
Execute Files from Local Presentations - include parameters (arguments)? sabines ActionScript 1.0 (and below) 2 12-04-2001 01:16 PM


All times are GMT. The time now is 08:52 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.