|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
A little help with a basic script please.
I am using this script to run a programe but the programe loads and then the screen goes black then the programe loads again.It does this every time.To be honest new to this and not sure what to look for,any help would be nice.
What i hope to do is to click the icon and it loads once without the screen going black etc etc. When i check on the properties for this script it is called a time changer. var d, s, command, dos_com, option, appl; appl = "epcmc.exe"; d = new Date(); s = d.getDate() + "."; s += (d.getMonth()+1) + "."; option = s + "1999"; s += d.getFullYear(); var WshShell = WScript.CreateObject("WScript.Shell"); command = "%COMSPEC% /c "; dos_com = "date "; WshShell.Run (command + dos_com + option, 0); WshShell.Run (appl); WScript.Sleep (3000); option = s; WshShell.Run (command + dos_com + option, 0); |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > A little help with a basic script please. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|