Bert Posted November 28, 2005 Posted November 28, 2005 I'm having a small problem, and I can't quite figure it out. I run a application in Internet explorer called Service Desk. (This code works great, if I use the F4 key.) If I use F5, it will open the search window in IE. If I change it to use F4, the F5 key will refresh the entire screen. Since F5 is usually used to refresh things, I wanted to use F5 to refresh my list in the app. Is this concidered a bug? here is my code: expandcollapse popupdim $key5 $key5 = HotKeySet ("{F5}", "key5");Refresh ticket or refresh list in main window Func key5();refresh list or screen If WinExists ("Microsoft Internet Explorer", "[239] Sorry, your session has timed out.")Then WinActivate ("Microsoft Internet Explorer", "[239] Sorry, your session has timed out.") else if WinActive("Request Detail - Unicenter ServicePlus Service Desk", "")== 1 then BlockInput (1) send ("^v") send ("^f") BlockInput (0) endif if WinActive("Incident Detail - Unicenter ServicePlus Service Desk", "")== 1 then BlockInput (1) send ("^v") send ("^f") BlockInput (0) endif if WinActive("Problem Detail - Unicenter ServicePlus Service Desk", "")== 1 then BlockInput (1) send ("^v") send ("^f") BlockInput (0) endif if WinActive("Unicenter ServicePlus Service Desk - Request List" , "http://usdp/CAisd/pdmweb.exe")== 1 then BlockInput (1) send ("^v") send ("^e") BlockInput (0) endif if WinActive("Unicenter ServicePlus Service Desk - Incident List" , "http://usdp/CAisd/pdmweb.exe")== 1 then BlockInput (1) send ("^v") send ("^e") BlockInput (0) endif if WinActive("Unicenter ServicePlus Service Desk - Problem List" , "http://usdp/CAisd/pdmweb.exe")== 1 then BlockInput (1) send ("^v") send ("^e") BlockInput (0) endif endif EndFunc The Vollatran project My blog: http://www.vollysinterestingshit.com/
Bert Posted November 28, 2005 Author Posted November 28, 2005 I figured it out. I was sending a ctrl + V instead of a alt + V. WOrks fine now. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Bert Posted November 28, 2005 Author Posted November 28, 2005 I figured it out. I was sending a ctrl + V instead of a alt + V. WOrks fine now. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now