• 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: Script Libraries in iCloud
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Libraries in iCloud


  • Subject: Re: Script Libraries in iCloud
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 13 Feb 2014 10:00:04 +1100

On 13 Feb 2014, at 6:57 am, Bryan Harris <email@hidden> wrote:

I think the answer must be no, at least I don’t see how to do it.  Let’s say I want to tell my script library to do something:

tell script "Bryan's AppleScript Editor Library" to doSomethingFun()

And in my script library, I have a handler for doSomethingFun().  Can I use my script library via iCloud location or do I have to save the script library to each computer?

I don't believe you can use an iCloud location (and I suspect the performance might suffer dramatically if you could).

When you say script "xyz", AppleScript looks first inside in the Script Libraries folder of the calling script's bundle's if there is one, then in the user's Script Libraries folder, and finally in /Library/Script Libraries/. I believe at that point it gives up.

So if you're calling the script from iCloud, it might make sense to embed the library.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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: Script Libraries in iCloud
      • From: Shane Stanley <email@hidden>
References: 
 >Script Libraries in iCloud (From: Bryan Harris <email@hidden>)

  • Prev by Date: Re: Script Libraries in iCloud
  • Next by Date: Re: Script Libraries in iCloud
  • Previous by thread: Re: Script Libraries in iCloud
  • Next by thread: Re: Script Libraries in iCloud
  • Index(es):
    • Date
    • Thread