Broken Script in Yosemite
Broken Script in Yosemite
- Subject: Broken Script in Yosemite
- From: Eric Wright <email@hidden>
- Date: Tue, 09 Dec 2014 12:59:10 +1100
Hi all
I have the following snippet in a scrip that has chugged away for years converting a text file with style sheet information into a form that Indesign can read and recognise.
Straight import of text renders the style info as text whereas the following allows Indesign to get at the data.
Updated the application to textedit but that’s not the whole problem
But it no longer works seeing the class command as needing an end of line.
Can anyone help ?
(*Process the file for InDesign*)
tell application "Tex-Edit Plus"
activate
open file SourceFile
save window 1 in file ResultFile as string with creator «class TBB6» with unstyled formatting
close window 1 saving no
end tell
Kind Regards
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden