AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WinMenuSelectItem and Photoshop Cs3

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
tarc



Joined: 29 May 2006
Posts: 24

PostPosted: Sat Aug 02, 2008 11:56 pm    Post subject: WinMenuSelectItem and Photoshop Cs3 Reply with quote

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
View user's profile Send private message Visit poster's website
John W



Joined: 09 Apr 2007
Posts: 172

PostPosted: Sun Aug 03, 2008 12:54 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
tarc



Joined: 29 May 2006
Posts: 24

PostPosted: Sun Aug 03, 2008 1:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group