Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-19-2004, 02:10 AM
Junior Member
 
Join Date: Nov 2003
Posts: 6
Default Technical Difference Between shell.run and shell.runAndWait

Hello -

I am trying to launch a custom exe from my SWF exe. Things work fine when I use shell.run, but when I use shell.runAndWait, the exe is not visible. Every combination of show_flags works fine with run, but none of them make the exe visible with shell.runAndWait.

Is there something that SWF does that might be causing this? Any suggestions on fixes or workarounds?

Thanks,
Sean.
Reply With Quote
  #2 (permalink)  
Old 04-22-2004, 03:24 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Technical Difference Between shell.run and shell.runAndWait

Please try to minimize the main window.

Code:
getMainWnd().windowState = "minimized";
Shell.runAndWait("notepad.exe");
getMainWnd().windowState = "normal";
The run method and runAndWait method work in the same way, the only difference is the 'run' method returns a Window object immediatly and the 'runAndWait' method does not return until the launched app is ended.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:02 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.