Re: Could someone try the following script run as an app
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