ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

alt + Onclick Extendscript UI panel

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Riaan Myburgh
alt + Onclick Extendscript UI panel
on Sep 29, 2017 at 11:48:09 am

In extendscript for AE, I have built a UI panel and would like a button to check if the alt key was pressed while clicking, thus performing a different function.

I assume its based in some kind of if/else statement, just not sure of the right syntax to check for altKey=true/false?


Return to posts index

Dan Ebberts
Re: alt + Onclick Extendscript UI panel
on Sep 29, 2017 at 1:24:15 pm

I haven't tried it, but take a look at the KeyboardEvent section in the JavaScript Tools Guide.

Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]