| View previous topic :: View next topic |
| Author |
Message |
tarc
Joined: 29 May 2006 Posts: 24
|
Posted: Sat Aug 02, 2008 11:56 pm Post subject: WinMenuSelectItem and Photoshop Cs3 |
|
|
Hi,
In photoshop CS I used to do functions like:
| Code: | #IfWinActive ahk_class Photoshop
+S::WinMenuSelectItem, A, , Image, Image Size |
I've upgrades to Cs3 and it does not seems to work anymore.
The ahk class seems to be the same.
Maybe their menu style have changed, Is there anyway to check this?
Thanks!
Tarc |
|
| Back to top |
|
 |
John W
Joined: 09 Apr 2007 Posts: 172
|
Posted: Sun Aug 03, 2008 12:54 pm Post subject: |
|
|
| Code: | #IfWinActive ahk_class Photoshop
+S::
WinMenuSelectItem, A, , Image, Image Size
Return |
This should work. Else the code is send to the window as keys, not as a command. _________________ COMPLETELY INACTIVE - I do not use AHK anymore. |
|
| Back to top |
|
 |
tarc
Joined: 29 May 2006 Posts: 24
|
Posted: Sun Aug 03, 2008 1:58 pm Post subject: |
|
|
Hi john, I tried it and it does'nt seems to work.
I used to have a return in my original script, I had dozens of menu commands and I just wanted to show a simplified example.
I'll guess I will return to send keystrokes instead.
I liked menu items because they produce less "ctrl" or "shift" key jams than sending keystrokes.
Thanks for the help!
Tarc |
|
| Back to top |
|
 |
|