• 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
Re: Why does the Script Editor Service do this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why does the Script Editor Service do this?


  • Subject: Re: Why does the Script Editor Service do this?
  • From: Dave Stewart <email@hidden>
  • Date: Fri, 17 Jan 2003 15:51:58 -0800

On Friday, January 17, 2003, at 02:16 PM, it was written (by Michael Cytrynowicz, Paul Berkowitz and Emmanuel):


tell application ("Help Viewer.app" & "")

Clever.

<homer> Mmmm ... Cle-vver ... </homer>

At 4:00 PM -0800 17/01/03, Michael Cytrynowicz wrote:
Emmanuel, I tried:

tell application ("Help Viewer.app" & "")
launch
display dialog "Hello!"
end tell

?!?? It still causes System 9 to lauch!!!!!

<homer> Doh!!! </homer>

That's certainly of little help, but OMM (10.2.1) Michael's script
above launches OSX' Help Viewer.

Hold on a second ...

Am I missing something important here? Michael's original script worked perfectly for me on OSX.2.3, SE1.9:

--Begin Michael's original (problem) script
tell application "Help Viewer"
activate
display dialog "Hello!"
end tell
--End Michael's original (problem) script

The newest posted solution (with "Help Viewer.app" & "") gives me a "Hello" dialog box, but no Help Viewer (I thought it was giving me an error, but now it just tells me the button returned "OK").

I've just copy/pasted these snippets into Script Editor and "Run" them. Is anyone expecting/doing anything different?

FWIW, I haven't seen Classic on any of these snippets yet, so I think Michael has something weird with his configuration/installation/setup or something like that (could some .plist or some config file do something like this?). But I don't pretend to know much, except that I can't reproduce his problem OMM (read "the code seems to be OK???") ...

As a side note, I just noticed that SE1.9 doesn't seem to have any Preferences (Script Editor/Preferences are grayed out). Is that right or did I find a "loose screw" in my app?

(OSX.2.3; Dec Dev tools; SE1.9, AS1.9.1)


Dave Stewart
Aqua-flo (Goleta)
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: Why does the Script Editor Service do this?
      • From: Emmanuel <email@hidden>
    • Re: Why does the Script Editor Service do this?
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: [OT] AppleScript scripts versus Shell scripts
  • Next by Date: Need Root Access to etc/rc
  • Previous by thread: Re: Why does the Script Editor Service do this?
  • Next by thread: Re: Why does the Script Editor Service do this?
  • Index(es):
    • Date
    • Thread