applet versus droplet
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