Wb-FreeKill Posted January 21, 2005 Share Posted January 21, 2005 How do i copy the text in a inputbox, by pressing a button? Link to comment Share on other sites More sharing options...
kpu Posted January 21, 2005 Share Posted January 21, 2005 (edited) HotKeySet ( "BUTTON HERE" [, "ClipPut ) $cb = InputBox("What","Enter Text","","") Func ClipPut() ClipPut ( $cb ) EndFunc As most would say here. "Read the Manual!" Edited January 21, 2005 by kpu http://www.kpunderground.com Link to comment Share on other sites More sharing options...
Radsam Posted January 21, 2005 Share Posted January 21, 2005 (edited) $answer = InputBox("Question", "Where were you born?", "Planet Earth", "", -1, -1, 0, 0) clipput($answer) Edited January 21, 2005 by Radsam Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted January 21, 2005 Author Share Posted January 21, 2005 thx, but forgot it was a GuiCtrlCreateInput i would like to clip it from...$box = GUICtrlCreateInput("text...", 130, 286, 250, 20)If $msg = $clipget Then clipput($box) EndIfexpandcollapse popupthis gut gives me an odd number in the clipboard? how kan i clipget the text in the input? Link to comment Share on other sites More sharing options... martin Posted January 21, 2005 martin MVPs 7.1k 3 ~~\o/~~~/0\=¬''~~~ Share Posted January 21, 2005 thx, but forgot it was a GuiCtrlCreateInput i would like to clip it from...$box = GUICtrlCreateInput("text...", 130, 286, 250, 20)If $msg = $clipget Then clipput($box) EndIfthis gut gives me an odd number in the clipboard? how kan i clipget the text in the input? [post="55714"]<{POST_SNAPBACK}>[/post]You need to use this I thinkIf $msg = $clipget Then clipput(GuiRead($box));<------------------- EndIf Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted January 21, 2005 Author Share Posted January 21, 2005 You need to use this I thinkIf $msg = $clipget Then clipput(GuiRead($box));<------------------- EndIf<{POST_SNAPBACK}>Damn i probebly right!, i always forget that Thx man! Link to comment Share on other sites More sharing options...
Recommended Posts
Wb-FreeKill
Thx man!
Link to comment
Share on other sites