Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Event listener with single mouse click in extendscript

button.onClick = function() {
	var keyboardState = ScriptUI.environment.keyboardState;
	if (keyboardState.shift) {
		alert('shift');
	}

	// etc
};
Source by community.adobe.com #
 
PREVIOUS NEXT
Tagged: #Event #listener #single #mouse #click #extendscript
ADD COMMENT
Topic
Name
4+2 =