🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16094

cursor of death (OSX) when applying language

#16094
From: Ton_Kuypers
Date: Wed, 15 Oct 2003 15:50
31 lines
2078 bytes
When running the following script, I always get the nice colored round cursor of OSX, saying that InDesign is busy... But I still can do anything I want... but selecting items with this cursor is kinda... annoying...

When changing applied language:"Finnish" to applied language:"English: UK" there is no problem, all the English languages work fine.

Anyone any suggestions?

Ton Kuypers

tell application "InDesign 2.0.2"
	tell active document
		set myStory to parent story of (text frame 1 of spread 1 whose label is "text")
		set left indent of myStory to 0
		set first line indent of myStory to 0
		set right indent of myStory to 0
		set space before of myStory to 0
		set space after of myStory to 0
		set justification of myStory to left justified
		set hyphenation of myStory to true
		set composer of myStory to "Adobe Single-line Composer"
		set minimum word spacing of myStory to 110
		set desired word spacing of myStory to 110
		set maximum word spacing of myStory to 250
		set keep with next of myStory to 0
		set hyphenate words longer than of myStory to 6
		set hyphenate after first of myStory to 3
		set hyphenate before last of myStory to 2
		set hyphenate ladder limit of myStory to 0
		set hyphenate capitalized words of myStory to true
		set properties of myStory to {applied language:"Finnish"}
	end tell
end tell
Technical Details
Message-ID: <2ccddeaa.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,f04d1d6c79b71430,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-10-15 09:08:07 PST
From: Ton_Kuypers@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: cursor of death (OSX) when applying language
Message-ID: <2ccddeaa.-1@webx.la2eafNXanI>
Date: Wed, 15 Oct 2003 08:50:34 -0700
Lines: 36
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit