How to simulate keyboard (event) press in Photoshop extendscript?


hey guys!

 

is possible simulate keyboard event trough script (in photoshop)?!?

trough .jsx/html extension?!?

 

i mean press button like:

 

html:

<button class="basic_button" onclick="onclickbutton('example_push')">button text</button>

lickbutton('example_push')">button text</button>

javascript:

$._ext_example_push={     run : function() {   //something   //something       }   }; 

 

and keyboard press simulated. example "ctrl+0"  (fit on screen command) or else?!?

 

any ideas or examples and/or solutions more welcome!!

 

thank you!

 

ben

and keyboard press simulated. example "ctrl+0"  (fit on screen command) or else?!?

why insert unnecessary step (simulating key-press) can scripted anyway?

 

simulating key-press events platform dependent, did forum search?

https://forums.adobe.com/search.jspa?q=simulate%20press%20key

send keystroke javascript photoshop ?!



More discussions in Photoshop Scripting


adobe

Comments

Popular posts from this blog

Error during signature verification. Signature contains incorrect, unrecognized, corrupted or suspicious data. Support Information: SigDict /Contents illegal data

Sizing images of multiple resolutions for print on a page of one resolution