Jump to content

Recommended Posts

Posted

Opt("RunErrorsFatal", 1) ; 1 means errors will popup. Set to zero for prod.

Opt("TrayIconHide",1)

RunWait(@comspec & ' /c echo y|chkdsk /f ')

The only way to make it stop is right click and exit several time.

Any help would be appreciated

Posted

by 'it stop' you mean the script or the chkdsk? try using run instead of run wait if you want the script to close after it launches the chkdsk

By stop it mean the only way to stop the Autoit icon from flashing.

The check should kick off after a reboot.

I've never seen the icon do this.

it seems to be tied to this script.

  • Developers
Posted

No Iam executing it form the C:.

Seems to be tied to the Dell Latitude 600, tried it on a few

What did you name the script ?

Opt("TrayIconHide",1) : The icon will still initially appear ~750 milliseconds.

#NoTrayIcon wont show it at all

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted (edited)

What did you name the script ?

Opt("TrayIconHide",1) : The icon will still initially appear ~750 milliseconds.

#NoTrayIcon wont show it at all

CheckDisk.exe

Still flashed even with #NoTrayIcon

Edited by themush1326
Posted

are you sure its not the window you mean thats fliashing? #NoTrayIcon disables the autoit tray icon entirely....

No I can see the AutoIt icon in the tray, I can right click it and see script paused or exit

  • Developers
Posted

No I can see the AutoIt icon in the tray, I can right click it and see script paused or exit

not possible when you have #NoTrayIcon in the script.

Do you have an chkdsk.exe in the script directory ? (old script or something ? )

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

not possible when you have #NoTrayIcon in the script.

Do you have an chkdsk.exe in the script directory ? (old script or something ? )

That was it, I had a script name chkdsk.exe in the same directory

thanks!!!!!!!!!!!

Posted

Look at the third parameter for RunWait...

RunWait(@comspec & ' /c chkdsk >c:\errors.txt' & @SW_HIDE)

Window Doesnt hide

RunWait(@comspec & ' /c chkdsk >c:\errors.txt', @SW_HIDE)

Error unable to execute external program

thanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...