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

Re: applet versus droplet


  • Subject: Re: applet versus droplet
  • From: Iurista GmbH <email@hidden>
  • Date: Sat, 14 Jul 2012 13:20:59 +0200

Make it a handler. Maybe Droplets do not like runnig scripts   :-)
This droplet works:

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


set fichier to ""
end open

on auBoulot(fichier)
say fichier
end auBoulot


Salutations
Rudolf



Am 14.07.2012 um 12.46 schrieb koenig.yvan:

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

 _______________________________________________
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

References: 
 >applet versus droplet (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: applet versus droplet
  • Next by Date: Re: applet versus droplet
  • Previous by thread: applet versus droplet
  • Next by thread: Re: applet versus droplet
  • Index(es):
    • Date
    • Thread