10-30-2006, 06:19 PM
ok heres is a simple code im working with
first i have a tollbar that is attached to the window
it has 10 diff functions on it and and the functions go like this
function 1
spe -1
int w1
w1=win("Notepad")
out w1
rep
key "55"
wait 3
function 2
spe -1
int w1
w1=win("Notepad")
out w1
rep
key "some word"
wait 5
function 3
spe -1
int w1
w1=win("Notepad")
out w1
rep
key "78662"
wait 7
and so on and they are on a toolbar so it gets the window handle i just need to get a window handle to shut it off or some thing
first i have a tollbar that is attached to the window
it has 10 diff functions on it and and the functions go like this
function 1
spe -1
int w1
w1=win("Notepad")
out w1
rep
key "55"
wait 3
function 2
spe -1
int w1
w1=win("Notepad")
out w1
rep
key "some word"
wait 5
function 3
spe -1
int w1
w1=win("Notepad")
out w1
rep
key "78662"
wait 7
and so on and they are on a toolbar so it gets the window handle i just need to get a window handle to shut it off or some thing
