Re: applescript and browsers
Re: applescript and browsers
- Subject: Re: applescript and browsers
- From: roncross <email@hidden>
- Date: Mon, 26 Jan 2004 13:00:52 -0700
You can use open location ==> url path. Closing and printing current
windows can probably be done through normal scripting, but resizing
windows will either have to be done with do Javascript (safari only) or
setting bounds on the windows of the particular browser. You will have
to look at the dictionary to see what each browser is capable of doing.
Let me ask you a question. Why don't you just want to use Safari? The
dictionary for Safari supports all the things that you are trying to do.
thx
RLC
On Monday, January 26, 2004, at 10:51 AM, Paul Berkowitz wrote:
On 1/26/04 9:12 AM, "Florian Weber" <email@hidden> wrote:
basically i wonder if following is possible with browsers
other than safari.. for example netscape 4, internet explorer:
open a browser and let it open a specif url..
and if there is a common interface to to basic stuff.. (for
example resize a window, close it, print the current window, etc)
If you just want to open a specific URL in the user's own default
browser,
don't target a specific application at all. Just use the 'open
location'
built-in scripting addition command:
open location http://url.here
If you want to do more than that, you have to target a particular
browser by
name. They each have their own limited AppleScript implementation (or
none)
and they're all different.
--
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.
thanks
Ronald Cross
_______________________________________________
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.