Shortcut to rotate in fractions

A colleague of mine recently had a task of inserting lineart scans into an InDesign file and then rotating the images so that they were straight on the page.

During this process, he’d asked:

What’s the shortcut for rotating an image by a fraction of a degree?

While I can remember many of the shortcuts used in InDesign, I couldn’t remember a shortcut for this item, and after consulting my InDesignSecrets shortcut poster I realised that there isn’t one. There is a shortcut to increase the angle from 1 degree to 5, but not smaller increments… which I thought was something that people would have asked for by now.

For the task he was doing, he definitely needed one, otherwise the workflow was:

  1. Select the item to rotate;
  2. Go to the rotate tool;
  3. Type the fraction and click OK
  4. Check the result and if further adjustment was required, click back into the rotate tool and type a new fraction and try again until acceptable.

A shortcut would definitely make this easier.

Tomaxxi to the rescue

Luckily, one was easy to find online. Scripter Marijan Tompa (whom some may know by the name Tomaxxi) wrote an article on how to write such a script.

In my colleague’s case, the script only needed to be adjusted by changing the angle from 45 in Marijan’s example to 0.1 like so:

var myTrans = app.transformationMatrices.add({counterclockwiseRotationAngle:0.1});
var myObj = app.selection[0];
myObj.transform(CoordinateSpaces.pasteboardCoordinates, AnchorPoint.CENTER_ANCHOR, myTrans);

The script was saved as rotateAnticlockwise.jsx and added to the scripts. A second copy was made but this time adjusted from counterclockwise to clockwise like so:

var myTrans = app.transformationMatrices.add({counterRotationAngle:0.1});
var myObj = app.selection[0];
myObj.transform(CoordinateSpaces.pasteboardCoordinates, AnchorPoint.CENTER_ANCHOR, myTrans);<code>

This too was saved as rotateClockwise.jsx. and added to the scripts.

From here, my colleague could then go to the scripts palette and run the scripts as required.

Similarly, my colleague could make sure that scripts was checked from the quick apply menu.

And from here, go to quick apply by pressing Command + Return and typing the first few letters of the script. This choice would stay in the quick apply so need only be done once.

But the title of the article was a shortcut, so shortcuts had to be applied. That is easily done though by going to the Edit Menu and selecting Keyboard Shortcuts.

In the next dialog box, choose Scripts from the Product Area, navigate to the appropriate script, then place the cursor in the New Shortcut text field in the bottom right and press the keys to become the new shortcut. If the type beneath says [unassigned] it means it won’t interfere with other shortcuts, so click Assign. Do the same for both scripts, choosing different shortcuts for both.

Done. My colleague now had his shortcuts and could rotate the images without having to keep moving his cursor to the rotate panel and manually key in entries.

Given the scripts now had their own shortcuts, these were also visible in the scripts panel, just in case my colleague forgot what the shortcuts were.

But importantly because shortcuts were assigned, they could also be hot-keyed to his ergonomic mouse. Similarly, the commands could be hot-keyed to other inputs such as those discussed in a previous article.

On that note, I thought a shortcut like this would exist, given the amount of other shortcuts that allow for nudging/moving in smaller units. What are your thoughts? Let me know in the comments whether this is a specific use-case, or something to be pursued over at the InDesign suggestions.

Small tips to save big time

I often find it interesting to watch the different ways that my colleagues and I may perform the same task. Take the InDesign command Paste in Place for example. I’ll typically use the keyboard shortcut, but I’ve noticed that one colleague will go to the edit menu and select it from there; another will right-click and access it through the contextual menu, while another has an ergonomic mouse that has the shortcut hot-keyed to an additional button (No-one used InDesign’s quick apply panel).

While there are many ways to accomplish the same task, they all take different amounts of time and hand travel. A two-handed keyboard shortcut takes less time than navigating through the menus and – if using a mouse – leaves the cursor in its last position; but takes one hand off of the mouse briefly. In my situation, I’m using a Wacom tablet, so after using a keyboard shortcut, I then have to reposition the cursor as I’m usually still holding the stylus in my right hand. I’m also not a fan of the gymnastics my hands have to often do to in order to execute a task, and recently I’ve been hot-keying eight of my commonly used shortcuts to the contextual menu of my stylus.

Luckily in the Paste in Place example, there is more than one way to accomplish the task, and there’s no right way to use this – it is whatever is most comfortable for the user. What I would like to highlight in today’s article is how to accomplish common tasks more efficiently.

It is worth pointing out that this isn’t an exhaustive list and doesn’t get into details that might require the purchase of dedicated software such as Digital Asset Management software, or the creation of hot folders from software such as EFI Fiery Command Workstation, but is a few tips that anyone of any skill level can take advantage of to save a minute here and there from their workflows.

