Jump to content

send() for button and check if is valid


Recommended Posts

To check validity you would need to read the text of the button and see if there is an "&" before the "A" ?

And Send("!a") would be better, no ?

Edited by Nine
Link to post
Share on other sites

 

as @Nine correct say Send("!a") would be better

:oops:  wrong copy to the right place

;Pauses execution of the script until the requested window is active
WinWaitActive("[CLASS:TfPSPad]")

;~ ; Sleep for 3 seconds.
;~ Sleep(3000)
;~ Send("{ALT}{A}")

; Sleep for 3 seconds.
Sleep(3000)
Send("!a")

;~ ; Sleep for 3 seconds.
;~ Sleep(3000)
;~ Send("{ALT}")
;~ Send("a")

and something I didn't say before is that the alt + a shortcuts in  PSPad is show/hide Character Table

Edited by ioa747
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...