• 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
applet versus droplet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

applet versus droplet


  • Subject: applet versus droplet
  • From: "koenig.yvan" <email@hidden>
  • Date: Sat, 14 Jul 2012 12:46:42 +0200

Hello

I'm facing a surprising behavior.

This fake applet behaves flawlessly :

property fichier : ""

on run
set fichier to (path to music folder as text) & "iTunes Media:Mobile Applications:Royal Envoy HD (collector)1.0.7 1.ipa"
run script auBoulot


set fichier to ""
end run

script auBoulot
say fichier
end script


but this fake droplet fails :

property fichier : ""

on open sel
set fichier to (item 1 of sel) as text
run script auBoulot


set fichier to ""
end open

script auBoulot
say fichier
end script

I dropped the file pointed by the applet on the droplet icon and I got the error message :

the variable « auBoulot » is not defined.

I really don't understand what I made wrongly.

Yvan KOENIG (VALLAURIS, France) samedi 14 juillet 2012 12:46:06



 _______________________________________________
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: applet versus droplet
      • From: Brian Christmas <email@hidden>
    • Re: applet versus droplet
      • From: Iurista GmbH <email@hidden>
  • Prev by Date: Re: XMLlib
  • Next by Date: Re: applet versus droplet
  • Previous by thread: RE: scripting InDesign's Articles Panel
  • Next by thread: Re: applet versus droplet
  • Index(es):
    • Date
    • Thread