Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-10-2009, 04:04 PM   #1
Registered User
Join Date: Nov 2007
Posts: 7
Default Can I open a local program?

I built a presentation style CD that has links to open PDf's and a sample video. The video is an older AVI file that requires a special codec to play unless the person has Camtasia Player. I could put CamPlay on the CD and let them use that program to view it. My question is, if I put the actual CamPlay program on the CD can I call the avi to open with that program, instead of it trying to default to Windows Media Player? I was hoping to do this with a getURL since it's a button that launches the video. I guess this would be the same as someone trying to open an MP3 with Real Player instead of Windows Media Player. Any help would be awesome. Thanks in advance.

If this needs moved to the Projector/CD forum please do.
Turbo6 is offline   Reply With Quote
Old 08-12-2009, 07:16 AM   #2
Yellow brick road - OZ
Join Date: Aug 2009
Location: Brisbane/Australia.
Posts: 38

From my little understanding about life in general, I assume that the feature you are asking is something to actually tell the OS to do, such as, "Open With" command when right clicking on the file that it is you want to specify from now on what it should open (and in your case play with).

I am interested to know if there is some kind of ActionScript (if it exists) that can direct the .swf what video player to open up and play with according to the extension type.

@The resident experts.
Please post here if such a Script exists. Cheers.
Aberrant is offline   Reply With Quote
Old 08-12-2009, 03:25 PM   #3
Senior Member
northcode's Avatar
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 419

If the player you want to use is a standalone application and doesn't have to be installed then you're in luck, you can do what you need with a BAT file and the EXEC FSCommand.

Just put the command to open the file using your alternate player in a BAT file called "openvideo1.bat" and use fscommand("EXEC", "openvideo1.bat") to launch it. The BAT file has to be in a special folder called "fscommand" that's is in the same folder where your EXE is but that's it.

This will show an ugly DOS box when you do it, but I created a FREE tool called Proxy to get around this.
northcode is offline   Reply With Quote

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 On
HTML code is Off

Forum Jump

All times are GMT. The time now is 04:32 AM.

Follow actionscriptorg on Twitter


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