Jump to content

vienxu

Members
  • Posts

    5
  • Joined

  • Last visited

vienxu's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. How do I detect to see if the setup.exe is running? The setup.exe is a subprocess of the ntaskldr.exe. Code below doesn't detect it. If ProcessExists("setup.exe") then MsgBox(0, "Running Program","setup.exe") else MsgBox(0, "Not Running Program","setup.exe") EndIf
  2. Thank you Very MUCH.
  3. How can I determine if a PC is a 2000 Pro or 2000 Server? @OSVersion only tell me a device is 2000 but it can't tell me if it is a 2000 Pro or server. Thanks.
  4. Thank you. Works great. One more question. How can I dectect a parameter was passed? Ex: progress.exe will show the command with syntax. progress.exe 10000 will work as below. Thanks again.
  5. How can I pass time to sleep to a progress bar script after it is compiled? Ex: progress.exe 10000 (to run the progress bar and sleep at every 10 secs at each step. Thanks. Func PROGRESS($sleepME) ProgressOn("Progress Meter", "Mapping Drives...", "0 percent") sleep($sleepME) ProgressSet( 10, 10 & " percent") sleep($sleepME) ProgressSet( 20, 20 & " percent") sleep($sleepME) ProgressSet( 40, 40 & " percent") sleep($sleepME) ProgressSet( 60, 60 & " percent") sleep($sleepME) ProgressSet( 80, 80 & " percent") ProgressSet(100 , "Done", "Complete") sleep(500) ProgressOff() EndFunc
×
×
  • Create New...