• 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: Quicktime export using settings file problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quicktime export using settings file problem


  • Subject: Re: Quicktime export using settings file problem
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 10 May 2011 15:30:43 -0500

On May 10, 2011, at 2:51 PM, Jim Weisbin wrote:


On May 10, 2011, at 3:00 PM,  Luther Fuller <email@hidden> wrote

Would this help ...

set the_settings_file to (path to me as text) & ":Contents:Resources:settings-16-9.set"

I got it working, but I'm confused as to why. I was setting a global variable to "(path to me) & ":Contents:Resources:settings-16-9.set" outside of the run block (turns out it was the run block, not the process block, that was the issue). Then I did the export within the run block using that variable as the settings file. The export happened and QT didn't throw any errors, but it didn't use the settings file.

When I moved the statement "export...using settings file..." to inside the run block, then it worked fine.

'path to ...' always returns an alias. Concatenating an 'alias' followed with 'text' may be confusing to AppleScript. You could also do this ...

property the_settings_file : alias ((path to me as text) & ":Contents:Resources:settings-16-9.set")

export to new_file as QuickTime movie using settings the_settings_file

I'm curious what application you are telling to export ?

 _______________________________________________
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

References: 
 >Re: Quicktime export using settings file problem (From: Jim Weisbin <email@hidden>)

  • Prev by Date: Re: Quicktime export using settings file problem
  • Next by Date: Quit Handler... What Am I Missing Here?
  • Previous by thread: Re: Quicktime export using settings file problem
  • Next by thread: Re: quit command
  • Index(es):
    • Date
    • Thread