i just need your help. i have script for cleaning browsing history and other unwanted file but the problem is i don't want to see the GUI i have attached below. It should not show anything on the screen. is it possible to do it in autoit. thanks in advance.
So for i have tried flag
Run("rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 255", "", @SW_HIDE)
Looking forward your help.........
I click "Help" or press F1, there is no response
If I use the file explorer and double click Autoit.chm or Autoit3.chm help opens.
There is no dialog to check or uncheck "Always ask before opening this file" when clicking on these files.
If you are curious as to why I dont have the latest version, I am creating a back up laptop that has a VERY extensive automation application that I have written over the past 15 years.
An extremely potent, powerful, needed function has been deleted in the upgrade of Autoit in recent years that I can not do without. If my main laptop dies, which it almost did, I am in a very bad position. So I bought the exact same laptop and I am "cofiguring" it to work exactly the same as my main laptop. However, this one has been "Upgraded" to Win 10 which I hope is not the problem.
Thanks for any help
Hello I want to conect to a Network with DriveMapAdd.
This worked just fine but when you restart the Computer the Mapped drive is gone.
So i used the persistent mapping flag and that seemed to work, too.
However when the Computer is restarted I cant connect to the Network because it doesnt remember the Username and password I ave it the first time.
How do I fix this?
DriveMapAdd("M:", GUICtrlRead($driveM),1, GUICtrlRead($netzuser),GUICtrlRead($netzpassword) )
$netzuser and $netzpassword are set earlier in the gui and it works right after executing the script but i want it to stay connected
Morning, I am wondering is there is a way to prevent a script from ending/crashing when a "Subscript used on non-accessible variable" error occurs?
Here is some of my code:
$aItems = _OL_ItemFind($oOutlook, $mFolder, $olMail, "[UnRead]=True", "Subject", "Maintenance Request", "EntryID,Subject", "", 0) If @error Then Sleep(2000) LoopUnreadEmails() ;Exit MsgBox(48, "", "@error = " & @error & ", @extended: " & @extended & " at line: " & @ScriptLineNumber) EndIf Error Msg:
(371) : ==> Subscript used on non-accessible variable.: $aItems = _OL_ItemFind($oOutlook, $mFolder, $olMail, "[UnRead]=True", "Subject", "Maintenance Request", "EntryID,Subject", "", 0) $aItems = _OL_ItemFind($oOutlook, $mFolder^ ERROR I know that error occurs very rarely and at random. But like with most errors "in this case" I can use recursion to fix it.
I just recall the function and it will and has fixed itself. But this "Subscript used on non-accessible variable" just ends the script.
Like I said before, is there a way to allow the script to keep running or call a function when this error occurs instead of just ending?
Hi, i'm recording a setup for a program using mouse clicks , however, the problem is when the setup installs (the progress bar showing) the auto generated script by the recorder will not have a winwait() or sleep() to click the "finish" button when the setup is completed. is there anyway to do that automatically?