ononolu
07-14-2006, 04:30 PM
Hi Everybody!!
How I can add wait on Shell.Execute like in File.Run?
Tkank!
Intrigued
07-14-2006, 05:49 PM
That's one of the pluses of using File.Run(), it has that option where Shell.Execute() does not.
ononolu
07-14-2006, 06:46 PM
:rolleyes Hmm.... ok thanks!!
ononolu
07-25-2006, 04:24 PM
Have it an easy way to make a wait after Shell.Execute?
Intrigued
07-25-2006, 06:59 PM
Use the Action Application.Sleep(put_wait_time_here_in_millisecon ds_1000ms=1second)
ononolu
07-26-2006, 08:43 AM
Hi Intrigued!
I have this code.
I think I have a problem because I have File.Run and Shell.Execute and I will test it but now, where I need to put Application.Sleep, at the end of another, after ";", before or after?
File.Run("AutoPlay\\Docs\\applications\\izarc\\IZArc35.exe", "/VERYSILENT", "", SW_SHOWNORMAL, true);
File.Run("AutoPlay\\Docs\\applications\\adaware\\aawseperson al.exe", "/s", "", SW_SHOWNORMAL, true);
Shell.Execute("AutoPlay\\Docs\\applications\\acrobat\\acrobat7fr\ \Adobe Reader 7.0.8 - Français.msi", "open", "/qb", "", SW_SHOWNORMAL);
Shell.Execute("AutoPlay\\Docs\\applications\\msn messenger\\MsnMsgs.msi", "open", "/qb", "", SW_SHOWNORMAL);
File.Run("AutoPlay\\Docs\\applications\\adaware\\pllangs.exe", "/s", "", SW_SHOWNORMAL, true);
File.Copy("AutoPlay\\Docs\\applications\\adaware\\defs.ref", "C:\\Program Files\\Lavasoft\\Ad-Aware SE Personal\\", true, true, false, true, nil);
File.Run("AutoPlay\\Docs\\applications\\spybot\\spybotsd14.e xe", "/verysilent", "", SW_SHOWNORMAL, true);
File.Run("AutoPlay\\Docs\\applications\\spybot\\update\\spyb otsd_includes.exe", "/S", "", SW_SHOWNORMAL, true);
Shell.Execute("AutoPlay\\Docs\\applications\\java\\J2SE Runtime Environment 5.0 Update 7.msi", "open", "/qb", "", SW_SHOWNORMAL);
File.Run("AutoPlay\\Docs\\applications\\ccleaner\\ccsetup131 _basic.exe", "/S", "", SW_SHOWNORMAL, false);
Shell.Execute("AutoPlay\\Docs\\applications\\google\\GoogleToolba rInstaller.exe", "open", "/q /d", "", SW_SHOWNORMAL);
1000 thanks
sorry for my english:rolleyes
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.