flashlab Posted December 27, 2010 Posted December 27, 2010 (edited) Just like spy++'s capture function. drag the Aim point to the Target window ,then return the classname and other information of it.How to achieve it with pure Autoit script? I've search the forum and find nothing.I know the Autohotkey has a function "MouseGetPos" (return the unique ID number of the window under the mouse cursor). Is there any way to do it? This example can only get the windows info though the position of the mouse--->MySpy.7z Edited December 27, 2010 by flashlab
Moderators Melba23 Posted December 27, 2010 Moderators Posted December 27, 2010 flashlab,_WinAPI_WindowFromPoint sounds to me like a good place for you to start looking in the Help file. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
funkey Posted December 27, 2010 Posted December 27, 2010 Look at the attached file.Form Captor.au3 Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning.
Mat Posted December 27, 2010 Posted December 27, 2010 Heres a easy way to get the drag thing going: It's a bit outdated (been meaning to do some work on it for a while now), but it works. AutoIt Project Listing
flashlab Posted December 29, 2010 Author Posted December 29, 2010 Heres a easy way to get the drag thing going: It's a bit outdated (been meaning to do some work on it for a while now), but it works.THANK YOU for your work:)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now