• 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: Library Modules and Library Loaders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Library Modules and Library Loaders


  • Subject: Re: Library Modules and Library Loaders
  • From: Philip Aker <email@hidden>
  • Date: Mon, 30 Aug 2010 05:17:46 -0700

On 2010-08-21, at 19:57:02, Takaaki Naganoya wrote:

Hi, All.

This is my opinion about Script loader.

http://www.piyocast.com/download_file/script_loader.pdf


Simple Install
-- Install by using Installer package


Ok, no problem.


Put scripts in order or categolize them Automatically

What are the 5 most common ways to categorize scripts?


Simple way is override “load script” command

load script “name/space”
load script URL “http://some.url/script” load script file


I'll check out overriding it in an osax, but I know I can already do what you need with a new command. Say 'import', would look something like:

import "name/space" -- no slash start means it's in a module
import "name/space" from user module
import "name/space" in library "Logic Utilities" from local module
import
"http://some.where/some.scpt"
import "/path/to/my.scptd" -- slash start means its a POSIX path

set handler_names to import handler names from "http://some.where/some.scpt"


This might be the better way because then there would be no confusion as to what is Apple supplied and what is not.


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

 _______________________________________________
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: Library Modules and Library Loaders
      • From: Tetsuro KURITA <email@hidden>
References: 
 >Library Modules and Library Loaders (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Libraries and effiency
  • Next by Date: Loading a Script Object across the net
  • Previous by thread: Library Modules and Library Loaders
  • Next by thread: Re: Library Modules and Library Loaders
  • Index(es):
    • Date
    • Thread