Jump to content
Sign in to follow this  

ControlSend Problem...

Recommended Posts

I've made a script and got a little problem with controlsend func because sometimes controlsend is not sending data at all, and if i restarted my computer it will work again perfectly...

#Region ### START Koda GUI section ###
$1 = GUICtrlCreateButton("-", 32, 88, 75, 25)
#EndRegion ### END Koda GUI section ###
Opt("SendKeyDelay", 5)
Opt("SendKeyDownDelay", 5)

While 1
$_iData = ControlGetText("DOCumentation management system", "", "[CLASS:TEdit; INSTANCE:1]")

Switch $nMsg


        Case $GUI_EVENT_CLOSE
        Case $1

            ControlSend("Open", "", "[CLASS:Edit;INSTANCE:1]", $_iData) ; Load PDF

what seems to be the problem?


64-bit OS Windows 7 Professional


Intel®Corei5-3470S CPU @ 2.90 GHz

Edited by 232showtime

ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

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  

  • Create New...