newbie question (remap keys)

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
asad41163
Posts: 268
Joined: 29 Jul 2014, 14:31

newbie question (remap keys)

13 Jan 2018, 13:54

Hi guys
I am a newbie user of Wacom tablet and My knowledge is limited in AHK language, So I hope you will help me with what you wrote in the script Ahk in Photoshop or After Effects.
Thanks in advace.
User avatar
derz00
Posts: 497
Joined: 02 Feb 2016, 17:54
Location: Middle of the round cube
Contact:

Re: newbie question (remap keys)

19 Jan 2018, 11:51

What's your question?
try it and see
...
asad41163
Posts: 268
Joined: 29 Jul 2014, 14:31

Re: newbie question (remap keys)

19 Jan 2018, 19:32

Hi, derz00
Thanks for reply, the question is:

Why does a PostMessage and SendMessage command not work with Photoshop?

Code: Select all

q:: ;some WM_COMMAND examples
WinGetClass, vWinClass, A
if (vWinClass = "Photoshop")
	PostMessage, 0x111, 4150,,, A ;WM_COMMAND ;Save As...
return


As with the following examples:

Code: Select all

!q:: ;some WM_COMMAND examples
WinGetClass, vWinClass, A
if (vWinClass = "Notepad")
	PostMessage, 0x111, 4,,, A ;WM_COMMAND ;Save As...
return

Code: Select all

#IfWinActive ahk_exe Notepad.exe
w::WinMenuSelectItem, , , Edit, Replace  
o::WinMenuSelectItem, Untitled - Notepad, , File, Open
and how can I Get Info from Context Menu for photoshop?
please, give me examples.

thanks in advance.
User avatar
derz00
Posts: 497
Joined: 02 Feb 2016, 17:54
Location: Middle of the round cube
Contact:

Re: newbie question (remap keys)

19 Jan 2018, 20:18

Hmmm, I don't have Photoshop, so I'm stuck, sorry.
try it and see
...
asad41163
Posts: 268
Joined: 29 Jul 2014, 14:31

Re: newbie question (remap keys)

24 Jan 2018, 14:22

hi, all
Any help will be appreciated

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], RandomBoy and 233 guests