• 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: App and droplet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App and droplet


  • Subject: Re: App and droplet
  • From: Philip Aker <email@hidden>
  • Date: Sat, 14 Oct 2006 13:43:05 -0700

On 2006-10-12, at 16:28:55, kai wrote:

I think there was a miniscule typo in kai's example. The following works OMM:

So miniscule, Philip, that it continues to escape me - not to mention my Mac (on which it runs as intended).

I can see only 3 differences between your version and mine: a changed variable label, the insertion of an action in the open handler - and a variation of the Boolean test; <if really_quit then quit> vs. <if (really_quit is true) then quit>. Are you saying the former test fails on your machine?

It was the boolean test that did not work when I first tried your script. When I changed that then it worked. Normally I would have changed it anyway because:


if (some_property) then …

makes me think either:

if (some_property exists) then … //always true in the case of a existing property

or
if (some_value is not equal to 0) then … // 'true' and 'fals' are not 0 enums



But that's just me trying to coordinate my writing as much as possible between various languages.


The problem was (as I discovered from a post Craig sent me off- list) is that he was in an AppleScript Studio droplet…

To be fair to Craig, he did mention the fact - albeit after I'd posted my suggestion. (In view of that, and since this isn't the applescript-studio list,

I didn't see it at the time. Anyway, I suggested he use 'on launched'.


perhaps the dearth of cigars around here isn't too surprising. ;-))

I move the list start a "Virtual Cigars" applescript website for the purposes of housing excellent scripts.


And of course, its complimentary site, the "Virtual CigArse" page which will carry SPOTMs (Stupidest Post Of the Month category).


Philip Aker email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: App and droplet
      • From: kai <email@hidden>
References: 
 >App and droplet (From: Craig Stanton <email@hidden>)
 >Re: App and droplet (From: kai <email@hidden>)
 >Re: App and droplet (From: Craig Stanton <email@hidden>)
 >Re: App and droplet (From: Philip Aker <email@hidden>)
 >Re: App and droplet (From: kai <email@hidden>)

  • Prev by Date: Re: ISO date format on SOAP interface
  • Next by Date: Re: Comprehensive Applescript Reference Book (Re: Applescript equivalent of $0 in shell script)
  • Previous by thread: Re: App and droplet
  • Next by thread: Re: App and droplet
  • Index(es):
    • Date
    • Thread