Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: Cannot Add Notifier for Warp Transform

$
0
0

@c.pfaffenbichler
I would agree with you - it doesn't look like it would be an eventClass that PS recognizes. The issue then is - what would be the eventClass for a warp transform? The document "Adobe Photoshop CC Scripting Guide" (pg83) mentions that the 2nd argument in the putObject method would give you the name of the class. (Which in my case would be "warp").

 

I'm selecting the warp transform via the menu. The goal of my script is to bind the last action done (from a list of specific actions) to a certain hot key. For example, if you applied the Warp function last, the hotkey Ctrl+Q would correspond to Warp. If you applied the brush last, Ctrl+Q would be the brush.

 

@Tom

I would look at the arguments coming into the eventFile and see if you can add logic to distinguish from every Transform.

 

I wasn't aware that adding a notifier would send arguments into eventFile when the event is tripped. Can you point me to where I can read more about this?


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>