@desktopdir
Does anyone know where the macro @Desktopdir is getting the information from? When I run Msgbox(0,"",@DesktopDir) it comes back blank. I assumed it would be pulling it from the registry key...
View ArticleMagnify
I have cause to use a screen magnifier, and remembered I'd seen and tried one by Melba32 a while back. After a bit of a search I found it here. But it does not seem to work anymore (it does not follow...
View Article@SW_SHOW without Focus
#Region ### START Koda GUI section ### Form= $frmStatePopup = GUICreate("", 227, 42, 1, 1,$WS_POPUPWINDOW,$WS_EX_TOPMOST,WinGetHandle(AutoItWinGetTitle())) ;$frmStatePopup = GUICreate("", 227, 42, 1,...
View ArticleSetting custom standard UPX parameters?
When you compile your exe with UPX enabled you see this in the lower window: Quote>Running:(3.7.0.0):C:\Program Files (x86)\AutoIt3\aut2exe\upx.exe" --best --compress-icons=0 -qq...
View Articlefilecopy wont copy
this code WILL copy an HD video file from the source to the destination. It WILL NOT copy audio files which are much smaller. do I need to tell the script to wait until the 1st copy (the HD video) is...
View Articlepsexec and regread
Hello, I compiled a script on a 64-bit computer, and the script is not working properly on 32-bit computers. Here's what I'm trying to do... We are, as a university, switching from Symantec to...
View ArticleEXE Details/Version/Description
Is there a way to fill in the details, as shown when right-clicking on a .exe file and selecting the Details tab? For instance, product name, and version? Also, currently, when I right-click on one of...
View ArticleComplex arguments
Hi guys, I'm having some issue with arguments here. I have this batch file that works fine and I would like to convert to autoit : "\\server\setup.exe" /s /v"/qn ALLUSERS=1 LEI_SILENT=1...
View ArticleScan folders and subfolders and list files only
I found here the following code. In the array are listed all folders and files. How to modify the code that the names of the subfolders are not listed. The path of the file is fine, there the subfolder...
View Article[Solved] Missing data WinHttpReadData
Hello, I have a problem with winhttp.au3. I send my code: $hOpen = _WinHttpOpen() $hConnect = _WinHttpConnect($hOpen, $URL) $hRequest = _WinHttpSimpleSendRequest ($hConnect,default,$ADDURL) $hProgramme...
View Article[SOLVED] Change Z-ordering of controls
Hello, I am trying to change the z-ordering of controls in my GUI using GUICtrlSetState. How come this example don't work? (I want $LABEL1 to be above $LABEL2) [ autoit ] popup#include...
View Articleconvert string into ANSI from UTF-8/Unicode
I have a need to convert a unicode string into the appropriate ANSI encoding. Purpose is to insert the ANSI string into an old application, which with proper encoding selected, displays the same...
View Article[Help] _ImageSearch - Search inside a window and multiple image search
Hi, I am trying to do the following: Search for an image inside a window (right now I can only search the entire desktop), and if it's found, do action 1. Else If, search image 2, and if it's found, do...
View ArticleConvert CSV file to INI file ?
Hi, Do you know how i can do to convert a csv file to a ini file ? My csv is like that : Key1,Key2,Key3,,,,..... xxx,xxx,xxx,xxx,xxx,,,,xx,,xxx,xxx xxx,xxx,xxx,xxx,,,,,xx,,xxx,xxx...
View Articleinclude same file twice
Hi, I'm using functions from one file in two different files, so i include this file in both of them. I run the functions in those files from another file, so i include both of them in that file....
View ArticleAdding local admins using @ComSpec and net localgroup
I'm trying to run the following to add local admins on a freshly imaged machine... [ autoit ] popup$test = "username" RunWait(@ComSpec & " /c " & "net localgroup administrators domain\"...
View ArticleGet File Path from a Shell Context Menu
I am struggling with where to start on a new project. My goal essentially, is to be able to right click one or multiple files within a system, and select an option to encrypt them with 7-zip. I have...
View ArticleDOS CMD Help
Hi All, Could some one help what is wrong with the below declaration of dos command in Autoit [ autoit ] popup#RequireAdmin Run(@ComSpec & " /k 'c:\Windows\System32\manage-bde.exe' |status")
View ArticleSwitching between programs on monitor 2
Hallo y'all, It has been a while (xp-age) since i have been scripting in autoit. I need to make a script that will alternate the visability off 2 programmes running on monitor 2. Easy - peasy? Can ya...
View ArticlePressing a button not working...
Ive been trying to make autoit press a button when a particular box apperas from a program [ autoit ] popup$path_mal = @ProgramFilesDir & "\Malwarebytes' Anti-Malware\mbam.exe"...
View Article