Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-02-2001, 01:55 PM   #1
Louis
Registered User
 
Join Date: Mar 2001
Location: France in Paris area
Posts: 6
Question

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?


Louis is offline   Reply With Quote
Old 03-03-2001, 07:46 PM   #2
axel
Registered User
 
Join Date: Mar 2001
Location: Szczecin, Poland
Posts: 6
Default

use chr(9) as a argument separator

axel is offline   Reply With Quote
Old 03-05-2001, 03:38 PM   #3
Louis
Registered User
 
Join Date: Mar 2001
Location: France in Paris area
Posts: 6
Default More info...

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]
Louis is offline   Reply With Quote
Old 03-05-2001, 07:15 PM   #4
axel
Registered User
 
Join Date: Mar 2001
Location: Szczecin, Poland
Posts: 6
Default

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 :-(
axel is offline   Reply With Quote
Old 03-06-2001, 09:08 AM   #5
Louis
Registered User
 
Join Date: Mar 2001
Location: France in Paris area
Posts: 6
Thumbs up

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

Louis is offline   Reply With Quote
Old 04-02-2001, 05:51 AM   #6
Sawn
Registered User
 
Join Date: Apr 2001
Posts: 1
Unhappy SAME PROBLEM!!!

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
Sawn is offline   Reply With Quote
Old 04-04-2001, 09:28 PM   #7
elkraneo
Registered User
 
Join Date: Apr 2001
Posts: 2
Wink

anyone knows how to do it in MAC?
elkraneo is offline   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
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


All times are GMT. The time now is 01:05 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, 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.