Select
Case $nMsg = $Save
$fSave = FileOpen("stuff.txt", 2)
$sText = GUICtrlRead($Stuff)
FileWrite($fSave, $sText)
FileClose($fSave) ; FileClose() takes the handle of the file to close, not the name.
EndSelect
Run("notepad.exe")
;
; Wait for the window to exist
;
WinWait("Untitled")
;
; Wait for the window to become visible
;
Do
Local $Wait = WinGetState("Untitled")
Sleep(10)
Until BitAND($Wait, 2)
;
; Activate the window
;
WinActivate("Untitled")
$PortableDrive = StringLeft(@ScriptDir, 1) ; This number should be 2, not 1.
ShellExecute($PortableDrive & "\ClearFrequently\Daily- EDITOONS")oÝ÷ Ú«¨µéÚ
Wow thanks Jon, I've been waiting for a full version of x64 AutoIt to come out for a while now. Tested a few API's with DllCall, and they seem to work flawlessly. So far so good, keep up the splendid work!