• 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: temporary items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: temporary items


  • Subject: Re: temporary items
  • From: Luther Fuller <email@hidden>
  • Date: Fri, 19 Aug 2011 13:24:20 -0500

I just discovered something else ...

In Lion, I modified the code for "Script Bundle Tool" by adding ONE line ...

on createAppBundle(sourceRef, projectName, projectParams)
set tempRef to (path to temporary items) --********** from user domain)
tell application "Finder"
open window of tempRef -- added this line <<<<<<<<<<<
set objectRef to (POSIX path of tempRef) & projectName & ".app" as POSIX file

Then I ran SBT with itself as input to create a new build of SBT.

I ran SBT on a test script:
run 1 ... no errors (expected)
run 2 ... no errors (but expected one)
run 3 ... no errors (but expected one)

So, now it seems to be working correctly, but the window of the temporary items folder is opened on my desktop. A little inconvenient, but it works.

This changes the problem with the temporary items folder in Lion.
Why does it not work correctly unless its window is open?
Do other applications that use the temporary items folder have this problem, too?

 _______________________________________________
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: temporary items
      • From: Axel Luttgens <email@hidden>
References: 
 >temporary items (From: Luther Fuller <email@hidden>)
 >Re: temporary items (From: Luther Fuller <email@hidden>)
 >Re: temporary items (From: Luther Fuller <email@hidden>)
 >Re: temporary items (From: Luther Fuller <email@hidden>)
 >Re: temporary items (From: Luther Fuller <email@hidden>)
 >Re: temporary items (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: temporary items
  • Next by Date: Re: Still don't understand timeout
  • Previous by thread: Re: temporary items
  • Next by thread: Re: temporary items
  • Index(es):
    • Date
    • Thread