emmanuel Posted May 18, 2004 Share Posted May 18, 2004 (edited) EnsureExists ("Remedy User - Help Desk Case (New)", "", "C:\Program Files\Remedy\Aruser.exe"); makes sure the program is open and in the forefront sleep(1000); just in case? ;WinMenuSelectItem("Remedy User","" , "Case Macros" ,"List My Open Cases");tried to do it this way, but I suspect it doesn't work because this menu was added by the system admin, not the programers of the app? ;Send("{!}{right}{right}{right}{right}{right}{down}{enter}");this is how I tried it when the WinMenuSelectItem didn't work ;this is how I'm trying it now, still not getting any play from the menus ;yes, this works from the keyboard. Send("{! down}") sleep(30) Send"{! up}") Send("{right}{right}{right}{right}{right}{down}") Send("{enter}") see comments above... any ideas? EDIT: now this is wierd, this code seems to work: Send("!f{right}{right}{right}{right}{right}{down}{enter}") except that the app doesn't take it as a command, I see the menus fly open and then just disapear. is autoit being to fast for it? (stupid remedy.) Edited May 18, 2004 by emmanuel "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
emmanuel Posted May 18, 2004 Author Share Posted May 18, 2004 this is totally in the help file so prepare to catch hellĀ I tried sending "!" on it's own line, accidentally scrolled past the part of the helpfile that says ALTDOWN and ALTUP and saw the part that talks about holding a key down... this is now working for me:Send("!f{right}{right}{right}{right}{right}{enter}")I think remedy's just too retarded to do the easier prettier way... "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
emmanuel Posted May 18, 2004 Author Share Posted May 18, 2004 I tried that, it doesn't list any control with the mouse over the menus "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
emmanuel Posted May 18, 2004 Author Share Posted May 18, 2004 I know it should work, and I've used the full visable text of the menu, there's no items with & in them... I'm not going to stress on that, the send keys are now working. "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
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