• 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
done! (was: Re: delay procedure for waiting less than a second)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

done! (was: Re: delay procedure for waiting less than a second)


  • Subject: done! (was: Re: delay procedure for waiting less than a second)
  • From: Leo <email@hidden>
  • Date: Fri, 12 Sep 2003 00:13:26 +1000

wunderful! now, with /Libary/ScriptingAdditions it works!

thanks a lot for your detailed infos, paul!

cheers, leo

Paul Berkowitz wrote:

On 9/11/03 6:15 AM, "Leo" <email@hidden> wrote:



thanks for the tips, but unfortunatly it doesn't work:

i copied the scriptingaddtion GetMilliSec.osax to
/System/Libary/ScriptingAdditions (sudo!) and even close script editor.




Never, ever do that! I knew there'd be trouble - somebody perhaps used the
term "System" incorrectly or loosely, when they meant "Local". The System
folder is only for Apple - don't mess with it. Yu have two (actually three)
other places to put scripting additions. Unfortunately Apple does not
provide the empty folders for them - you have to make them yourself:

1) ~/Library/ScriptingAdditions/
- just for your user

2) /Library/ScriptingAdditions/
- that's the one you wanted: the whole computer, all users

3) /Network/Library/ScriptingAdditions/
- if you have a network of remote macs

Leave /System/Libary/ScriptingAdditions out of it. You don't need it.




then i restart the editor and try a line like:

set init to GetMilliSec

then i get the error "The variable GetMilliSec is undefined"

the i looked at the examples and they suggest a command like

set t0 to +event MSecMSec;

now i'm totally confused! the version seems still to be a os 9 version,
even though i dowloaded it from osaxen in the osx section!



When you download GetMillisec , it comes as a folder with THREE versions: a
68K version for very old Macs (pre-PPC), a PPC version, and the one called
"GetMillisec.osax" with an extension at the end. (Go into Finder preferences
and turn on "Advanced/Always show extensions" if you need to. Because of how
OS X works, or something, all three display the OS X-type osax icon, but
"GetMillisec.osax." is the one you want. Put it - not the whole folder -
into /Library/ScriptingAdditions, and it will start working immediately,
without any relaunching or rebooting.

Make sure you spell the name of the folder correctly, without any spaces. Or
make it via AppleScript by running:

path to scripting additions folder from local domain

and/or

path to scripting additions folder from user domain


Those immediately create the correct folder9s) for you.


any hints?

thanks, leo
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: delay procedure for waiting less than a second (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Quick Finder Question
  • Next by Date: Re: Dates gone wild
  • Previous by thread: Re: delay procedure for waiting less than a second
  • Next by thread: Workaround for terminology conflicts
  • Index(es):
    • Date
    • Thread