Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/30/2017 in all areas

  1. Valuater

    Path in variable

    $all_wmp = @ProgramFilesDir & "\windows media player\wmlpayer.exe" If FileExists( $all_wmp) Then Run ($all_wmp) Else MsgBox (0, "ERROR", "The File was not found " & @crlf & $all_wmp) ; do something else... find file etc... EndIf Maybe... 8)
    2 points
  2. in a rear place about which we can't discuss here @nacerbaaziz Helpfile : _GUICtrlEdit_SetSel ( $hWnd, $iStart, $iEnd ) Remarks : If the $iStart is 0 and the $iEnd is –1, all the text in the edit control is selected.
    1 point
  3. Something like this? Global $sInput = InputBox("Set Hotkey", "Enter the letter you want to use as a Hotkey!") HotKeySet($sInput, "_Hotkey") HotKeySet("{Esc}", "_Exit") While 1 Sleep(10) WEnd Func _Hotkey() MsgBox(0, "", "Hotkey pressed") EndFunc Func _Exit() Exit EndFunc
    1 point
  4. Where is the fire? When you want to get proper help you really need to provide better information as it all depends on what kind of application you want to retrive this text from. Is it an Browser or native Windows application? Have you tried anything yet or are you in such a hurry that you can't be bothered to do some research yourself first? Jos
    1 point
  5. For example ;https://www.autoitscript.com/wiki/Best_coding_practices#Names_of_Variables Global $idL = GUICtrlCreateInput("3", 16, 48, 25, 22, $ES_NUMBER) Global $idP = GUICtrlCreateInput("3", 56, 48, 25, 22, $ES_NUMBER) $idGo = GUICtrlCreateButton("Start", 136, 48, 83, 25) Global $idM = GUICtrlCreateInput("1", 96, 48, 25, 22, $ES_NUMBER) Case $idGo $iL = Number(GUICtrlRead($idL)) $iP = Number(GUICtrlRead($idP)) $iM = Number(GUICtrlRead($idM)) ConsoleWrite(" l: " & $iL & " p: " & $iP & " m: " & $iM & @LF);
    1 point
  6. 1 point
  7. 1 point
×
×
  • Create New...