for example
variable :="abcde12345"
The string actually used is longer than it
How do I print this in Notepad?
way to print a string of variable in notepad
Re: way to print a string of variable in notepad
Probably one of these two:
Code: Select all
;set text of whole Edit control
ControlSetText, Edit1, % vText, A
;insert text at caret point
Control, EditPaste, % vText, Edit1, A
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: way to print a string of variable in notepad
hmm.....Neither of them is running
Re: way to print a string of variable in notepad
Does this work?
Code: Select all
q::
vText := "abcde12345"
ControlSetText, Edit1, % vText, ahk_class Notepad
;Control, EditPaste, % vText, Edit1, ahk_class Notepad
return
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: way to print a string of variable in notepad
what about this
somethingt := "hello world hello aloha"
send, %somethingt%
somethingt := "hello world hello aloha"
send, %somethingt%
Who is online
Users browsing this forum: Google [Bot], NinjoOnline and 227 guests