Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get text Without dialog visible
#1
hey got a question, in my dialog for Yahoo spam i have 5 drop down combo boxes with options, and i use in my code Get text and stuff like that to set text in the yahoo box and type saying im away. but i was wondoring if there was a way to make it so that if the window isnt visible or active it will still get text. in the code if they window isnt active then it wont get the text from the combo box. but i wanted to have it get the text even if the Yahoo spam dialog isnt open 8)

ty

Mr.Brown
#2
want me to post the code?
#3
Usually gettext works when the window is inactive or hidden.
#4
Gintaras Wrote:Usually gettext works when the window is inactive or hidden.
I DID USE GET AND SET TEXT Sad BUT IT SAYS WINDOW NOT VISIBLE
#5
Then the program does not allow to get/set text in hidden window.

This example sets text in hidden Notepad window
Code:
Copy      Help
run "notepad"
1
int w=win("" "Notepad")
hid w
1
str s="test"
s.setwintext(id(15 w))
1
hid- w


Forum Jump:


Users browsing this thread: 1 Guest(s)