• 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: Netscape Communicator - new window with properties?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Netscape Communicator - new window with properties?


  • Subject: Re: Netscape Communicator - new window with properties?
  • From: Charles Arthur <email@hidden>
  • Date: Mon, 18 Mar 2002 16:03:48 +0000

On Sat, 16 Mar 2002 22:06:19 -0500, Rob Jorgensen <email@hidden> wrote:

>Someone has asked me to write a script for Netscape Communicator but
>I do not have Communicator installed. I wrote a suitable script for
>Navigator, but it doesn't work in Communicator.
>
>Problem: Client has a script which:
>
>opens a new document (window)
>sets the position of new window to {894, 50, 99, 0}
>opens aURL in the new window
>
>He doesn't want to see the new windows jump from their default
>position to the target position. So...
>
>Is it possible to have Communicator create a new window with
>properties {position:{894, 50, 99, 0}, URL:aURL}? If not with a URL,
>I can work around that.

The dictionary for Communicator shows that for window the properties include
URL string [r/o] -- Current URL

seems a bit hard to set it. Wd have thought that you will have to set the
properties of a new window
and then use GetURL
GetURL string -- The url
[to file specification] -- file the URL should be loaded
into
[inside reference] -- Window the URL should be loaded to
[from string] -- Referrer, to be sent with the HTTP request

As for not seeing windows move about (the horror!) you could always tell
the Finder to set visible of Navigator [or processes with its creator code]
to false and then put up a dialogue... something like..

display dialog "performing multi-variant desequencing to load window, code
(c) Rob Jorgensen" giving up after 6 buttons "Wow! I'd better not interrupt
that!"

Charles

----------------------------
http://www.ukclimbing.com : 1100+ British crags, 350+ British climbing
walls - searchable by distance and anything else you care to think of -
with weather forecasts for every one, plus maps, articles, news and
features. And there's even a cool shop attached.



________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
_______________________________________________
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: Open files
  • Next by Date: Re: Netscape Communicator - new window with properties?
  • Previous by thread: Netscape Communicator - new window with properties?
  • Next by thread: Re: Netscape Communicator - new window with properties?
  • Index(es):
    • Date
    • Thread