| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: May 2002
Location: Christchurch, New Zealand
Posts: 2
|
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 |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Apr 2002
Location: Taipei, Taiwan
Posts: 147
|
Try this:
on (release) { cmdStr="c:\\Support\\Solution\\exec\\test.exe"; fscommand("EXEC", cmdStr); } |
|
|
|
|
|
|
|
|
#3 |
|
Moderator
Join Date: Apr 2002
Location: Taipei, Taiwan
Posts: 147
|
Sampe for passing parameter
on (release) { cmdStr="c:\\WIN2000\\NOTEPAD.EXE c:\\autoexec.bat"; fscommand("EXEC", cmdStr); } |
|
|
|
|
|
#4 |
|
Registered User
Join Date: May 2002
Location: Christchurch, New Zealand
Posts: 2
|
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.. |
|
|
|
|
|
#5 |
|
Guest
Posts: n/a
|
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() |
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |