• 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
problem with paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with paths


  • Subject: problem with paths
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 11 Jan 2001 09:02:07 -0500

I have a script that has been running for a while and I needed to fix a
part of it to work with akua sweats (not sweet because I am really
working up a sweat). It now does not work saying "rats now I can't
duplicate it! something like scripting additions could not find path to
scripting editions...

For serveral hours if I moved the (path to scripting additions as string)
outside the tell it worked but if inside I got an error. Then it worked
fine. (and I rebooted when it stopped working)

Could this be because the code is scripter compiled scripts and it has
project information with it? I wrote the script on a G3 and was trying
to trouble shoot/improve it on a G4 450 dual. (both with 9.0.4)

if I pull the (path to scripting additions) outside of the tell finder
block it is fine but then the exists file is not going to work real
well... so why did this stop working? (code was started on 8.6 but is
running on 9.0.4 (a G3) but not on 9.0.4 a G4....

tell application "Finder"

if exists file (((path to scripting additions as string) &
"txtLib.library") as string) then
set kLogLib to load script (((path to scripting additions as string) &
"txtLib.library") as string) as alias
else
display dialog "PhotoSlug is missing the file <txtLib. library>. Find
it, put it in Scripting additions folder and restart PhotoSlug.

See the PhotoSlug.Doc for more information."
error -128
end if


  • Follow-Ups:
    • Re: problem with paths
      • From: John MacDonald <email@hidden>
  • Prev by Date: Re: Highlights of AppleScript 1.5.5 in Mac OS 9.1
  • Next by Date: Re: Chevrons [getting OT] - and back on topic again
  • Previous by thread: Windows of non-scriptable app
  • Next by thread: Re: problem with paths
  • Index(es):
    • Date
    • Thread