• 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: applet's last command doesn't take
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applet's last command doesn't take


  • Subject: Re: applet's last command doesn't take
  • From: Andrew Wylie <email@hidden>
  • Date: Sun, 25 Feb 2001 23:47:58 +1300

on Sun, 25 Feb 2001 00:43:57 EST
Robert Kyle wrote:
> It works well enough, but when it's run as an applet, the third folder
> ("Project photos") does not become a popup until I click the mouse somewhere.
> The applet is no longer running, it just appears that it's last action
> doesn't "take." This doesn't happen when the script runs from an editor.

The Finder won't set a window to popup on my (OS 8.6 AS 1.3.7) system if
it's not active so you may only need to change that but there's more that
doesn't work for me so

----------------------------------------------------------------------------
tell application "Finder"
activate
set thisDesk to path to desktop
repeat with x in {"Color photos", "BW photos", "Project photos"}
set y to ((thisDesk & x) as string)
if exists folder y then
open folder y
set popup of window of folder y to true
else
make new folder at desktop with properties {name:x}
open folder y
set popup of window of folder y to true
end if
end repeat
end tell
----------------------------------------------------------------------------
"Any stigma will do to beat a dogma" -Philip Guedalla
----------------------------------------------------------------------------


  • Prev by Date: Re: 2^1024 (was Re: magic integer converter number 62?)
  • Next by Date: Question about random number on AS 1.5.5
  • Previous by thread: Re: applet's last command doesn't take
  • Next by thread: Re: Applet's last command doesn't take
  • Index(es):
    • Date
    • Thread