• 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: Plz Help !
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plz Help !


  • Subject: Re: Plz Help !
  • From: Graff <email@hidden>
  • Date: Wed, 26 Nov 2003 08:28:10 -0500

Unfortunately this is a mailing list for AppleScript, a scripting system native to the Mac OS, not a list for using JavaScript on the Mac. So you are not likely to get any answer to this problem through this list.

For the kind of scripting you are asking about you are probably best off using this list:
<http://www.lists.apple.com/mailman/listinfo/web-development>

There is also this web page which seems to be related to what you are asking:
<http://www.oreillynet.com/lpt/a/javascript/2001/05/11/js_for_mac.html>

It suggests that you should be calling:
Core.message("Hello World!");
instead of
MacOS.finder().display_dialog("Hello World");

To bring up a dialog box that says "Hello World".

- Ken

On Nov 26, 2003, at 2:52 AM, Bala Kanchana wrote:

Sirs

this HTML file when opened thru Netscape throws error as
"MacOS" not
defined....Can anybody plz help me.

<html lang="en">
<head>
<script>
function
Sample_Func()
{
MacOS.finder().display_dialog("Hello World");
}
</script>
<title>Welcome</title>
</head>
<body>
<p>This is a <a href=#
onclick="Sample_Func()">link</a>.</p>
</body>
</html>
_______________________________________________
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.

  • Prev by Date: Re: Entourage drop box to send files
  • Next by Date: RE: deleting text
  • Previous by thread: Re: Accessing Tabs in Safari
  • Next by thread: Re: Plz Help !
  • Index(es):
    • Date
    • Thread