Why does the Script Editor Service do this?
Why does the Script Editor Service do this?
- Subject: Why does the Script Editor Service do this?
- From: Michael Cytrynowicz <email@hidden>
- Date: Sat, 18 Jan 2003 03:55:23 -0800
Yes, indeed, Paul, and I'd like you to know how much I appreciate your kind
comments.
I've never experienced anything quite like this. Its not a terminal thing,
meaning I don't _really_ need to use AS to run Help Viewer, but I _really_
hate it when things work in such unexpected ways.
I tried everything already, but I am not going to reinstall X just because
of this. Unless, of course, this is just a symptom of something _much_
worse. In the past, I had to deal with such beasties as Maxtor drives that
kept indicating data writing errors, and ended up being the one who told
Maxtor that the real culprits were Apple's G3 firewire ports, which were
screwing the disks. I also ended up having disk first aid (was it 8.x?)
destroy my boot drive on OS update, I had to call a technician), so
naturally, when my OS starts doing strange things, I feel kind of
uncomfortable.
Back to the help Viewer issue, This is what I've alrady done (my apologies,
its a bit longish):
1. checked to see what was going on with the Help Viewer permissions. To my
surprise, the info panel seemed broken. I couldn't even click-select the
type or creator fields.
2. I copied a fresh copy of the Help Viewer from my other ATA drive (I keep
it kind of mirrored with Carbon Copy Cloner). That copy's info panel worked
normally.
3. Ran the script. No deal. System 9 starts.
4. I decided to try and see what happens if I ran the script with Help
Viewer already up. Fine, I worked OK, with the Hello dialog being displayed.
5. Went to the User's Library, preferences, deleted all preferences I could
imagine having some kind of relation with this: Script Editor, help, etc,
even Finder (or maybe, particularly it)
6. Restarted the machine.
7. No deal, script still launches System 9.
8. Went to Disk Utility, and yes, tons of Help Viewer and Help permissions
had to be fixed.
9. Logged out, logged in
10. No deal, still the script launches system 9
11. Read your email and tried the scripts. Every one of the variations you
suggested.
12. No deal. But this time, something different - on script run, I get an
AppleScript error: File application disk:System:Library:CoreServices:Help
Viewer wasn't found. Exactly like this.
13. yet there is a Help Viewer package, with type appl and creator hbwr,
exactly at that location. It opens when solicited (clicking an application's
HELP), and it does its thing when already launched.
14. I have no clue what could be wrong. The scripts run OK on my Pismo with
10.2.3, but the difference is my Pismo doesn't have the Script Editor Beta
2, nor the System Events 1.1.1 installed.
15. This is the only thing wrong with my System, apparently. So far. In any
other way, things run fine. I could install the Dec Dev package in my Pismo
see if I get the same problem, but I'm hesitant (I work for a living like
most here).
16. Remaining options a) could this be caused by my having two System Events
CoreServices files in the same folder? (SE1.1.1. And the newer SE1.2). I'll
try that; b) could it somehow (I dunno how) be related to enabling access
in Universal Acess in order to check out GUI applescrips? 3) Should I just
give up?
17. Curiosity: if i enter "Help" instead of "Help viewer" in the script
editor and click check syntax, it gets replaced by "541.html"
18. I'm gonna run buy a lottery ticket tomorrow
Thanks for the support,
Mike
>
The fact that it worked for you doesn't mean that it works for everyone (it
>
quite evidently doesn't work for Michael), nor does it mean that Michael has
>
some sort of OS corruption. ...
>
set XHelpAppPath to (path to "csrv" as Unicode text) & "Help Viewer"
>
-- or (path to system folder as Unicode text) & "Library:CoreServices:Help
>
Viewer"
>
>
tell application XHelpAppPath
>
launch
>
display dialog "Hello"
>
end tell
>
>
BTW, you may not see that dialog if this does what it should since 'launch'
>
should open it in the background. You'd need 'open' , not 'launch'.
>
>
--
>
Paul Berkowitz
_______________________________________________
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.