Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Adobe Illustrator.+
- init
- toggleState = "/Applications/Adobe/Illustrator/Presets.localized/en_GB/Scripts/My/togglestate.txt"
- --| delete
- cmd-delete
- key.menu "Object/Path/Clean Up..."
- shift-cmd-delete
- key.tap "f11"
- say "Delete Unused Palette Items"
- --| return
- -- return
- Nudge same distance (after alt-drag)
- -- alt-return
- Copy same distance (after alt-drag)
- -- arrows
- shift x10 nudge
- alt-cmd type: x10 leading/x5 tracking
- shift-alt-cmd type: x10 leading/tracking
- alt copy & nudge. type: leading/tracking
- shift-alt copy & x10 nudge. type: leading/tracking
- ----------
- -- F1-F12
- ----------
- --| F1 outline palettes
- f1
- -- outline/preview
- if key.isMenu "View/Preview" then
- key.menu "View/Preview"
- -- say "Preview"
- else
- key.menu "View/Outline"
- -- say "Outline"
- end
- shift-f1
- key.menu "Window/Layers"
- cmd-f1
- key.menu "Window/VectorScribe/PathScribe Panel"
- alt-cmd-f1
- key.menu "View/Pixel Preview"
- alt-f1
- key.menu "Window/Document Info"
- -- ctrl-f1
- key.menu "Help"
- --| F2
- f2
- key.menu "Window/Color"
- shift-f2
- key.menu "Window/Transform"
- cmd-f2
- key.menu "Window/MirrorMe/MirrorMe Panel"
- alt-f2
- key.menu "Window/Swatches"
- ctrl-f2
- key.menu "Window/Actions"
- --| F3
- f3
- key.menu "Window/Type/Character"
- shift-f3
- key.menu "Window/Type/Glyphs"
- cmd-f3
- key.menu "Window/Texturino/Texture Panel"
- alt-f3
- key.menu "Window/Asset Export"
- --| F4
- action: Locate object in {layers}
- --| F5
- actions: Flip Horizontal
- --| F6
- actions: Flip Vertical
- --| F7
- f7
- key.menu "Select/Next Object Below"
- --| F8
- f8
- key.menu "Select/Next Object Above"
- --| F9
- actions: Scale 122.4% (after 3d extrude & bevel)
- ----------------
- -- 0-9, symbols
- ----------------
- --| 1
- <pen>
- <astute inkscribe>
- cmd-1
- key.menu "View/Actual Size"
- alt-1
- key.tap "f12"
- say "Pathfinder: Unite"
- -- ctrl-1
- key.menu "View/1"
- say "View 1"
- --| 2
- <anchor point>
- <astute pathscribe>
- cmd-2
- key.menu "Object/Path"
- say "Add Anchor Points"
- alt-2
- key.tap "shift-f12"
- say "Pathfinder: Minus Front"
- ctrl-2
- key.menu "View/2"
- say "View 2"
- --| 3
- <curvature>
- <astute extend path>
- cmd-3
- if key.isMenu "View/Hide Bounding Box" then
- key.menu "View/Hide Bounding Box"
- say "Bounding Box: Off"
- else
- key.menu "View/Show Bounding Box"
- say "Bounding Box: On"
- end
- shift-alt-3
- if key.isMenu "View/Hide Edges" then
- key.menu "View/Hide Edges"
- say "Edges: Off"
- else
- key.menu "View/Show Edges"
- say "Edges: On"
- end
- ctrl-3
- key.menu "Object/Transform/Reset Bounding Box"
- alt-3
- key.tap "cmd-f12"
- say "Pathfinder: Intersect"
- --| 4
- <astute smart remove brush>
- <smooth>
- cmd-4
- key.menu "Object/Path/Simplify..."
- alt-4
- key.tap "cmd-shift-f12"
- say "Pathfinder: Exclude"
- ctrl-4
- key.menu "Object/Path/Remove Anchor Points"
- say "Remove Anchor Points"
- --| 5
- <astute snap to collision>
- <astute reposition point>
- -- cmd-5
- key.menu "Other Objects/Repeat Pathfinder"
- alt-5
- key.menu "Object/Path/Divide Objects Below"
- say "Divide Objects Below"
- --| 6
- <eraser>
- <path eraser>
- --| 7
- <knife>
- <scissors>
- --| 8
- <astute texture>
- <astute texture brush>
- --| 9
- <astute straighten>
- <astute opacity brush>
- --| 0
- <opacity 0%>
- <opacity 20%>
- cmd-0
- key.menu "View/Fit Artboard in Window"
- alt-0
- key.menu "View/Fit All in Window"
- say "Fit All in Window"
- --| `
- <shape builder>
- <shaper tool>
- cmd-\50
- -- cmd-`
- key.menu "Window/Extensions/console 0.7"
- --| -
- <opacity 40%>
- <opacity 60%>
- cmd--
- key.menu "View/Zoom Out"
- -- shift-cmd--
- type: discretionary hyphen
- type: toggle line composer
- --| =
- <opacity 80%>
- <opacity 100%>
- cmd-=
- key.menu "View/Zoom In"
- -- shift-cmd-=
- key.menu "Other Text/Toggle Line Composer"
- -------
- -- A-Z
- -------
- --| A
- <direct selection>
- <group selection>
- -- cmd-a
- Select/All
- shift-cmd-a
- key.menu "Select/Inverse"
- say "Invert Selection"
- alt-shift-cmd-a
- key.menu "Select/All on Active Artboard"
- say "Select All on Active Artboard"
- alt-a
- key.menu "Select/Deselect"
- say "Select None"
- ctrl-a
- key.menu "Select/Reselect"
- say "Reselect"
- --| B
- <blob brush>
- <paintbrush>
- cmd-b
- key.menu "Object/Compound Path/Make"
- say "Making Compound Path"
- alt-b
- key.menu "Object/Compound Path/Release"
- say "Release Compound Path"
- ctrl-b
- key.menu "Object/Path/Offset Path..."
- --| C
- <artboard>
- <astute crop image>
- -- cmd-c
- key.menu "Edit/Copy"
- alt-c
- if key.isMenu "View/Hide Artboards" then
- key.menu "View/Hide Artboards"
- say "Hide Artboards"
- else
- key.menu "View/Show Artboards"
- say "Show Artboards"
- end
- shift-cmd-c
- key.menu "Object/Artboards/Rearrange..."
- ctrl-c
- key.menu "Object/Artboards/Fit to Selected Art"
- say "Fit to Selected Art"
- --| D
- <default fill and stroke>
- <no fill/stroke>
- cmd-d
- key.menu "File/Scripts/My/Duplicate"
- say "Duplicate"
- alt-d
- key.menu "Object/Transform/Move..."
- cmd-shift-d
- key.menu "Object/Transform/Transform Again"
- say "Transform Again"
- ctrl-d
- key.menu "Object/Transform/Transform Each..."
- --| E
- <ellipse>
- <polygon>
- cmd-e
- key.menu "File/Export/Export For Screens"
- shift-cmd-e
- key.menu "File/Export/Export As..."
- alt-e
- key.menu "File/Export Selection..."
- --| F
- <live paint bucket>
- <live paint selection>
- cmd-f
- key.menu "Object/Live Paint/Make"
- say "Make Live Paint"
- shift-cmd-f
- key.menu "Object/Live Paint/Gap Options..."
- alt-f
- key.menu "Object/Live Paint/Expand"
- say "Expand Live Paint"
- ctrl-f
- key.menu "Object/Live Paint/Merge"
- say "Merge Live Paint"
- --| G
- <gradient>
- <select gradient fill>
- cmd-g
- key.menu "Object/Group"
- say "Group"
- alt-g
- key.menu "Object/Ungroup"
- say "Ungroup"
- ctrl-g
- if key.isMenu "View/Hide Gradient Annotator" then
- key.menu "View/Hide Gradient Annotator"
- say "Gradient Annotator: Off"
- else
- key.menu "View/Show Gradient Annotator"
- say "Gradient Annotator: On"
- end
- --| H
- <magic wand>
- <astute dynamic measure>
- cmd-h
- key.menu "Object/Hide/Selection"
- say "Hide Selection"
- shift-cmd-h
- key.menu "Object/Hide/All Artwork Above"
- say "Hide Above"
- alt-cmd-h
- key.menu "Illustrator CC/Hide Illustrator"
- alt-h
- key.menu "Object/Show All"
- say "Show All"
- ctrl-h
- key.menu "Object/Hide Other Layers"
- say "Hide Other Layers"
- --| I
- <line width>
- <astute dynamic shape>
- cmd-i
- key.menu "File/Scripts/Transform/Isometric Right"
- say "Isometric Right"
- shift-cmd-i
- key.menu "File/Scripts/Transform/unIsometric Right"
- say "unIsometric Right"
- ctrl-i
- key.menu "File/Scripts/Transform/Isometric Left"
- say "Isometric Left"
- shift-ctrl-i
- key.menu "File/Scripts/Transform/unIsometric Left"
- say "unIsometric Left"
- alt-i
- key.menu "File/Scripts/Transform/Isometric Top"
- say "Isometric Top"
- shift-alt-i
- key.menu "File/Scripts/Transform/unIsometric Top"
- say "unIsometric Top"
- --| J
- <join>
- <astute connect>
- cmd-j
- key.menu "Object/Path/Join"
- say "Join"
- ctrl-j
- key.menu "Object/Path/Average..."
- --| K
- <pattern tile>
- <gradient mesh>
- cmd-k
- key.menu "Object/Pattern/Make"
- say "Make Pattern"
- shift-cmd-k
- key.menu "Object/Pattern/Edit Pattern"
- say "Edit Pattern"
- alt-k
- key.menu "Object/Pattern/Tile Edge Color..."
- say "Tile Edge Color"
- --| L
- <astute rotate at collision>
- <astute rotate to collision>
- cmd-l
- key.menu "Object/Lock/Selection"
- say "Lock Selection"
- alt-l
- key.menu "Object/Unlock All"
- say "Unlock All"
- ctrl-l
- key.menu "Object/Lock/Other Layers"
- say "Lock Other Layers"
- --| M
- <drawing mode> (normal/behind/inside)
- <screen mode> (window/fullscreen)
- cmd-m
- key.menu "File/Scripts/Arrange/Clipper"
- say "Clipper"
- cmd-alt-m
- key.menu "File/Scripts/Arrange/BottomClipper"
- say "BottomClipper"
- cmd-shift-m
- key.menu "Object/Clipping Mask/Edit Contents"
- say "Edit Clipping Mask Contents"
- alt-m
- key.menu "Object/Clipping Mask/Release"
- say "Unmask"
- ctrl-m
- key.menu "Object/Clipping Mask/Make"
- say "Mask"
- --| N
- <pen>
- <astute dynamic sketch>
- -- cmd-n
- key.menu "File/New"
- -- shift-cmd-n
- key.menu "Other Misc/New File (No Dialog)"
- alt-n
- key.menu "File/New from Template..."
- --| O
- <free transform>
- <star>
- -- cmd-o
- File/Open
- --| P
- <perspective grid>
- <perspective selection>
- cmd-p
- if key.isMenu "View/Perspective Grid/Show Grid" then
- key.menu "View/Perspective Grid/Show Grid"
- say "Perspective Grid"
- else
- key.menu "View/Perspective Grid/Hide Grid"
- end
- alt-p
- key.menu "Edit/Perspective Grid Presets..."
- shift-cmd-p
- key.menu "View/Perspective Grid/Define Grid..."
- say "Define Grid"
- ctrl-p
- key.menu "View/Perspective Grid/Lock Station Point"
- say "Lock Station Point"
- --| Q
- <rotate>
- <astute orient>
- cmd-q
- key.menu "View/Smart Guides"
- if key.isMenu("View/Smart Guides").ticked then
- say "Smart Guides: On"
- else
- say "Smart Guides: Off"
- end
- -- alt-cmd-q
- key.menu "Illustrator CC/Quit Illustrator"
- alt-q
- key.menu "Object/Transform/Rotate..."
- ctrl-q
- -- Select by path only
- key.menu "File/Scripts/My/Toggle Selection by Path Only"
- os.execute("sleep .1")
- for m in io.lines(toggleState) do say(m) end
- os.remove(toggleState)
- --| R
- <rectangle>
- <rectangular grid>
- cmd-r
- key.menu "File/Scripts/My/Rename All Selected Objects"
- alt-r
- if key.isMenu "View/Rulers/Show Rulers" then
- key.menu "View/Rulers/Show Rulers"
- say "Rulers: On"
- else
- key.menu "View/Rulers/Hide Rulers"
- say "Rulers: Off"
- end
- --| S
- <scale>
- <shear>
- cmd-s
- key.menu "File/Save"
- shift-cmd-s
- key.menu "File/Save As..."
- alt-cmd-s
- key.menu "File/Save a Copy..."
- alt-s
- key.menu "Object/Transform/Scale..."
- ctrl-s
- key.menu "Object/Transform/Shear..."
- --| T
- <type>
- <touch type>
- -- cmd-t
- key.menu "Other Text/Highlight Font"
- shift-cmd-t
- key.menu "Type/Type on a Path/Type on a Path Options..."
- alt-t
- key.menu "Type/Show Hidden Characters"
- if key.isMenu("Type/Show Hidden Characters").ticked then
- say "Show Hidden Characters"
- else
- say "Hide Hidden Characters"
- end
- ctrl-t
- key.menu "Window/Type/Tabs"
- --| U
- <spiro spline tool>
- <reshape>
- cmd-u
- key.menu "Object/Expand..."
- shift-cmd-u
- key.menu "Object/Path/Outline Stroke"
- alt-u
- key.menu "Object/Expand Appearance"
- ctrl-u
- key.menu "Type/Create Outlines"
- say "Create Outlines"
- --| V
- <selection>
- <lasso>
- -- cmd-v
- key.menu "Edit/Paste"
- shift-cmd-v
- key.menu "Edit/Paste in Place"
- say "Paste in Place"
- alt-v
- key.menu "Edit/Paste in Front"
- say "Paste in Front"
- ctrl-v
- key.menu "Edit/Paste in Back"
- say "Paste in Back"
- --| W
- <reflect>
- <astute mirrorme>
- -- cmd-w
- key.menu "File/Close"
- alt-w
- key.menu "Object/Transform/Reflect..."
- ctrl-w
- -- Toggle preview bounds
- key.menu "File/Scripts/My/Toggle Preview Bounds"
- os.execute("sleep .1")
- for m in io.lines(toggleState) do say(m) end
- os.remove(toggleState)
- --| X
- <toggle fill/stroke>
- <swap fill/stroke>
- -- cmd-x
- key.menu "Edit/Cut"
- -- shift-cmd-x
- key.menu "Other Panels/Add New Fill"
- -- alt-cmd-x
- key.menu "Other Panels/Add New Stroke"
- alt-x
- key.menu "File/Scripts/Color/Swap Object Colors"
- say "Swap Object Color"
- --| Y
- <line segment>
- <astute dynamic corners>
- cmd-y
- key.menu "Object/Arrange/Send to Current Layer"
- say "Send to Current Layer"
- -- shift-cmd-y
- key.menu "Other Panel/New Layer..."
- -- alt-cmd-y
- key.menu "Other Panel/New Layer"
- say "New Layer"
- --| Z
- <eyedropper>
- <fill solid color>
- -- cmd-z
- key.menu "Edit/Undo"
- say "Undo"
- -- shift-cmd-z
- key.menu "Edit/Redo"
- say "Redo"
- alt-z
- key.menu "File/Scripts/Select/Zoom to Selection"
- say "Zoom to Selection"
- ctrl-z
- key.tap "cmd-shift-f1"
- -- key.menu "Other Object/Isolate Selected Object"
- say "Isolate Selected"
- --| [
- decrease diameter
- decrease intensity
- -- cmd-[
- key.menu "Object/Arrange/Send Backward"
- key.menu "Other Text/Kern Tighter"
- alt-[
- key.menu "Object/Arrange/Send to Back"
- say "Send to Back"
- ctrl-[
- key.menu "File/Scripts/Arrange/Send Behind"
- say "Send Behind"
- --| ]
- increase diameter
- increase intensity
- -- cmd-]
- key.menu "Object/Arrange/Bring Forward"
- key.menu "Other Text/Kern Looser"
- alt-]
- key.menu "Object/Arrange/Bring to Front"
- say "Bring to Front"
- ctrl-]
- key.menu "File/Scripts/Arrange/Bring in Front of"
- say "Bring in Front of"
- --| ;
- <axonometric rectangle>
- <axonometric cube>
- cmd-;
- if key.isMenu "View/Guides/Show Guides" then
- key.menu "View/Guides/Show Guides"
- say "Guides: On"
- else
- key.menu "View/Guides/Hide Guides"
- say "Guides: Off"
- end
- shift-cmd-;
- key.menu "View/Guides/Release Guides"
- say "Release Guides"
- alt-;
- if key.isMenu "View/Guides/Lock Guides" and key.isMenu("View/Guides/Lock Guides").enabled then
- key.menu "View/Guides/Lock Guides"
- say "Guides: Locked"
- elseif key.isMenu "View/Guides/Unlock Guides" and key.isMenu("View/Guides/Unlock Guides").enabled then
- key.menu "View/Guides/Unlock Guides"
- say "Guides: Unlocked"
- end
- ctrl-;
- key.menu "View/Guides/Make Guides"
- say "Make Guides"
- alt-ctrl-;
- key.menu "View/Guides/Release Guides"
- say "Release Guides"
- --| '
- <axonometric ellipse>
- <axonometric cylinder>
- cmd-'
- if key.isMenu "View/Show Grid" then
- key.menu "View/Show Grid"
- say "Grid: On"
- else
- key.menu "View/Hide Grid"
- say "Grid: Off"
- end
- alt-'
- key.menu "View/Snap to Grid"
- if key.isMenu("View/Snap to Grid").ticked then
- say "Snap to Grid: Off"
- elseif not key.isMenu("View/Snap to Grid").ticked then
- say "Snap to Grid: On"
- end
- --| \
- <axonometric line>
- <show/hide all palettes>
- cmd-\
- key.menu "View/Snap to Pixel"
- if key.isMenu("View/Snap to Pixel").ticked then
- say "Snap to Pixel: Off"
- else
- say "Snap to Pixel: On"
- end
- alt-\
- key.menu "View/Snap to Point"
- if key.isMenu("View/Snap to Point").ticked then
- say "Snap to Point: Off"
- else
- say "Snap to Point: On"
- end
- --| ,
- <blend mode - previous>
- <blend mode - normal>
- -- cmd-,
- key.menu "Illustrator CC/Preferences/General..."
- ctrl-cmd-,
- key.menu "Edit/Keyboard Shortcuts..."
- -- shift-cmd-,
- key.menu "Other Text/Point Size Down"
- -- shift-alt-cmd-,
- key.menu "Other Text/Font Size Step Down"
- ctrl-,
- key.menu "File/Scripts/My/Set Unit Type to Pixels"
- say "Units: Pixels"
- --| .
- <blend mode - next>
- <blend mode - darken>
- -- cmd-.
- key.menu "Other Misc/Switch Ruler Units"
- -- shift-cmd-.
- key.menu "Other Text/Point Size Up"
- -- shift-alt-cmd-.
- key.menu "Other Text/Font Size Step Up"
- ctrl-.
- key.menu "File/Scripts/My/Set Unit Type to Milimeters"
- say "Units: Milimeters"
- --| /
- <blend>
- <type on a path>
- cmd-/
- if key.isMenu "Object/Blend/Make" and key.isMenu("Object/Blend/Make").enabled then
- key.menu "Object/Blend/Make"
- say "Make Blend"
- end
- shift-cmd-/
- key.menu "Object/Blend/Blend Options..."
- alt-/
- if key.isMenu "Object/Blend/Release" and key.isMenu("Object/Blend/Release").enabled then
- key.menu "Object/Blend/Release"
- say "Release Blend"
- end
- shift-alt-/
- if key.isMenu "Object/Blend/Expand" and key.isMenu("Object/Blend/Expand").enabled then
- key.menu "Object/Blend/Expand"
- say "Expand Blend"
- end
- ctrl-/
- if key.isMenu "Object/Blend/Reverse Front to Back" and key.isMenu("Object/Blend/Reverse Front to Back").enabled then
- key.menu "Object/Blend/Reverse Front to Back"
- say "Reverse Blend"
- end
- alt-ctrl-/
- if key.isMenu "Object/Blend/Replace Spine" and key.isMenu("Object/Blend/Replace Spine").enabled then
- key.menu "Object/Blend/Replace Spine"
- say "Replace Spine"
- end
- shift-ctrl-/
- if key.isMenu "Object/Blend/Reverse Spine" and key.isMenu("Object/Blend/Reverse Spine").enabled then
- key.menu "Object/Blend/Reverse Spine"
- say "Reverse Spine"
- end
Advertisement
Add Comment
Please, Sign In to add comment