• 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: "Stockly, Ed" <email@hidden>
  • Date: Tue, 06 Oct 2009 14:27:33 -0700
  • Thread-topic: script works when reading from DVD but not when reading from hard disk

Try this, replacing the repeat loop in your script.

By breaking up a complex command it can be easier to spot the error.

HTH,

ES

repeat with currentINDDfile in listOfINDDfiles
  log currentINDDfile
  set folderName to (name of (container of currentINDDfile) as text)
  log folderName
  tell application "Finder"
   log "MARI"
   set aliasToNewFolder to (make new folder at outputFolder with properties
{name:folderName}) as alias
   log "MARI2"
   set aliasToLinksFolder to (make new folder at aliasToNewFolder with
properties {name:"Links"}) as alias
   log "MARI3"
  end tell
  convertINDDtoTaggedText(currentINDDfile, aliasToNewFolder)
  copyLinksFolders(currentINDDfile, aliasToLinksFolder)
end repeat



 _______________________________________________
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: Mari Masuda <email@hidden>
References: 
 >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: Get UI Attribute Value
  • 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