Select by Style

User avatar
AmberV
Posts: 24307
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Thu Feb 15, 2007 2:04 pm Post

This is more of a Cocoa text tip, but it works in Scrivener too. If you want to select by style, say all of the bold text in a document, show the ruler (Cmd-R), and in the Styles drop-down, choose Other.... This will give you a style browser with all of the styles in the current document. You can browse through them by using the arrow keys beneath the example window. Find the one you wish to select by, and click the Select button. A sheet will come up asking by what criteria you wish to select. If you just press the Select button again, the default behaviour will choose all the text that matches the style you picked. Once it is selected, you can apply whatever font, ruler, or style mechanisms you wish.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

User avatar
alexwein
Posts: 1063
Joined: Wed Jul 12, 2006 4:30 pm
Platform: Mac
Location: Ashland, Oregon, USA
Contact:

Thu Feb 15, 2007 2:28 pm Post

Very cool tip, thanks!!
Inspiration is for amateurs...the rest of us just show up.
-Chuck Close
http://alexandriapallas.com

ti
tim
Posts: 335
Joined: Wed Dec 20, 2006 8:57 pm
Location: Toronto
Contact:

Thu Feb 15, 2007 2:28 pm Post

I dub thee, AmberV, FoW (Font of Wisdom)!

Tim :D
In theory, there's no difference
between theory and practice.
In practice, there is.

Yogi Berra

da
dafu
Posts: 564
Joined: Tue Jan 30, 2007 1:33 am
Platform: Mac
Location: Chicago
Contact:

Thu Feb 15, 2007 4:56 pm Post

That is a spectacular find, Amber!

This should definitely go into the official Scrivener documentation: it's a tremendously powerful formatting tool.


Dave

Ct
Cthulhu2K
Posts: 16
Joined: Wed Nov 15, 2006 6:46 pm
Platform: Mac
Location: Seattle, WA

Thu Feb 15, 2007 10:33 pm Post

thanks for this tip.

speaking of styles, does anyone know how to sync styles between two machines?

User avatar
AmberV
Posts: 24307
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Fri Feb 16, 2007 12:29 am Post

Unfortunately, styles are located in a preference file which is also used for many things which possibly would cause very strange issues if it were copied to another computer. It is in a hidden file in ~/Library/Preferences/.GlobalPreferences.plist. I actually do not know if there is anything buggy involved with moving that file between computers. I've just made the assumption that since Apple decided to hide the file, they probably do not want people messing with it.

What I do is make an RTF file and type out the name of each style, plus "F/R" appended to the end depending on whether it is a Ruler or Font (or both) style; then apply it to the respective paragraph. All of your settings will be conveyed just fine to the target computer. Just place the cursor in the paragraph and make a new style out of it, using the typed name as a reference.

Yours truly, FoW. ;)
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

Ma
Maria
Posts: 614
Joined: Thu Jul 13, 2006 5:47 am

Fri Feb 16, 2007 12:31 am Post

del
Last edited by Maria on Sat Feb 16, 2008 9:14 am, edited 1 time in total.

Ct
Cthulhu2K
Posts: 16
Joined: Wed Nov 15, 2006 6:46 pm
Platform: Mac
Location: Seattle, WA

Fri Feb 16, 2007 12:53 am Post

Thanks, AmberV

I figured something along those lines would be the best way. I was doing something on a lesser, more disorganized scale. Your description helps a lot. I guess I shouldn't be so lazy.

I was hoping for something I could just sync.

Thanks again.

User avatar
AmberV
Posts: 24307
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Mon Apr 30, 2007 6:46 pm Post

Just an update on this thread. Some information has been posted regarding the synchronisation of styles between machines in this thread. Disclaimer: It requires knowledge of how to use the command line interface.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles