balancesoli.blogg.se

Applescript clean text
Applescript clean text









If you think placing a whole bunch of those little doovies in a whole bunch of paragraphs is too time-consuming, then you really should revisit tip #15. now if you decide to change the tab, the rest of the paragraph moves automatically. place the character in the position where you want your paragraph to align to by using command-\.

applescript clean text

The indent to here character looks a bit like a sword (or a cross, if you prefer). The other method is the best of all worlds - easy to set up and easy to edit : The only drawback of that method is that if you decide to change the tab later on, you also have to remember to change the two indents to match. Here’s one correct way to do it - set the left indent to the same as the tab and set the first line indent to its equivalent negative : not only is it time consuming to set up - it’s a pain in the bollocks if you need to edit the text later : Sometimes you need to indent a paragraph to accommodate a graphic, or a drop cap, or whatever. There appears to be no shortage of ingenious ways that InDesign users can make life difficult for themselves. for Illustrator you have to go to the opentype panel instead. Of course, the Adobe CS being what it is, you do NOT turn ligatures off in Illustrator the same way you do in InDesign. The only way to turn ligatures off for an entire document in one hit is with a script something like this one : tell application "Adobe InDesign CS4" you can set no-ligatures as your default for all future documents by unchecking it in the character panel when you have no documents open. if you’re doing the right thing and using styles for your text formatting, you’ll find ligatures as one of the options under basic character formats. You can turn ligatures off in the dropdown menu in the character panel. unfortunately, ligatures do not always lead to improved readability and sometimes you’re better off just using the standard letterforms. That’s right, ligatures are those little joined-together thingies that are generated by default in InDesign.

#Applescript clean text full#

you’ll notice that not all fonts have been designed with a full complement of ligatures : Just to make clear the foregoing blather - here are some standard ligatures in well-known fonts. although, that’s actually the point of the ligature in the first place - you’re not supposed to notice the typographic trick, because the ligature is intended to make reading easier. and those who are entirely ignorant don’t even notice a ligature even when they are looking straight at one. those who are indifferent to typography generally say “what’s a ligature?”. Lovers of typography love a well designed ligature. Incidentally, if you like that groovy little image by dek wid, you can find a tutorial showing how it’s done over at photoshop tutorials. drag the red outline to wherever you want in the document - scroll up or down (or use your arrows) to resize the red outline - let the mouse button go and you’ll zoom into the new outlined area. after a couple of seconds the screen will zoom out a little and present you with a red outline (and you can let go of whichever keys you’re holding down). Why the developers insisted on making it this complicated is a mystery.Īnyway, once you have the hand tool up, click and hold the mouse button.

  • if the text tool is active in a text frame - use option only.
  • if the text tool is active but no text frame is selected - use option-space.
  • if you have one of the selection tools active - hold down the space bar.
  • as always, you do not have to select the hand tool from the tool panel - you activate it temporarily in one of three ways : but it missed one really cool little trick which has, apparently, been with us since CS4 - when the navigator panel was dropped - and it’s called, impressively, power zoom.

    applescript clean text

    InDesign tip : #14 talked about different ways of zooming about an InDesign document. Then i just need to manually clean up the top and tail : (notice how BBEdit specifies the line break as ‘/n’ and the tab as ‘/t’) The second pass changes basically everything else : The first pass changes the text between the numbers : When i copy the text from word to BBEdit it looks like this : (note : this is NOT a paid endorsement – i just love the app) This particular task can be achieved with just two find/replace passes – then a little cleanup.Īny text editor will do, but for this kind of thing i always use BBEdit

    applescript clean text

    it can also be used on invisible characters like tabs and line breaks. The trick is to remember that find/replace isn’t only for letters, words and spaces. it just takes a few seconds to figure out the best way to attack it. Transforming the text manually is about as inefficient as things get. Into an applescript list that looks like this : I need to convert text from a brief which looks like this : This tip is borne out of frustration at seeing humans do things the hard way when there’s a perfectly simple, less insane way.









    Applescript clean text