Posts: 116
Threads: 19
Joined: Nov 2006
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
Posts: 116
Threads: 19
Joined: Nov 2006
want me to post the code?
Posts: 12,140
Threads: 142
Joined: Dec 2002
Usually gettext works when the window is inactive or hidden.
Posts: 116
Threads: 19
Joined: Nov 2006
Gintaras Wrote:Usually gettext works when the window is inactive or hidden.
I DID USE GET AND SET TEXT

BUT IT SAYS WINDOW NOT VISIBLE
Posts: 12,140
Threads: 142
Joined: Dec 2002
Then the program does not allow to get/set text in hidden window.
This example sets text in hidden Notepad window
run "notepad"
1
int w=win("" "Notepad")
hid w
1
str s="test"
s.setwintext(id(15 w))
1
hid- w