PDA

View Full Version : Introduction


doohoodogg
02-07-2006, 03:02 PM
ok, i wanna a picture that when i click it to do this : To stop the background sound playing (ive made this ) then to start playing a movie (mpg) in fullscreen if posibile, then after the movie ends to start an app (setup.exe) (i know how to do this), imediatlely after this to show a msg (ive done this too) and after the setup.exe is complete (the user close it) to restore playing the background sound (i know this too)

NOW the problem is that what ive made is not sincronized, i mean, the movie starts, not in fullscreen but with my BSplayer, the setup starts within the movie, the msg as well, the bck sound doesn restore. I need help, can someone fix my script to work properly plss

heres my script

Audio.Pause(CHANNEL_BACKGROUND);
File.Open("AutoPlay\\Videos\\ExtrasAsh.mpg", "", SW_SHOWNORMAL);
result12 = File.Run("Republic commando\\GameData\\setup.exe", "", "", SW_SHOWNORMAL, false);
result = Dialog.Message("CD-KEY", "VENG-EANC-E005-1737-EU20", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);

srry for my bad eng

markstaylor
02-07-2006, 05:04 PM
Try putting your script:

result12 = File.Run("Republic commando\\GameData\\setup.exe", "", "", SW_SHOWNORMAL, false);
result = Dialog.Message("CD-KEY", "VENG-EANC-E005-1737-EU20", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);


in the On Finish event of the video or the On Stop.