Within InDesign

Add your own interface items

The option to edit Keyboard Shortcuts and Menus can be found from the Edit menu

Keyboard Shortcuts (KBSC)

From the keyboard shortcuts menu, it is possible to assign keyboard shortcuts to items that do not have shortcuts assigned by default, as well as redefine shortcuts from the defaults. Shortcuts can also extend to scripts in the scripts panel as well.

Add own menu items

It is possible to make your own set of menu items using InDesign’s own menu customisation, but this only allows users to create their own menu sets based on the default set – you can’t make your own new items… without scripting. Indiscript’s Marc Autret has an article where he explains an overview of how this can be done, and provides examples as well.

Add own contextual menu items

Adding the Draw Measurement Arrows script to the contextual menu.

Silicon Publishing’s Ole Kvern wrote an article about making a contextual menu startup script that adds functionality to the contextual menu available via the right mouse button. However, I’ve since added my own functionality based on his script by editing the script in a text editor and adding my own items.

Improve on viewing the current items

Customise workspaces

Does every tool need to be visible or docked all at once? Perhaps consider making workspaces more appropriate to the workspace that is actually being used. InDesign ships with some defaults that behave this way, but it is worth experimenting.

Using Bart van de Wiele’s CreativePro 2020 tip to make a custom links palette separate to the usual links palette.

An extreme (and clever) example was demonstrated at the CreativePro 2020 Online Conference by Adobe’s Bart van de Wiele. In the 3 minutes max session, he demonstrated a way of customising the Links palette and saving it as its own workspace – allowing more information about a link to be viewed briefly, and then navigating back to the regular workspace.

Improvement on the scripts panel

Peter Kahrel’s runscript user interface

InDesign’s default script panel literally mirrors how the scripts are filed in finder/explorer, but is missing many features such as a search facility and could really use an overhaul, given its appearance hasn’t changed since InDesign was released. Luckily, Peter Kahrel has made his own launcher that allows scripts to be filtered by name.

Within any application

Not all tips are specific to Adobe InDesign. One Adobe application in particular – Adobe Acrobat – has long been criticised for its lack of customisation, so any opportunity to improve its use is appreciated.

Better navigation

Use dictation

For users that hunt and peck the keys rather than touch-typing, it is worth considering using the real-time dictation features in Mac and Windows operating systems (and some specific software) as word recognition is on par with typing speeds up to 90 words per minute or more.

Learn the new OS features

Each time the operating system is updated, it is worth paying attention to the changes made by the platform for any time-saving features. One example from my own circumstances is using spotlight to access applications rather than the dock.

Default Folder X

I was introduced to this paid Mac plug-in from St Clair Software several years ago and I’ve been using it since. It extends the functionality of save as dialogs which provides recent folders, open folders and favorites.

Controller specific shortcuts

While keyboard shortcuts were mentioned earlier in the article, it is worth noting that they can usually be applied as buttons to controllers that are beyond the usual two-button mice that can be found in an office.

Wacom Stylus

The default radial menu accessed via the Wacom Desktop Center

I’ve used the base-model stylus for years. In addition to the buttons on the stylus, there are four more buttons on the tablet; and the ability to call upon a contextual menu with one of the stylus buttons that allows more tasks to be carried out.

Gaming mice

Mapping custom keys to the Logitech G300S gaming mouse.

I was introduced to this tip once again at CreativePro 2020 online, and it seemed like such a simple idea that I’d wondered why it hadn’t been implemented in my workplace. For example, a base-model gaming mouse such as the Logitech G300S has nine programmable buttons.

Touch portal

A simulated appearance of an iPad using sideshowfx’s Photoshop shortcuts via Touch Portal.

Long-known to live-stream performers on Twitch and Youtube is a product called the Elgato Streamdeck. Put simply, it is an additional keyboard that is customizable to quickly access shortcuts via one button instead of the keyboard gymnastics that can come with some keyboard shortcuts.

A cheaper alternative is software called Touch Portal, and this turns a smartphone or tablet into a streamdeck-like device – ideal for anyone who has an old smartphone or tablet that isn’t otherwise in daily use. The free version is limited to two screens with eight icons each, but a paid version is offered with far more extensibility at a price that is affordable for any pocket.

While this does require its own customisation, SideShowFX has boxed up a collection of Photoshop, Illustrator, After Effects and Premiere shortcuts that are ready to install. Their youtube page has a great explanation of how it all works.

Have it your way

Ultimately, these are solutions that I find helpful, but I like to keep an open mind to new techniques and strategies to get my work done efficiently and accurately. If you have any techniques or strategies you would like to share, please leave a comment or get in touch directly via the contact page.

%d bloggers like this: