• 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: script works when reading from DVD but not when reading from hard disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script works when reading from DVD but not when reading from hard disk


  • Subject: Re: script works when reading from DVD but not when reading from hard disk
  • From: Yvan KOENIG <email@hidden>
  • Date: Wed, 7 Oct 2009 00:04:54 +0200


Le 6 oct. 2009 à 23:47, Mari Masuda a écrit :

Hi Ed,

Thanks for the suggestion.  When I ran your code I received an error message with the same error code (-1700) but slightly different wording in the text part of the message.  It seems that this line is failing: set folderName to (name of (container of currentINDDfile) as text) because it gives the error alert and does not print the folderName.  The error from the log was display alert "An error has occurred (-1700).  Can't make name of container of item 1 of {alias \"mari:Desktop:maritest:indd:hoov-09-04-03 Folder:hoov-09-04-03.indd\"} into type string."
{button returned:"OK"}

Mari

Given the color setting of the pasted instruction, it seems that container is treated as a variable not as an operand.

My guess is that in your loop you aren't "speaking" to the Finder or to System Events and that may explain the described behavior.

Yvan KOENIG (VALLAURIS, France) mercredi 7 octobre 2009 00:04:32


 _______________________________________________
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: script works when reading from DVD but not when reading from hard disk
      • From: Brian Christmas <email@hidden>
    • Re: script works when reading from DVD but not when reading from hard disk
      • From: "Stockly, Ed" <email@hidden>
References: 
 >Re: script works when reading from DVD but not when reading from hard disk (From: "Stockly, Ed" <email@hidden>)
 >Re: script works when reading from DVD but not when reading from hard disk (From: Mari Masuda <email@hidden>)

  • Prev by Date: Re: script works when reading from DVD but not when reading from hard disk
  • Next by Date: Re: script works when reading from DVD but not when reading from hard disk
  • Previous by thread: Re: script works when reading from DVD but not when reading from hard disk
  • Next by thread: Re: script works when reading from DVD but not when reading from hard disk
  • Index(es):
    • Date
    • Thread