• 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: [FYI] more sdef-based library stupidity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FYI] more sdef-based library stupidity


  • Subject: Re: [FYI] more sdef-based library stupidity
  • From: Yvan KOENIG <email@hidden>
  • Date: Fri, 03 Jun 2016 10:50:02 +0200

I'm not too surprised by the different behavior between :

use application "Finder"
reveal someLocalHandler()
--> error "Erreur dans Finder : Il est impossible de poursuivre someLocalHandler." number -1708
on someLocalHandler()
return "/" as POSIX file
end someLocalHandler

and

use application "Finder"
someLocalHandler()
reveal result

on someLocalHandler()
return "/" as POSIX file
end someLocalHandler

behaves well.


But I am to see that :

use application "Finder"
reveal (get someLocalHandler())

--> error "Erreur dans Finder : Il est impossible de poursuivre someLocalHandler." number -1708
on someLocalHandler()
return "/" as POSIX file
end someLocalHandler

fails too while

use application "Finder"
reveal my someLocalHandler()

on someLocalHandler()
return "/" as POSIX file
end someLocalHandler

behave flawlessly.


Yvan KOENIG running El Capitan 10.11.5 in French (VALLAURIS, France) vendredi 3 juin 2016 10:48:40








 _______________________________________________
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: [FYI] more sdef-based library stupidity
      • From: Shane Stanley <email@hidden>
References: 
 >Re: [FYI] more sdef-based library stupidity (From: has <email@hidden>)

  • Prev by Date: Re: [FYI] more sdef-based library stupidity
  • Next by Date: Re: [FYI] more sdef-based library stupidity
  • Previous by thread: Re: [FYI] more sdef-based library stupidity
  • Next by thread: Re: [FYI] more sdef-based library stupidity
  • Index(es):
    • Date
    • Thread