Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/21/2011 in all areas

  1. Function to search for files or folders. FileOperations.7z - version 1.8.4 from 2014.03.18, (pastebin: Ru , Ru-example) _FO_CorrectMask (Help) _FO_FileSearch (Help) _FO_FolderSearch (Help) _FO_SearchEmptyFolders (Help) _FO_FileDirReName (Help) _FO_GetCopyName (Help) _FO_FileBackup (Help) _FO_PathSplit (Help) _FO_IsDir (Help) _FO_ShortFileSize (Help) _FO_IsEmptyFolder (Help) _FO_CreateFile alternative: RecFileListToArray (Melba23) FileListToArrayEx (DXRW4E) FileListToArray (SmOke_N) FileFindFirstFile (NIKZZZZ) old _FileFindFirstFile, _FileFindNextFile (AZJIO) FileDirList (MrCreatoR, amel27), (cmd.exe Dir /b) FileListToArrayRecursive + _Callback (therks) FileSearch (AZJIO), link2 myFileListToArray_AllFiles (akurakkauaaa) Update Accordingly, the updated (26.11.2012) program: >TextReplace, >Create_list_files, >Search_duplicates, >Synchronization Accordingly, the updated (22.11.2011) program: >ReName
    1 point
  2. Melba23

    Mouse coord with gui

    retaly, Open the Help file and look at the page for _IsPressed. Read about the function and look at the example of how it is used. Then apply that to your problem - recognising a left mouse click. Questions you need to answer: - 1. How do I recognise a left mouse click using _IsPressed? Hint: Look at the codes to use. - 2. When to look for the mouse click? Hint: Perhaps the same time as you get the mouse coords. - 3. Do I need to do anything else? Hint: Include a file and open/close a DLL - as explained in the Help file. Now go and have a try yourself - I will still be here if you get stuck. M23
    1 point
  3. Melba23

    Mouse coord with gui

    retaly, Very easily. Hint: M23
    1 point
  4. Melba23

    Mouse coord with gui

    retaly, Use a flag to indicate if the mouse position should be displayed - like this: #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #region ### START Koda GUI section ### Form= $Form2 = GUICreate("Coord", 189, 79, 297, 228) $x = GUICtrlCreateEdit("", 24, 16, 57, 17, BitOR($ES_CENTER, $ES_AUTOVSCROLL, $ES_AUTOHSCROLL, $ES_WANTRETURN, $ES_NUMBER, $WS_BORDER), 0) GUICtrlSetData(-1, "0") $y = GUICtrlCreateEdit("", 120, 16, 57, 17, BitOR($ES_CENTER, $ES_AUTOVSCROLL, $ES_AUTOHSCROLL, $ES_WANTRETURN, $ES_NUMBER, $WS_BORDER), 0) GUICtrlSetData(-1, "0") $Button1 = GUICtrlCreateButton("Ok", 56, 40, 75, 25) $Label1 = GUICtrlCreateLabel("x", 8, 16, 17, 17, BitOR($SS_CENTER, $WS_BORDER)) GUICtrlSetBkColor(-1, 0xFFFBF0) $Label2 = GUICtrlCreateLabel("y", 104, 16, 17, 17, BitOR($SS_CENTER, $WS_BORDER)) GUICtrlSetBkColor(-1, 0xFFFBF0) GUISetState(@SW_SHOW) #endregion ### END Koda GUI section ### HotKeySet("q", "_End") $fRun = False While 1 If $fRun Then $aPos = MouseGetPos () GUICtrlSetData($x, $aPos[0]) GUICtrlSetData($y, $aPos[1]) EndIf Switch GUIGetMsg() Case $Button1 $fRun = True Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Func _End() $fRun = False EndFuncNote I used the "Q" key to stop - you cannot use F12 as a HotKey. M23
    1 point
×
×
  • Create New...