| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Mar 2001
Location: France in Paris area
Posts: 6
|
To register screens I am using Screencam from Lotus.
With this product it is possible to create self running program (let me call it demo.exe). When you execute demo.exe Screencam displays its Logo and its control panel. You may want to suppress those displays using: demo.exe /shc. This works fine from MS-DOS of from office product like Powerpoint. Within Flash I use fscommand("exec","demo.exe") or fscommand("exec","demo.exe /shc") In both cases I have the same results as if the /shc parameters were ignored. Any info, to help me? |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Mar 2001
Location: Szczecin, Poland
Posts: 6
|
use chr(9) as a argument separator
|
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Mar 2001
Location: France in Paris area
Posts: 6
|
Hi Axel,
I got your reply, but if you don't mind I need some additional information. I tried several options (among which): fscommand("exec","demo.exe"+chr(9)+"/shc") fscommand("exec","demo.exe"+chr(9)+"shc") with the same results... the shc parameters seem ineffective How would you write the fscommand in order to be equivalent to the MS-DOS: demo.exe /shc Regards [Edited by Louis on 03-05-2001 at 09:53 AM] |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Mar 2001
Location: Szczecin, Poland
Posts: 6
|
this should be working:
fscommand("exec","demo.exe"+chr(9)+"/shc") this syntax is ok -> test it with notepad but probably this exe uses non-standard parameter reading/parsing - to test this write a bat file with a "demo[alt+num0+num0+num9)]/shc" line (check if there is a chr(9) with hex preview) if this won't run nothing(nobody?) can help you :-( |
|
|
|
|
|
#5 |
|
Registered User
Join Date: Mar 2001
Location: France in Paris area
Posts: 6
|
Hi Axel,
I don't know what was wrong with my first tests...but anyway, I tried your proposal with notepad... fine I restarted with my screencam "demo.exe /src" and then I succeeded with fscommand ("exec","demo.exe"+chr(9)+"/shc") Thanks a lot |
|
|
|
|
|
#6 |
|
Registered User
Join Date: Apr 2001
Posts: 1
|
I'm having the same problem, except I'm trying to get my Flash 5 Projector file to play Windows's CD Player.
Here's what I got: fscommand ("exec","cdplayer"+chr(9)+"/play") I've also tried: fscommand ("exec","cdplayer"+chr(32)+"/play") fscommand ("exec","cdplayer"+chr(9)+"-play") fscommand ("exec","cdplayer"+chr(32)+"-play") fscommand ("exec","cdplayer /play") fscommand ("exec","cdplayer -play") Nothing gets the CD to start playing!! Louis, how did you solve your problem? Thanx in advance guys!!! -Sawn |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Apr 2001
Posts: 2
|
anyone knows how to do it in MAC?
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| using function with parameters in parameters of functions... | squadjot | ActionScript 1.0 (and below) | 3 | 08-04-2006 05:53 PM |
| Question about Sending parameters to a SWF from PHP | beachley | ActionScript 2.0 | 1 | 07-24-2005 01:54 AM |
| building a flash application properly | rasta_actnscrp | Other Flash General Questions | 1 | 04-04-2005 01:18 PM |
| hard application problem plus swf control | Planche | ActionScript 1.0 (and below) | 0 | 03-22-2004 05:18 AM |
| Database editing application - stuck halfway | Dubya | Server-Side Scripting | 2 | 07-23-2003 05:55 PM |