• 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
Re: Broken Script in Yosemite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Broken Script in Yosemite


  • Subject: Re: Broken Script in Yosemite
  • From: Eric Wright <email@hidden>
  • Date: Tue, 09 Dec 2014 22:39:44 +1100

As so often happens its not the obvious that’s the problem.
Having sorted out the current version of Text-Edit I tracked the error down to an earlier line in the script.
The script is embedded in Filemaker and has the lines

set myName to the name of me
tell application myName

to accommodate different versions of Filemaker.
Its this line that’s not executing.

Has the behaviour of name of me changed ?

Kind Regards
Eric


On 9 Dec 2014, at 9:51 pm, email@hidden wrote:

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

  • Prev by Date: Re: Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?)
  • Next by Date: Re: Broken Script in Yosemite
  • Previous by thread: Re: Broken Script in Yosemite
  • Next by thread: New day, new issue, TextEdit
  • Index(es):
    • Date
    • Thread