• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Broken Script in Yosemite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Broken Script in Yosemite
      • From: martin schiller <email@hidden>
  • Prev by Date: Re: Can one get physical location via Applescript?
  • Next by Date: Re: Broken Script in Yosemite
  • Previous by thread: Re: Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?)
  • Next by thread: Re: Broken Script in Yosemite
  • Index(es):
    • Date
    • Thread