Need OS troubleshooting?
Need OS troubleshooting?
- Subject: Need OS troubleshooting?
- From: Anthony DeCrescenzo <email@hidden>
- Date: Wed, 26 Sep 2001 13:58:03 -0400
Hello Fellow Scripters,
I have an issue with a script that worked yesterday but not today. Can't
figure it out. The essential question is this: what are the common issues as
regards preferences or extension conflicts that stand out as typical when
troubleshooting a script that breaks inexplicably? The script involves
Remote linking over IP.
I know the script is sound as it *used* to work. Was any of this section of
AppleScript (Remote/IP) modified/broken with the leap to 9.2.1?? The only
item that's changed was my update, but my recollection is that this script
was working post-update (though I can't swear to it).
******Script Follows*******
-- set variable by which to speak to the remote Finder
set remote_Finder to application "Finder" of machine
"eppc://156.146.251.111" -- (all one line)
set remote_App to application "Retrospect" of machine
"eppc://156.146.251.111" -- (all one line)
using terms from application "Finder"
tell remote_Finder
open application file id "Pery"
-- opens remote copy of Retrospect by id
end tell
end using terms from
-- next, application stays open and checks status every 6 minutes
on idle
using terms from application "Retrospect"
tell remote_App
get Retrospect status
-- gets a laundry list of Retrospect data.
-- The result I am interested in is the "current source"
-- which will list the disk (or lack thereof) in use, thereby
-- acting as a quasi-boolean
if current source of the result is "" then -- if no disk in use
tell application "Finder" -- this is my local Finder
activate
display dialog "Archive Script is inactive."
end tell
end if
end tell
return 360 --6 times 60 seconds (six minutes) wait state
end using terms from
end idle
**********END SCRIPT**********
Thanks in advance,
Anthony
-------------------------------------------------------------------------
Anthony DeCrescenzo (email@hidden)
LAN Admin & Tech Support - Macintosh (1-212-626-1531 - NY office)
Information Systems Division (1-212-626-1805 - fax)
Liz Claiborne, Inc. (1-201-481-2316 - cell)
1441 Broadway - 22nd Floor
New York, NY 10018
-------------------------------------------------------------------------