• 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: Could someone try the following script run as an app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Could someone try the following script run as an app


  • Subject: Re: Could someone try the following script run as an app
  • From: Luther Fuller <email@hidden>
  • Date: Mon, 07 Dec 2015 11:30:33 -0600

On Dec 7, 2015, at 10:58 AM, Deivy Petrescu wrote:

> and tell me what do you get?
>
>
> Select some files and drop it over the applet.
> I am getting something very weird.
> I just want to know if there is something wrong with my computer or with AS.
> Thanks
>
> on run
> 	open selection
> end run
>
> on open selection
> 	set l to selection -- files selected
> 	display dialog (count of l)
> end open

I'm using 10.7.5 so this may not be applicable.
Why do you need the 'run' handler ?
I used ONLY the 'open' handler and it seemed to work perfectly.

(The 'run' handler fails because it does not 'tell application"Finder" ' to open the selection.)




 _______________________________________________
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: 
 >Could someone try the following script run as an app (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: Could someone try the following script run as an app
  • Next by Date: Re: Could someone try the following script run as an app
  • Previous by thread: Re: Could someone try the following script run as an app
  • Next by thread: Re: Could someone try the following script run as an app
  • Index(es):
    • Date
    • Thread