Jump to content

Sending Alt To Activate The Menu Items


Recommended Posts

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 by emmanuel

"I'm not even supposed to be here today!" -Dante (Hicks)

Link to comment
Share on other sites

this is totally in the help file so prepare to catch hellĀ  :D

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...