What goes in place of 'whatever'? Does it have to be a string? If I already have the hwnd value of the password window, can I use it instead?
>>Here's are a few sample commands for a starting point...
>>
>>
>>DECLARE Sleep IN WIN32API INTEGER nMilli
>>LOCAL oShell AS WScript.Shell
>>
>>oShell = CREATEOBJ('Wscript.Shell')
>>
>>oShell.AppActivate("whatever")
>>Sleep(1000)
>>
>>*!* ** Login
>>*!* oShell.SendKeys(lcPassword)
>>*!* Sleep(1000)
>>*!* oShell.SendKeys("{TAB}")
>>*!* Sleep(1000)
>>*!* oShell.SendKeys("{ENTER}")
>>*!* Sleep(1000*10)
>>*!* oShell.SendKeys("%")
>>*!* Sleep(1000)
>>*!* oShell.SendKeys("F")
>>*!* Sleep(1000)
>>*!* oShell.SendKeys("O")
>>*!* Sleep(1000)
>>*!* oShell.SendKeys("{ENTER}")
>>*!* oShell.SendKeys("{TAB}")
>>*!* Sleep(1000)
>>oShell = NULL
>>
>>
>>
>>Hope this helps,
>
>Guy,
>
>I think you meant this for Tracy. BTW, you can also use the ~ for the enter key.< s >
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"