Jump to content
Sign in to follow this  
CHRONOMASTER

Click on GUI Input control to copy text?

Recommended Posts

CHRONOMASTER

I'm looking for a way to copy text from an AutoIt GUI read-only Input control when I left-click on it.

Any help will be appreciated.

Share this post


Link to post
Share on other sites
goldenix

ControlGetPos(), then compare it to the MouseGetPos(), then

If _IsPressed("01", $dll) Then ; left mouse button

$menutext = GUICtrlRead($menu1, 1) ; return the text of the menu item
ClipPut($menutext)

My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]

Share this post


Link to post
Share on other sites
CHRONOMASTER

Got it working.

Thanks for the help.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×