Two commands for the same shortcut!
A few weeks ago, working on my ID CS3 VQS book, I realized that what I needed was a way to quickly put an End Nested Style Here (ENSH) character at the top and end of a selected range of text.
I immediately wrote to my favorite scripter, Dave Saunders, and for a small sum, he created an InDesign script for me. (More about this script at the end of this post.)
The script works like a charm. I can select a range of text and apply the script as a shortcut and the ENSH appears at the start and end.
I mentioned to Dave that I also have a custom keyboard shortcut (Control-E) to insert a single ENSH character in text.
Dave suggested something quite brilliant. I could assign the same keyboard shortcut (Control-E) to the script without losing it as the insert ENSH character.
I have no idea how this magic works. All I know is that if I have a range of text selected, I get two ENSH characters. If I have only an insertion point blinking, I get one ENSH character.
Now, here’s the cool part. While I paid Dave a lot more, Dave Saunders has graciously agreed to write a similar script for anyone who wants it for the amazingly-low price of $20. He can be reached at: [email protected]. Payment will be made via Kagi for Scripting Services.
I take advantage of this in a few instances. I have ctrl+s set to save but I also have it set to change text to sentence case if the text tool is active.
Are you saying that the KBSC you’re using is assigned to the script and the text in the same context or are they separate contexts, say default and text?
I have the keyboard shortcut command for Insert End Nested Style Here as Default.
The Script command is for Text.
I would have thought they would have conflicted, but they don’t.
The shortcut triggers the script. The script works out what the selection is and takes the appropriate action.
Dave
Can scripts work across a book? If so Dave, I may need your services :) You are quite brilliant.
Yes, scripts can work across a book.
Dave