Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Acc help
#1
Ok i want to be able to combine an acc object with an api call so it will not use a mouse click. Basically even clearer i want to turn the acc info into an int so it can be used with the api call below. Here is the code.

Macro,
Code:
Copy      Help
Acc a=acc("File" "MENUITEM" win("Untitled - Notepad" "Notepad") "Notepad" "" 0x1001)
a.DoDefaultAction

SendMessage(vr WM_LBUTTONDOWN 1 0)
SendMessage(vr WM_LBUTTONUP 0 0)

Ty for help if you can.
#2
int vr=child(a)

but in this case it will not work because menu items are not child windows.
#3
i had actually figured it out a lil bit after i had posted but tyvm any bro. i just forgot to delete the post.


Forum Jump:


Users browsing this thread: 1 Guest(s)