Thanks for sharing your experience.
I'm little confused about the revised script you posted though. I was
thinking that if I linked the script it would remove the need to check the
active window (apart from any specific stage or MIAW directed returns).
Also I can see where else was redundant in
Kerry Thompson wrote:
Your script was returning the result regardless of what happened. The
return goes to the calling routine, wherever it is located. You
don't need to place it inside the tell.
Your script will also crash if you run it from the stage without a MIAW
open, because the
I am currently using a number of parent scripts in my project as well as
MIAW's
Both the stage and the MIAW need to access the parent scripts, currently I
perform checking on the active window to format the return
ie. if the activewindow=the windowlist[1] then
tell windowlist[1]
return the
Kerry Thompson wrote:
I use linked script casts in MIAWs, and have had no particular problem,
even if the stage is linked to the same script cast.
You could shorten your script a bit, also:
if the activeWindow=the windowList[1] then
tell windowList[1]
end tell
end if
return the
Just a bit of advice required here from my esteemed peers.
I am currently using a number of parent scripts in my project as well as
MIAW's.
Both the stage and the MIAW need to access the parent scripts, currently I
perform checking on the active window to format the return
ie. if the
- Original Message -
From: Brad Hile [EMAIL PROTECTED]
Is it better practice to locate parent scripts in linked casts
In short, yes. There is no major drawback to this method as far as I am
aware.
- Robert
[To remove yourself from this list, or to change to digest mode, go to
Robert Tweed wrote:
Is it better practice to locate parent scripts in linked casts
In short, yes. There is no major drawback to this method as far as I am
aware.
Excellent, that was the answer I was hoping to get!
thanks Robert.
[To remove yourself from this list, or to change to digest
- Original Message -
From: Brad Hile [EMAIL PROTECTED]
Robert Tweed wrote:
Is it better practice to locate parent scripts in linked casts
In short, yes. There is no major drawback to this method as far as I am
aware.
Excellent, that was the answer I was hoping to get!
thanks