[ Pobierz całość w formacie PDF ]
.Change Case of Item Names offers to capitalize, or un-capitalize, all the letters of the file names in thewindow before you.Finder Windows - Hide All minimizes all open Finder windows to the Dock.Finder Windows - ShowAll, of course, brings them back from the Dock.Replace Text in Item Names lets you do a search-and-replace of text bits inside file names, foldernames, or both.When one publisher rejects your 45-chapter book proposal, you can use this script tochange all 45 chapter files from, for example, "A History of Mouse Pads A Proposal for Random House,Chapter 1 to "A History of Mouse Pads A Proposal for Simon & Schuster, Chapter 1.Switch to Finder is a great one.It brings the Finder to the front and hides all of the other runningapplications.Trim File Names, Trim Folder Names.If you made a mistake in using the Add to File Names script,you can always use Trim File Names script to undo the damage.This one removes file extensions,suffixes, or prefixes of your choosing.For example, suppose you've just made a lot of new folders at once.Mac OS X calls them "untitledfolder," "untitled folder 2," and so on.But what if you'd rather have them just called "folder 1," "folder 2,"and so on? Run the Trim Folder Names script; when the dialog box asks you what you want trimmed,type untitled and click OK. 7.1.4 Folder ActionsThis folder contains the four vital scripts, new to 10.2, that make folder actions work (Section 7.2.2).Attach Script to Folder attaches your own folder action scripts to a folder.Disable Folder Actions and Enable Folder Actions turns folder actions off and on for your Mac.Remove Folder Actions detaches a folder action from a folder.7.1.5 Folder Action ScriptsThe scripts in this folder, new in 10.2, don't actually show up in the Script Menu.They are, however, in yourLibrary AppleScript Scripts folder.You need to attach them to folders in order to use them.They're sample folder action scripts designed to make folders behave the way you wish they would.Thesescripts are useful just as they are, but even more useful as examples to help you learn the syntax for writingfolder action scripts (Section 7.2.2).add - new item alert.When you drop icons into a folder (to which you've attached this script), the Macwill tell you how many icons were added, and offer you the chance to inspect the contents of the folder.close - close sub-folders.When you close the folder to which this script is attached, all folders inside italso close.open - show comments in dialog.Whenever you open the folder to which this script is attached, you'llbe shown whatever's in its Comments box (that is, whatever you typed into the Comments area of its GetInfo window).You'll be given the chance to open the Get Info window, clear the comments, or do nothingfurther.7.1.6 FontSync ScriptsFontSync is a noble Apple attempt to solve an old problem for desktop publishers.You finish designing somebeautiful newsletter, take it to the local printing shop for printing on a high-quality press, and then have to throwout the entire batch all because the fonts didn't come out right.The printing shop didn't have exactly the samefonts you had when you prepared the document.Or, worse, it did have the same font but from a different fontcompany, with the same name but slightly different type characteristics.FontSync is designed to give you early warning for such disasters.When you run the Create FontSync Profilescript, several minutes elapse and then the Mac generates a FontSync Profile document.This file containsstaggering amounts of information about the design, spacing, and curlicues of every font installed in yoursystem.When you hand that profile over to your print shop, they can drop it onto the accompanying script,called Match FontSync Profile.It will tell them precisely what fonts are different on their Macs and yours.The wishful-thinking aspect of this technology is, of course, that it assumes a lot: that your print shop uses MacOS 9 or Mac OS X, that the print shop knows how to use FontSync, and that you remember to create the profileand submit it.7.1.7 Info ScriptsThese two scripts offer minor usefulness: Current Date & Time displays the current date and time in a dialog box, complete with a Clipboardbutton that copies the information, ready for pasting.Font Sampler is designed to show you what all your fonts look like (see Figure 7-2).Figure 7-2.The Font Sampler script launches TextEdit, opens a new TextEdit document, and fills itwith dozens of copies of the classic "What does this font look like?" test sentence: The quick brownfox jumped over the lazy dog.Then, as you watch, it formats each line with a different font a goodpage to print out and keep as a reference.7.1.8 Internet ServicesThese scripts are designed to show off the power of XML-RPC and SOAP, two Internet-query technologies thatdebuted in Mac OS X 10.1.About Internet Services Scripts tells you what the other two scripts in this folder are all about.Thedialog box offers a "Visit Web site" button that takes you to www.xmethods.com, where you can find outmore about creating Internet service scripts [ Pobierz całość w formacie PDF ]
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • agnieszka90.opx.pl