Action script that selects circle marquee tool

Community Beginner ,
May 19, 2020

Copy link to clipboard

Copied

Hi,

I'm looking to create a cusom action script that just selects the circle marquee tool so that I can then assign an F key to it for a short cut. Is this possible and how?

 

Thanks for any help

(r = new ActionReference()).putClass(stringIDToTypeID('marqueeEllipTool'));
(d = new ActionDescriptor()).putReference(stringIDToTypeID('target'), r);
executeAction(stringIDToTypeID('select'), d, DialogModes.NO)
TOPICS
Actions and scripting, How to

Views

1.5K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Action script that selects circle marquee tool

Community Beginner ,
May 19, 2020

Copy link to clipboard

Copied

Hi,

I'm looking to create a cusom action script that just selects the circle marquee tool so that I can then assign an F key to it for a short cut. Is this possible and how?

 

Thanks for any help

(r = new ActionReference()).putClass(stringIDToTypeID('marqueeEllipTool'));
(d = new ActionDescriptor()).putReference(stringIDToTypeID('target'), r);
executeAction(stringIDToTypeID('select'), d, DialogModes.NO)
TOPICS
Actions and scripting, How to

Views

1.5K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 19, 2020 0
Adobe Community Professional ,
May 19, 2020

Copy link to clipboard

Copied

HEllo, why do you want to give it a F key instead of changing its shortcut in the KB shortcuts editor found at the end of the Edit menu?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 19, 2020 0
Community Beginner ,
May 19, 2020

Copy link to clipboard

Copied

I'm hoping to keep the regular shortcuts as stock as possible and only change the F keys. Thanks

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 19, 2020 0
Enthusiast ,
May 19, 2020

Copy link to clipboard

Copied

(r = new ActionReference()).putClass(stringIDToTypeID('marqueeEllipTool'));
(d = new ActionDescriptor()).putReference(stringIDToTypeID('target'), r);
executeAction(stringIDToTypeID('select'), d, DialogModes.NO)

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 19, 2020 3
Adobe Community Professional ,
May 19, 2020

Copy link to clipboard

Copied

For the sake of completeness just in case somebody else in the future is looking for a different tool:

 

'moveTool'
'marqueeRectTool'
'marqueeEllipTool'
'marqueeSingleRowTool'
'marqueeSingleColumnTool'
'lassoTool'
'polySelTool'
'magneticLassoTool'
'quickSelectTool'
'magicWandTool'
'cropTool'
'sliceTool'
'sliceSelectTool'
'spotHealingBrushTool'
'magicStampTool'
'patchSelection'
'redEyeTool'
'paintbrushTool'
'pencilTool'
'colorReplacementBrushTool'
'cloneStampTool'
'patternStampTool'
'historyBrushTool'
'artBrushTool'
'eraserTool'
'backgroundEraserTool'
'magicEraserTool'
'gradientTool'
'bucketTool'
'blurTool'
'sharpenTool'
'smudgeTool'
'dodgeTool'
'burnInTool'
'saturationTool'
'penTool'
'freeformPenTool'
'addKnotTool'
'deleteKnotTool'
'convertKnotTool'
'typeCreateOrEditTool'
'typeVerticalCreateOrEditTool'
'typeCreateMaskTool'
'typeVerticalCreateMaskTool'
'pathComponentSelectTool'
'directSelectTool'
'rectangleTool'
'roundedRectangleTool'
'ellipseTool'
'polygonTool'
'lineTool'
'customShapeTool'
'textAnnotTool'
'soundAnnotTool'
'eyedropperTool'
'colorSamplerTool'
'rulerTool'
'handTool'
'zoomTool'

 

https://www.ps-scripts.com/viewtopic.php?f=68&t=11342&p=64930&hilit=selectTool#p64930

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 19, 2020 2
New Here ,
Dec 18, 2020

Copy link to clipboard

Copied

Hello, how can be named Object Selection Tool?

Thanks

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 18, 2020 0
Adobe Community Professional ,
Dec 18, 2020

Copy link to clipboard

Copied

magicLassoTool 

 

 

(r = new ActionReference()).putClass(stringIDToTypeID('magicLassoTool'));
(d = new ActionDescriptor()).putReference(stringIDToTypeID('target'), r);
executeAction(stringIDToTypeID('select'), d, DialogModes.NO);

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 18, 2020 0
Adobe Community Professional ,
Dec 19, 2020

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 19, 2020 0
Adobe Community Professional ,
Dec 19, 2020

Copy link to clipboard

Copied

That topic is gold, however, there are new tools since that 12 year old post and the 'magicLassoTool' is one of those missing.

 

EDIT: I can now see that you have posted a new reply in that old topic, I'm sure that it wasn't there when I posted 10 or so hours ago!

 

I have just created an updated list for CC2021, please let me know if there are any errors or omissions (I believe that there are eleven new tools added since that list was first posted)...

 

Move Tool 'moveTool'
Artboard Tool 'artboardTool’
Rectangular Marquee Tool 'marqueeRectTool'
Elliptical Marquee Tool 'marqueeEllipTool'
Single Row Marquee Tool 'marqueeSingleRowTool'
Single Column Marquee Tool 'marqueeSingleColumnTool'
Lasso Tool 'lassoTool'
Polygonal Lasso Tool 'polySelTool'
Magnetic Lasso Tool 'magneticLassoTool'
Object Selection Tool 'magicLassoTool’
Quick Selection Tool 'quickSelectTool'
Magic Wand Tool 'magicWandTool'
Crop Tool 'cropTool'
Perspective Crop Tool 'perspectiveCropTool’
Slice Tool 'sliceTool'
Slice Select Tool 'sliceSelectTool'
Frame Tool 'framedGroupTool’
Eyedropper Tool 'eyedropperTool'
3D Material Eyedropper Tool '3DMaterialSelectTool’
Color Sampler Tool 'colorSamplerTool'
Ruler Tool 'rulerTool'
Note Tool 'textAnnotTool'
Count Tool 'countTool’
Spot Healing Brush Tool 'spotHealingBrushTool'
Healing Brush Tool 'magicStampTool'
Patch Tool 'patchSelection'
Content-Aware Move Tool 'recomposeSelection’
Red Eye Tool 'redEyeTool'
Brush Tool 'paintbrushTool'
Pencil Tool 'pencilTool'
Color Replacement Tool 'colorReplacementBrushTool'
Mixer Brush Tool 'wetBrushTool’
Clone Stamp Tool 'cloneStampTool'
Pattern Stamp Tool 'patternStampTool'
History Brush Tool 'historyBrushTool'
Art History Brush Tool 'artBrushTool'
Eraser Tool 'eraserTool'
Background Eraser Tool 'backgroundEraserTool'
Magic Eraser Tool 'magicEraserTool'
Gradient Tool 'gradientTool'
Paint Bucket Tool 'bucketTool'
3D Material Drop Tool '3DMaterialDropTool’
Blur Tool 'blurTool'
Sharpen Tool 'sharpenTool'
Smudge Tool 'smudgeTool'
Dodge Tool 'dodgeTool'
Burn Tool 'burnInTool'
Sponge Tool 'saturationTool'
Pen Tool 'penTool'
Freeform Pen Tool 'freeformPenTool'
Curvature Pen Tool 'curvaturePenTool’
Add Anchor Point Tool 'addKnotTool'
Delete Anchor Point Tool 'deleteKnotTool'
Convert Point Tool 'convertKnotTool'
Horizontal Type Tool 'typeCreateOrEditTool'
Vertical Type Tool 'typeVerticalCreateOrEditTool'
Vertical Type Mask Tool 'typeCreateMaskTool'
Horizontal Type Mask Tool 'typeVerticalCreateMaskTool'
Path Selection Tool 'pathComponentSelectTool'
Direct Selection Tool 'directSelectTool'
Rectangle Tool 'rectangleTool'
Rounded Rectangle Tool 'roundedRectangleTool'
Ellipse Tool 'ellipseTool'
Triangle Tool 'triangleTool’
Polygon Tool 'polygonTool'
Line Tool 'lineTool'
Custom Shape Tool 'customShapeTool'
Hand Tool 'handTool'
Rotate View Tool 'rotateTool'
Zoom Tool 'zoomTool'

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 19, 2020 1
Community Beginner ,
May 19, 2020

Copy link to clipboard

Copied

Thank you that works perfectly

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 19, 2020 0