NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Can I use Javascript or Special Bat file to launch apps?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 07-17-2003, 04:19 PM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Jan 2003
Posts: 53
Rhino1616 is an unknown quantity at this point
 



Can I use Javascript or Special Bat file to launch apps?


Hi,

My CD presentation made in Swish (Its like Flash) & WinXP is giving me a little problem, Adams_UK helped me out (thanks ) but I still cant get it to work. I have 3 different file formats for the viewer to choose & download. If I use the gotoURL command, it immediately sets off the Windows default pop up window "Possible harmful file...etc" which looks bad. I've read you can use a batch file & FS commands to launch 3rd party apps in Swish & avoid the windows default pop-up window.
????: NamePros.com http://www.namepros.com/programming/15008-can-i-use-javascript-special-bat.html

So I tried that & liked 99% of it, it launches the app perfectly, but a little DOS pop up window pops up for about 10 secs stating d:>Start filename.doc, & then it disappears. I think this looks unprofessional. Ive tried opening the batch file in Win XP & altering batch file: close on exit/ minimize but it dosent seem to work. I set up a very simple mock up of my example with a fake word doc file, could someone plase take a look & tell me if they can get it to work without the DOS window. My file is for download at:

http://uniteddistributorscanada.hypermart.net/

If none of this can work does anyone know if I can use Javascript in my Swish CD to launch apps, and how i would do it.

Thank you for your time
Rhino1616 is offline  
Old 08-16-2003, 06:48 AM   #2 (permalink)
New Member
Join Date: Jul 2003
Posts: 9
IndigoPixel is an unknown quantity at this point
 



It is unlikely that you'll be able to use JavaScript to launch an app ... JavaScript is built so that it doesn't have much (=any) power to do anything outside a browser environment. You could try ActiveX controls or Java ... ActiveX will work only on Windows environments, however.
IndigoPixel is offline  
Old 08-18-2003, 09:59 AM THREAD STARTER               #3 (permalink)
NamePros Member
Join Date: Jan 2003
Posts: 53
Rhino1616 is an unknown quantity at this point
 



Thanks for the info IndigoPixel
Rhino1616 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 06:24 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger