<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>AppleScript's topics - tribe.net</title>
    <link>http://tribes.tribe.net/applescript/threads/rss</link>
    <description>Tribe.net. Local Connections</description>
    <item>
      <title>Script looking for internet explorer?</title>
      <link>http://tribes.tribe.net/applescript/thread/1141b8b4-fd53-4097-a0ff-0c7fc5977fc5</link>
      <description>&lt;div&gt;I have a bunch of scripts in my iTunes script folder that I use to ease the pain of organizing my music files.
&lt;br/&gt;
&lt;br/&gt;Sometimes when I run some scripts (legacy scripts from my power PC but still OS X) they ask for the location of Internet Explorer before they will run.
&lt;br/&gt;
&lt;br/&gt;Anyone know why they do this? It's really annoying that someone who made an AppleScript would ask/utilize IE.&lt;/div&gt;
				&lt;div&gt;
			posted in
			&lt;a href="http://tribes.tribe.net/applescript"&gt;AppleScript&lt;/a&gt;
			- 3 replies
		&lt;/div&gt;</description>
      <pubDate>Wed, 22 Aug 2007 15:19:00 GMT</pubDate>
      <guid isPermaLink="false">http://tribes.tribe.net/applescript/thread/1141b8b4-fd53-4097-a0ff-0c7fc5977fc5</guid>
      <dc:creator>Pink</dc:creator>
      <dc:date>2007-08-22T15:19:00Z</dc:date>
    </item>
    <item>
      <title>InDesign CS2 convert clipping paths to varnish layer</title>
      <link>http://tribes.tribe.net/applescript/thread/658f8d36-ca64-43e3-a4d3-2fc58d130a1d</link>
      <description>&lt;div&gt;-- ID CS2 Clipping Path to Varnish Plate
&lt;br/&gt;-- 2007 Ray Massie &amp;amp; Chad Augur
&lt;br/&gt;-- with much help from macscripter.net and page-online.de forums
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;tell application "Adobe InDesign CS2"
&lt;br/&gt;	
&lt;br/&gt;	set myDoc to active document
&lt;br/&gt;	
&lt;br/&gt;	tell myDoc
&lt;br/&gt;		
&lt;br/&gt;		try
&lt;br/&gt;			make layer with properties {name:"Varnish"}
&lt;br/&gt;		end try
&lt;br/&gt;		
&lt;br/&gt;		set theLinks to every link
&lt;br/&gt;		
&lt;br/&gt;		repeat with i from 1 to count of theLinks
&lt;br/&gt;			
&lt;br/&gt;			set parentID to id of parent of item i of theLinks
&lt;br/&gt;			set oldPath to clipping path of image id parentID
&lt;br/&gt;			
&lt;br/&gt;			if the clipping type of oldPath is photoshop path then
&lt;br/&gt;				set oldGraphic to parent of item i of theLinks
&lt;br/&gt;				set newGraphic to duplicate oldGraphic
&lt;br/&gt;				set properties of newGraphic to {item layer:"Varnish"}
&lt;br/&gt;				
&lt;br/&gt;				set newpath to clipping path of graphic 1 of newGraphic
&lt;br/&gt;				tell newpath
&lt;br/&gt;					set convertPath to convert to frame
&lt;br/&gt;				end tell
&lt;br/&gt;				
&lt;br/&gt;				set properties of convertPath to {fill color:"Magenta"}
&lt;br/&gt;				delete graphic 1 of convertPath
&lt;br/&gt;				
&lt;br/&gt;			end if
&lt;br/&gt;			
&lt;br/&gt;		end repeat
&lt;br/&gt;		
&lt;br/&gt;	end tell
&lt;br/&gt;	
&lt;br/&gt;end tell&lt;/div&gt;
				&lt;div&gt;
			posted in
			&lt;a href="http://tribes.tribe.net/applescript"&gt;AppleScript&lt;/a&gt;
			- 0 replies
		&lt;/div&gt;</description>
      <pubDate>Tue, 10 Apr 2007 18:20:28 GMT</pubDate>
      <guid isPermaLink="false">http://tribes.tribe.net/applescript/thread/658f8d36-ca64-43e3-a4d3-2fc58d130a1d</guid>
      <dc:creator>raymassie</dc:creator>
      <dc:date>2007-04-10T18:20:28Z</dc:date>
    </item>
    <item>
      <title>applescript tutorials at macscripter.net</title>
      <link>http://tribes.tribe.net/applescript/thread/0ff9cae3-a85f-4fd5-a448-5b52b658a4f9</link>
      <description>&lt;div&gt;stumbled across their tutorials page this morning: http://macscripter.net/unscripted&lt;/div&gt;
				&lt;div&gt;
			posted in
			&lt;a href="http://tribes.tribe.net/applescript"&gt;AppleScript&lt;/a&gt;
			- 1 reply
		&lt;/div&gt;</description>
      <pubDate>Sat, 24 Mar 2007 15:16:14 GMT</pubDate>
      <guid isPermaLink="false">http://tribes.tribe.net/applescript/thread/0ff9cae3-a85f-4fd5-a448-5b52b658a4f9</guid>
      <dc:creator>raymassie</dc:creator>
      <dc:date>2007-03-24T15:16:14Z</dc:date>
    </item>
    <item>
      <title>close all open applications</title>
      <link>http://tribes.tribe.net/applescript/thread/ff62bbe8-6a0d-40dc-9347-2fab88b61b29</link>
      <description>&lt;div&gt;tell application "System Events" to set the visible of every process to true
&lt;br/&gt;
&lt;br/&gt;tell application "System Events" to set theApps to (name of every process whose visible is true and name is not "Finder" and name is not (my name as text))
&lt;br/&gt;
&lt;br/&gt;repeat with theApp in theApps
&lt;br/&gt;	tell application theApp to quit
&lt;br/&gt;end repeat&lt;/div&gt;
				&lt;div&gt;
			posted in
			&lt;a href="http://tribes.tribe.net/applescript"&gt;AppleScript&lt;/a&gt;
			- 0 replies
		&lt;/div&gt;</description>
      <pubDate>Thu, 28 Sep 2006 16:44:41 GMT</pubDate>
      <guid isPermaLink="false">http://tribes.tribe.net/applescript/thread/ff62bbe8-6a0d-40dc-9347-2fab88b61b29</guid>
      <dc:creator>raymassie</dc:creator>
      <dc:date>2006-09-28T16:44:41Z</dc:date>
    </item>
    <item>
      <title>make HTML link from selection</title>
      <link>http://tribes.tribe.net/applescript/thread/3534690a-8556-47e9-83ac-22bba50a50a0</link>
      <description>&lt;div&gt;-- Builds HTML code for self-referencing link from selected text
&lt;br/&gt;--Adapted from the script "URL link bbcoder for the bbs." by Adam Bell: http://bbs.applescript.net/viewtopic.php?id=15344
&lt;br/&gt;--The remaining comments are his
&lt;br/&gt;--Be careful with spaces in the selection
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;tell application "Finder"
&lt;br/&gt;	set visible of process "Script Editor" to false -- Needed if runing the script from Script Editor. If a compiled app is double-clicked put its name in place of "Script Editor" (no extension). Comment this line out if the script is run by a key command to a hotkey application like QuicKeys or FastScripts.
&lt;br/&gt;	set Front_App to item 1 of (get name of processes whose frontmost is true)
&lt;br/&gt;end tell
&lt;br/&gt;
&lt;br/&gt;tell application Front_App to activate -- necessary if you've just hidden the Script Editor or your script.app
&lt;br/&gt;tell application "System Events"
&lt;br/&gt;	tell process Front_App
&lt;br/&gt;		keystroke "x" using {command down}
&lt;br/&gt;		set theURL to the clipboard
&lt;br/&gt;		keystroke " &amp;amp;lt;a href=\""
&lt;br/&gt;		keystroke "v" using {command down}
&lt;br/&gt;		keystroke "\"&gt;"
&lt;br/&gt;		keystroke "v" using {command down}
&lt;br/&gt;		keystroke "&amp;amp;lt;/a&gt; "
&lt;br/&gt;	end tell
&lt;br/&gt;end tell&lt;/div&gt;
				&lt;div&gt;
			posted in
			&lt;a href="http://tribes.tribe.net/applescript"&gt;AppleScript&lt;/a&gt;
			- 0 replies
		&lt;/div&gt;</description>
      <pubDate>Sat, 13 May 2006 12:08:21 GMT</pubDate>
      <guid isPermaLink="false">http://tribes.tribe.net/applescript/thread/3534690a-8556-47e9-83ac-22bba50a50a0</guid>
      <dc:creator>raymassie</dc:creator>
      <dc:date>2006-05-13T12:08:21Z</dc:date>
    </item>
    <item>
      <title>find a creator</title>
      <link>http://tribes.tribe.net/applescript/thread/8daabea7-27a7-4567-bacb-a0b3d89d7022</link>
      <description>&lt;div&gt;drop this code into the script editor and save it as an app
&lt;br/&gt;
&lt;br/&gt;this is a drag-n-drop script to change the file/creator type for serveral common graphics formats. drop a file or folder on the script and it will prompt you for the file type that you want to associate with and assign the file/creator type accordingly. 
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;-------------------------------------
&lt;br/&gt;
&lt;br/&gt;property FileType : ""
&lt;br/&gt;property CreatorType : ""
&lt;br/&gt;
&lt;br/&gt;on open theFiles
&lt;br/&gt;	tell application "Finder"
&lt;br/&gt;		activate
&lt;br/&gt;		
&lt;br/&gt;		set pickProgram to choose from list {"Quark 5", "Quark 6", "InDesign", "Illustrator AI", "Illustrator EPS", "Illustrator PDF", "Acrobat PDF", "Photoshop PSD", "Photoshop TIFF", "Photoshop JPEG", "Photoshop GIF", "Photoshop EPS", "Word DOC", "Word RTF", "Plain TXT"} with prompt ¬
&lt;br/&gt;			"What kind of file should this be?" OK button name "Go Man" cancel button name "Nevermind"
&lt;br/&gt;		
&lt;br/&gt;		if (pickProgram as string) = "Quark 5" then
&lt;br/&gt;			set FileType to "XDOC"
&lt;br/&gt;			set CreatorType to "XPR3"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "Quark 6" then
&lt;br/&gt;			set FileType to "XPRJ"
&lt;br/&gt;			set CreatorType to "XPR3"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "InDesign" then
&lt;br/&gt;			set FileType to "IDd4"
&lt;br/&gt;			set CreatorType to "InDn"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "Illustrator AI" then
&lt;br/&gt;			set FileType to "PDF "
&lt;br/&gt;			set CreatorType to "ART5"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "Illustrator EPS" then
&lt;br/&gt;			set FileType to "EPSF"
&lt;br/&gt;			set CreatorType to "ART5"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "Illustrator PDF" then
&lt;br/&gt;			set FileType to "PDF "
&lt;br/&gt;			set CreatorType to "ART5"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "Acrobat PDF" then
&lt;br/&gt;			set FileType to "PDF "
&lt;br/&gt;			set CreatorType to "CARO"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "Photoshop PSD" then
&lt;br/&gt;			set FileType to "EPSF"
&lt;br/&gt;			set CreatorType to "8BIM"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "Photoshop TIFF" then
&lt;br/&gt;			set FileType to "TIFF"
&lt;br/&gt;			set CreatorType to "8BIM"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "Photoshop JPEG" then
&lt;br/&gt;			set FileType to "JPEG"
&lt;br/&gt;			set CreatorType to "8BIM"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "Photoshop GIF" then
&lt;br/&gt;			set FileType to "GIFf"
&lt;br/&gt;			set CreatorType to "8BIM"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "Photoshop EPS" then
&lt;br/&gt;			set FileType to "EPSF"
&lt;br/&gt;			set CreatorType to "8BIM"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "Word DOC" then
&lt;br/&gt;			set FileType to "W8BN"
&lt;br/&gt;			set CreatorType to "MSWD"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "Word RTF" then
&lt;br/&gt;			set FileType to "W8BN"
&lt;br/&gt;			set CreatorType to "MSWD"
&lt;br/&gt;			
&lt;br/&gt;		else if (pickProgram as string) = "Plain TXT" then
&lt;br/&gt;			set FileType to "ttxt"
&lt;br/&gt;			set CreatorType to "TEXT"
&lt;br/&gt;		end if
&lt;br/&gt;		
&lt;br/&gt;		repeat with eachFile in theFiles
&lt;br/&gt;			set the file type of eachFile to FileType
&lt;br/&gt;			set the creator type of eachFile to CreatorType
&lt;br/&gt;		end repeat
&lt;br/&gt;		
&lt;br/&gt;	end tell
&lt;br/&gt;end open&lt;/div&gt;
				&lt;div&gt;
			posted in
			&lt;a href="http://tribes.tribe.net/applescript"&gt;AppleScript&lt;/a&gt;
			- 0 replies
		&lt;/div&gt;</description>
      <pubDate>Wed, 08 Feb 2006 01:00:16 GMT</pubDate>
      <guid isPermaLink="false">http://tribes.tribe.net/applescript/thread/8daabea7-27a7-4567-bacb-a0b3d89d7022</guid>
      <dc:creator>raymassie</dc:creator>
      <dc:date>2006-02-08T01:00:16Z</dc:date>
    </item>
    <item>
      <title>Online Books</title>
      <link>http://tribes.tribe.net/applescript/thread/7cd89a8f-10f9-4ced-8068-08364e7bb9c9</link>
      <description>&lt;div&gt;Hey People:
&lt;br/&gt;
&lt;br/&gt;I'm not sure if you know about it or not but Oreilly has all their books online in entirety at their "safari enabled" site. 
&lt;br/&gt;
&lt;br/&gt;http://safari.oreilly.com/
&lt;br/&gt;
&lt;br/&gt;For 20 bucks a month you can study the "how to" books, reference the references, and download the examples. It's truly a dream come true for people without several thousand a year to spend on books. They have different tiers for pricing and access. 
&lt;br/&gt;
&lt;br/&gt;Check it out! There is a glut of information on Apple Script. It doesn't seem I can link the search but if you enter "applescript" in the search box you'll see what I mean.&lt;/div&gt;
				&lt;div&gt;
			posted in
			&lt;a href="http://tribes.tribe.net/applescript"&gt;AppleScript&lt;/a&gt;
			- 2 replies
		&lt;/div&gt;</description>
      <pubDate>Fri, 20 Jan 2006 17:26:43 GMT</pubDate>
      <guid isPermaLink="false">http://tribes.tribe.net/applescript/thread/7cd89a8f-10f9-4ced-8068-08364e7bb9c9</guid>
      <dc:creator>Paul_F</dc:creator>
      <dc:date>2006-01-20T17:26:43Z</dc:date>
    </item>
    <item>
      <title>i've finished my first real script</title>
      <link>http://tribes.tribe.net/applescript/thread/a493aaf5-1772-42f1-be73-5b5af0ed54d0</link>
      <description>&lt;div&gt;i finally completed what i would consider to be my first REAL script -- meaning that it took me some time to figure out and it makes a positive impact on my working situation, reducing what would normally take an hour or so down to about 5 seconds. 
&lt;br/&gt;
&lt;br/&gt;the script:
&lt;br/&gt;1) sets the bleed and slug area
&lt;br/&gt;2) creates six layers with name and color properties
&lt;br/&gt;3) creates a slug box on four specific layers
&lt;br/&gt;4) creates slug line in the boxes with
&lt;br/&gt;     a) the document name
&lt;br/&gt;     b) automatic page number
&lt;br/&gt;     c) layer name
&lt;br/&gt;     d) proof version
&lt;br/&gt;
&lt;br/&gt;here's a copy of the script: 
&lt;br/&gt;
&lt;br/&gt;(*
&lt;br/&gt;Can we build it?! YES WE CAN!!
&lt;br/&gt;January, 2006
&lt;br/&gt;Ray Massie: raymassie@onomonopia.com
&lt;br/&gt;Build InDesign document layers and slug, for Haggin Marketing
&lt;br/&gt;With much help from: John Thorsen, Hanaan Rosenthal, Sal Soghoian, Olivier Berquin, and MacScripter.net
&lt;br/&gt;*)
&lt;br/&gt;
&lt;br/&gt;tell application "Adobe InDesign CS2"
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	--!! change doc preferences !!---
&lt;br/&gt;	
&lt;br/&gt;	--set bleed and slug
&lt;br/&gt;	try
&lt;br/&gt;		set properties of document preferences of active document to {document bleed bottom offset:0.125, document bleed inside or left offset:0.125, document bleed outside or right offset:0.125, document bleed top offset:0.125, document bleed uniform size:true, slug bottom offset:0.5, slug inside or left offset:0.0, slug right or outside offset:0.0, slug top offset:0.0, document slug uniform size:false}
&lt;br/&gt;	end try
&lt;br/&gt;	
&lt;br/&gt;	--set zero point
&lt;br/&gt;	set zeroPoint to zero point of active document
&lt;br/&gt;	set zero point of active document to {0, 0}
&lt;br/&gt;	
&lt;br/&gt;	--set ruler origin
&lt;br/&gt;	set rulerOrigin to ruler origin of view preferences of active document
&lt;br/&gt;	set ruler origin of view preferences of active document to page origin
&lt;br/&gt;	
&lt;br/&gt;	--some definitions
&lt;br/&gt;	set myDoc to active document
&lt;br/&gt;	set docName to name of myDoc as text
&lt;br/&gt;	set boxWidth to page width of document preferences of myDoc
&lt;br/&gt;	set boxHeight to page height of document preferences of myDoc
&lt;br/&gt;	set currentDate to current date
&lt;br/&gt;	set underscore to "_"
&lt;br/&gt;	set autoPage to auto page number
&lt;br/&gt;	set countPages to (count pages of myDoc)
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	---!! build the layers !!---
&lt;br/&gt;	
&lt;br/&gt;	--change the first layer to "Default"
&lt;br/&gt;	try
&lt;br/&gt;		set name of layer 1 of myDoc to "Default"
&lt;br/&gt;	end try
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	--make layers	
&lt;br/&gt;	tell myDoc
&lt;br/&gt;		set coldread to make layer with properties {name:"Print/ColdRead", layer color:black, visible:false}
&lt;br/&gt;		set mwgm to make layer with properties {name:"Midwest-MWGM", layer color:light blue}
&lt;br/&gt;		set swgm to make layer with properties {name:"Southwest-SWGM", layer color:red, visible:false}
&lt;br/&gt;		set wgm to make layer with properties {name:"West-WGM", layer color:green, visible:false}
&lt;br/&gt;		set egm to make layer with properties {name:"East-EGM", layer color:blue, visible:false}
&lt;br/&gt;		set sep to make layer with properties {name:"Separator", layer color:magenta, visible:false}
&lt;br/&gt;	end tell
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	--! MWGM !--
&lt;br/&gt;	
&lt;br/&gt;	--Set the active layer of the document.
&lt;br/&gt;	set active layer of active window to layer "Midwest-MWGM" of myDoc
&lt;br/&gt;	set layerName to "Midwest-MWGM"
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	--draw the slug
&lt;br/&gt;	repeat with i from 1 to countPages
&lt;br/&gt;		tell page (i) of myDoc
&lt;br/&gt;			
&lt;br/&gt;			set mySlug to make text frame with properties {geometric bounds:{(boxHeight + 0.5), "0", (boxHeight - 0.0625), boxWidth}, contents:docName &amp;amp; underscore &amp;amp; autoPage &amp;amp; underscore &amp;amp; layerName &amp;amp; underscore &amp;amp; "Proof 1" &amp;amp; return &amp;amp; ¬
&lt;br/&gt;				"DTP" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;				"PR" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;				"CE" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;				"AD" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;				"AM" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore}
&lt;br/&gt;			
&lt;br/&gt;			tell mySlug
&lt;br/&gt;				set vertical justification of text frame preferences to bottom align
&lt;br/&gt;				set justification of paragraphs to center align
&lt;br/&gt;				set applied font of paragraphs to "Helvetica Neue	55 Roman"
&lt;br/&gt;			end tell
&lt;br/&gt;			
&lt;br/&gt;		end tell
&lt;br/&gt;	end repeat
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	--! SWGM !--
&lt;br/&gt;	
&lt;br/&gt;	--Set the active layer of the document.
&lt;br/&gt;	set active layer of active window to layer "Southwest-SWGM" of myDoc
&lt;br/&gt;	set layerName to "Southwest-SWGM"
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	--draw the slug
&lt;br/&gt;	repeat with i from 1 to countPages
&lt;br/&gt;		tell page (i) of myDoc
&lt;br/&gt;			
&lt;br/&gt;			set mySlug to make text frame with properties {geometric bounds:{(boxHeight + 0.5), "0", (boxHeight - 0.0625), boxWidth}, contents:docName &amp;amp; underscore &amp;amp; autoPage &amp;amp; underscore &amp;amp; layerName &amp;amp; underscore &amp;amp; "Proof 1" &amp;amp; return &amp;amp; ¬
&lt;br/&gt;				"DTP" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;				"PR" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;				"CE" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;				"AD" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;				"AM" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore}
&lt;br/&gt;			
&lt;br/&gt;			tell mySlug
&lt;br/&gt;				set vertical justification of text frame preferences to bottom align
&lt;br/&gt;				set justification of paragraphs to center align
&lt;br/&gt;				set applied font of paragraphs to "Helvetica Neue	55 Roman"
&lt;br/&gt;			end tell
&lt;br/&gt;			
&lt;br/&gt;		end tell
&lt;br/&gt;	end repeat
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	--! WGM !--
&lt;br/&gt;	
&lt;br/&gt;	--Set the active layer of the document.
&lt;br/&gt;	set active layer of active window to layer "West-WGM" of myDoc
&lt;br/&gt;	set layerName to "West-WGM"
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	--draw the slug
&lt;br/&gt;	repeat with i from 1 to countPages
&lt;br/&gt;		tell page (i) of myDoc
&lt;br/&gt;			
&lt;br/&gt;			set mySlug to make text frame with properties {geometric bounds:{(boxHeight + 0.5), "0", (boxHeight - 0.0625), boxWidth}, contents:docName &amp;amp; underscore &amp;amp; autoPage &amp;amp; underscore &amp;amp; layerName &amp;amp; underscore &amp;amp; "Proof 1" &amp;amp; return &amp;amp; ¬
&lt;br/&gt;				"DTP" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;				"PR" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;				"CE" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;				"AD" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;				"AM" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore}
&lt;br/&gt;			
&lt;br/&gt;			tell mySlug
&lt;br/&gt;				set vertical justification of text frame preferences to bottom align
&lt;br/&gt;				set justification of paragraphs to center align
&lt;br/&gt;				set applied font of paragraphs to "Helvetica Neue	55 Roman"
&lt;br/&gt;			end tell
&lt;br/&gt;			
&lt;br/&gt;		end tell
&lt;br/&gt;	end repeat
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	--! EGM !--
&lt;br/&gt;	
&lt;br/&gt;	--Set the active layer of the document.
&lt;br/&gt;	set active layer of active window to layer "East-EGM" of myDoc
&lt;br/&gt;	set layerName to "East-EGM"
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	--draw the slug
&lt;br/&gt;	repeat with i from 1 to countPages
&lt;br/&gt;		tell page (i) of myDoc
&lt;br/&gt;			
&lt;br/&gt;			set mySlug to make text frame with properties ¬
&lt;br/&gt;				{geometric bounds:{(boxHeight + 0.5), "0", (boxHeight - 0.0625), boxWidth}, contents:docName &amp;amp; underscore &amp;amp; autoPage &amp;amp; underscore &amp;amp; layerName &amp;amp; underscore &amp;amp; "Proof 1" &amp;amp; return &amp;amp; ¬
&lt;br/&gt;					"DTP" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;					"PR" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;					"CE" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;					"AD" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; "   " &amp;amp; ¬
&lt;br/&gt;					"AM" &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore &amp;amp; underscore ¬
&lt;br/&gt;					}
&lt;br/&gt;			
&lt;br/&gt;			tell mySlug
&lt;br/&gt;				set vertical justification of text frame preferences to bottom align
&lt;br/&gt;				set justification of paragraphs to center align
&lt;br/&gt;				set applied font of paragraphs to "Helvetica Neue	55 Roman"
&lt;br/&gt;			end tell
&lt;br/&gt;			
&lt;br/&gt;		end tell
&lt;br/&gt;	end repeat
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	---!! house keeping !!---
&lt;br/&gt;	
&lt;br/&gt;	--search/replace auto page number
&lt;br/&gt;	tell myDoc
&lt;br/&gt;		search for "auto page number" replacing with "^#" with case sensitive and whole word
&lt;br/&gt;	end tell
&lt;br/&gt;	
&lt;br/&gt;	--reset ruler origin	
&lt;br/&gt;	set ruler origin of view preferences of myDoc to rulerOrigin
&lt;br/&gt;	
&lt;br/&gt;	--reset zero point
&lt;br/&gt;	set zero point of myDoc to zeroPoint
&lt;br/&gt;	
&lt;br/&gt;	
&lt;br/&gt;	--last end tell	
&lt;br/&gt;end tell
&lt;br/&gt;
&lt;br/&gt;&lt;/div&gt;
				&lt;div&gt;
			posted in
			&lt;a href="http://tribes.tribe.net/applescript"&gt;AppleScript&lt;/a&gt;
			- 3 replies
		&lt;/div&gt;</description>
      <pubDate>Thu, 19 Jan 2006 18:33:19 GMT</pubDate>
      <guid isPermaLink="false">http://tribes.tribe.net/applescript/thread/a493aaf5-1772-42f1-be73-5b5af0ed54d0</guid>
      <dc:creator>raymassie</dc:creator>
      <dc:date>2006-01-19T18:33:19Z</dc:date>
    </item>
    <item>
      <title>some resource links</title>
      <link>http://tribes.tribe.net/applescript/thread/bfea2c68-a48e-463e-8071-f1448dc3fa38</link>
      <description>&lt;div&gt;General: 
&lt;br/&gt;http://www.apple.com/applescript/
&lt;br/&gt;http://www.apple.com/applescript/developers/
&lt;br/&gt;http://developer.apple.com/documentation/AppleScript/index.html
&lt;br/&gt;http://applescriptsourcebook.com/
&lt;br/&gt;http://macscripter.net/
&lt;br/&gt;http://share.studio.adobe.com/axBrowseSubmit.asp?t=54
&lt;br/&gt;http://freespace.virgin.net/hamish.sanderson/appscript.html
&lt;br/&gt;http://maccentral.macworld.com/features/applescriptprimer00/
&lt;br/&gt;
&lt;br/&gt;InDesign:
&lt;br/&gt;http://olivier.berquin.free.fr/indesign/index.html
&lt;br/&gt;http://www.adobeforums.com/cgi-bin/webx?14@267.LXSmeydKUIE.0@.ee6b330!
&lt;br/&gt;http://www.scriptingmatters.com/indesigncs_changes.php
&lt;br/&gt;http://chris.paveglio.com/
&lt;br/&gt;http://www.nickhodge.com/mne.php?msid=1
&lt;br/&gt;
&lt;br/&gt;Pro Solutions:
&lt;br/&gt;http://tecsoft.com/
&lt;br/&gt;http://customflowsolutions.com/
&lt;br/&gt;http://www.macscript.com/&lt;/div&gt;
				&lt;div&gt;
			posted in
			&lt;a href="http://tribes.tribe.net/applescript"&gt;AppleScript&lt;/a&gt;
			- 0 replies
		&lt;/div&gt;</description>
      <pubDate>Mon, 09 Jan 2006 22:14:43 GMT</pubDate>
      <guid isPermaLink="false">http://tribes.tribe.net/applescript/thread/bfea2c68-a48e-463e-8071-f1448dc3fa38</guid>
      <dc:creator>raymassie</dc:creator>
      <dc:date>2006-01-09T22:14:43Z</dc:date>
    </item>
  </channel>
</rss>



