Copy link to clipboard
Copied
I would like to get a position of lets say a brush tool button inside photoshop.
Is that possible with Photoshop scripting?
Is it possible getting the value of a certain edit box (eg. brush size)?
Can it be done similar to this:
'PsJavaScriptExecutionMode Enums
Const psNeverShowDebugger = 1, psDebuggerOnError = 2, psBeforeRunning = 3
Dim appRef
Set appRef = CreateObject("Photoshop.Application")
Dim pos
pos = appRef.ControlPosition("paintbrushTool") //this is made up
What I want to do is, I want to show a pointer saying "Click this" (similar to photoshop tutorials).
Copy link to clipboard
Copied
With Photoshpo scripting not, while with I autohotkey.com I couldn't read enough inromation to get those positions.
Copy link to clipboard
Copied
I use Autoit.
Can you give me an example how you do it with AHK?
Copy link to clipboard
Copied
It gives back much information of Photoshop main window, but doesn't see palettes. Maybe you can think up something
WinGet wins, List
Loop, % wins {
id := "ahk_id "wins%A_Index%
WinGetText r, % id
MsgBox % r
}
Last topic I used AHK to do that there's described: Re: Access to document windows, tabs (you will see how to save code)