Scale Command
<p>Scale layers with Quick Actions Search Bar (⌘+/)</p><p><br></p><p><strong>With Scale Command you can do these:</strong></p><ol><li><strong>The fastest way to scale images to 50%</strong>, trigger this plugin with custom shortcut and press "<strong>Enter</strong>", done!</li><li>Just<strong> input 24w or 75</strong>, you can quickly and accurately scale images to 24 pixels width or 75% overall.</li><li><strong>Scale images from any origin point </strong>you want.</li></ol><p><br></p><p><strong>How to use</strong></p><ol><li>Install this plugin and select one or more layers in Figma/Figjam.</li><li>Open quick actions search bar (follow <a href="https://help.figma.com/hc/en-us/articles/360040328653-Use-shortcuts-and-quick-actions" rel="noreferrer noopener nofollow ugc" target="_blank">this article</a>).</li><li>Input <code><strong>scc</strong></code> in the search bar, you will see the <code>Scale Command> ⊡ Center</code> command and other commands in the suggestions list.</li><li>Select the origin point you want to use from the suggested list, or continue typing the keyword you need, eg <code><strong>scctl</strong></code> will display the <code>Scale Command> ╒ Top Left</code> command, press "<strong>Enter</strong>" or "<strong>Tab</strong>" to use the command.</li><li>In the scale parameter input box, you can enter a width, a height, a percentage or a multiple, then press "<strong>Enter</strong>" to scale.</li></ol><p><br></p><p><strong>Scaling Syntax</strong></p><ul><li>Scale to specified width: <strong>w</strong> + <em>width number (or + w suffix)</em>. eg w24, w512, 24w, 512w</li><li>Scale to specified height: <strong>h</strong> + <em>height number (or + h suffix)</em>. eg h24, h512, 24h, 512h</li><li>Scale by percentage: <em>percentage figures</em>. eg 200 (equals 200%) , 75(equals 75%)</li><li>Scale by multiple: <em>multiple number</em> + <strong>x</strong>. eg 2x, 0.75x</li></ul><p><br></p><p><strong>Tips</strong></p><ol><li>Set a shortcut for <code>Plugins->Scale Command->⊡ Center</code> command, recommended use <strong>Command + Shift + S</strong></li><li>After input any number, you can use the arrow keys to select suggested values.</li></ol><p><br></p><p><br></p><p><strong>Origin points in plugin command</strong></p><p>If you want to set a shortcut to a command, you can copy the command name below.</p><pre class="ql-syntax" spellcheck="false">⊡ Center ╒ Top Left ╤ Top Middle ╕ Top Right ╞ Middle Left ╡ Middle Right ╘ Bottom Left ╧ Bottom Middle ╝ Bottom Right </pre>
Plugin Preview
About this plugin
Scale layers with Quick Actions Search Bar (⌘+/)
With Scale Command you can do these:
- The fastest way to scale images to 50%, trigger this plugin with custom shortcut and press "Enter", done!
- Just input 24w or 75, you can quickly and accurately scale images to 24 pixels width or 75% overall.
- Scale images from any origin point you want.
How to use
- Install this plugin and select one or more layers in Figma/Figjam.
- Open quick actions search bar (follow this article).
- Input
scc
in the search bar, you will see theScale Command> ⊡ Center
command and other commands in the suggestions list. - Select the origin point you want to use from the suggested list, or continue typing the keyword you need, eg
scctl
will display theScale Command> ╒ Top Left
command, press "Enter" or "Tab" to use the command. - In the scale parameter input box, you can enter a width, a height, a percentage or a multiple, then press "Enter" to scale.
Scaling Syntax
- Scale to specified width: w + width number (or + w suffix). eg w24, w512, 24w, 512w
- Scale to specified height: h + height number (or + h suffix). eg h24, h512, 24h, 512h
- Scale by percentage: percentage figures. eg 200 (equals 200%) , 75(equals 75%)
- Scale by multiple: multiple number + x. eg 2x, 0.75x
Tips
- Set a shortcut for
Plugins->Scale Command->⊡ Center
command, recommended use Command + Shift + S - After input any number, you can use the arrow keys to select suggested values.
Origin points in plugin command
If you want to set a shortcut to a command, you can copy the command name below.
⊡ Center ╒ Top Left ╤ Top Middle ╕ Top Right ╞ Middle Left ╡ Middle Right ╘ Bottom Left ╧ Bottom Middle ╝ Bottom Right
Plugin Details
Version | 3 |
---|---|
Created | February 22, 2022 |
Last Updated | March 15, 2022 |
Category | Software development |
Creator | Tank |
Stats | 632 installs, 33 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- main:code.js
- Editor Types:figma
More Like This
Discover other plugins in the Software development category.