• 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
Some oddball Q's about script running
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some oddball Q's about script running


  • Subject: Some oddball Q's about script running
  • From: Gnarlodious <email@hidden>
  • Date: Fri, 18 Feb 2005 19:24:29 -0700

Q1:
I have a script application that runs another script.

When I doubleclick script 1 the script 2 runs regardless of absolute or
relative HFS path in script 1.

When I run it from Terminal or shell it only runs with the absolute HFS
path. If I set it to an relative HFS path suddenly I get error:

execution error: A ":" can't go after this some object. (-2740)

Is this a bug?


Q2:
This is some mysterious behavior. Say I have an application script starting
like this:

property prevWIP : missing value
set statusString to ""
if prevWIP is missing value then set statusString to "script edited"

etc

When I repeatedly run this script by doubleclicking it the statusString
variable does as expected (gets set to "") HOWEVER when I use "run script"
from a calling scriot the statusString variable does not get set to "".

Can anyone explain that oddity?

--  Gnarlie
The first lemming to lead his peers off the cliff is a bold and decisive
leader


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Text size of Finder window
  • Next by Date: Re: Text size of Finder window
  • Previous by thread: Re: Text size of Finder window
  • Next by thread: Repositioning the AppleScript dialog box
  • Index(es):
    • Date
    • Thread