Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 77806

Re: Is there a way to make the regular eyedropper the DEFAULT tool sicne they added that stupid color theme tool?

$
0
0

Alright ,let's sum up:
All code is ExtendScript (JavaScript) code.

 

If you want to retain the current tool, whatever it is, and want the tool box to show the eyedropper tool use this code:

 

//Remember the current tool:
var toolUsedNow = app.toolBoxTools.currentTool;
//Set the eyedropper tool as the current tool:
app.toolBoxTools.currentTool = UITools.EYE_DROPPER_TOOL;
//Reset the current tool as remembered:
app.toolBoxTools.currentTool = toolUsedNow;

 

If you want the eyedropper tool as the current tool, use this line alone:

 

//Set the eyedropper tool as the current tool:
app.toolBoxTools.currentTool = UITools.EYE_DROPPER_TOOL;

 

Uwe


Viewing all articles
Browse latest Browse all 77806

Trending Articles



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