Assuming dllcall is required, the following 4 results were found.
CursorID := SubStr( A_Loopfield, 1, 5 ) ; get the cursor id SystemCursor = 1 If ( CursorName = Cursor ) { CursorHandle := DllCall( "LoadCursor", Uint,0, Int,CursorID ) Break } } If CursorHandle = ; invalid cursor name given { Msgbox,, SetCursor, Error:...
like having to use the command prompt to write to an extra text file which your program has to read, then this is for you. DllCall will usually run contained in the program and can be hidden from the end-user. The one to rule them all: This is a...
SysGet, v_WorkArea, MonitorWorkArea v_GuiYpos := v_WorkAreaBottom - v_GuiHeight - 2 ; Output file names v_ProcessID := DllCall("GetCurrentProcessId") v_FileName_Errors := "Errors_" v_ProcessID v_FileName_Success := "Success_" v_ProcessID v_FileName_Prep...
make program select one joke in this instance Random, JokeIndex, 1, 11 ThisJoke:=Joke%JokeIndex% ; set the background image DllCall("SystemParametersInfo", UInt, 0x14, UInt, 0, Str, DesktopBackgroundImage1, UInt, 1) ; Run tooltip messages SetTimer,...