Is there any way to do this? Basically, I would like to launch a script
that steps through a few records and executes the 'open url' command. When
complete I would like to have launched a few browser windows, each with a
different url; instead of what is happening now which is simply replacing
each browser window with the next url.
|
|
0
|
|
|
|
Reply
|
Coyle
|
5/4/2004 10:41:15 AM |
|
"Coyle" <Coyle@hotmail.com> wrote in message
news:frKlc.17492$Ut1.526799@bgtnsc05-news.ops.worldnet.att.net...
> Is there any way to do this? Basically, I would like to launch a script
> that steps through a few records and executes the 'open url' command. When
> complete I would like to have launched a few browser windows, each with a
> different url; instead of what is happening now which is simply replacing
> each browser window with the next url.
Not something FileMaker can control - it's an OS/Browser thing, and most
will load to the already running instantiation rather than launching a
new browser...
Cheers
Webko
|
|
0
|
|
|
|
Reply
|
Tim
|
5/4/2004 11:45:25 PM
|
|
Possible solution, depending on many things. List of caveats follows.
1)If this is for a single system solution, or for some sort of internal use
where you have access to each machine it will run on, the following (kludgy
workaround) might fit your needs. (tested on WinXP FMP6)
2) It is pretty much locked to the computer/environment it is created on and may
only work on Windows [I don't think send message works on Macs, but there may be
an alternative].
Instead of simply sending the url, first use the "Send message" to open an
instance of the browser.
In my case, open url always uses internet explorer, regardless of the fact that
Mozilla is my default browser, so I can do the following:
Send message open application iexplore.exe
(pause for 2(?) seconds (to make sure the new window is open)
Send message open URL#1
Send message open application iexplore.exe
(pause for 2(?) seconds (to make sure the new window is open)
Send message open URL#2
Send message open application iexplore.exe
(pause for 2(?) seconds (to make sure the new window is open)
Send message open URL#3
Tah-Dah! Each URL is open in it's own window.
When I said tied to the computer it is created on I was being slightly
over-restrictive. As long as you have your browser stored in the default path
when you specify it, then any similar system should work. You might be able to
specify that the user needs to put a shortcut to explorer in their my documents,
or hope they have one on the desktop? Perhaps you could store the browser path
in a global and force them to insert the path on installation by locating their
explorer?
Kent
(king of the brute force approach)
"Tim 'Webko' Booth" wrote...
> "Coyle" wrote...
> > Is there any way to do this? Basically, I would like to launch a script
> > that steps through a few records and executes the 'open url' command. When
> > complete I would like to have launched a few browser windows, each with a
> > different url; instead of what is happening now which is simply replacing
> > each browser window with the next url.
>
> Not something FileMaker can control - it's an OS/Browser thing, and most
> will load to the already running instantiation rather than launching a
> new browser...
>
> Cheers
>
> Webko
>
>
|
|
0
|
|
|
|
Reply
|
K
|
5/5/2004 12:25:15 AM
|
|
Let FM make a javascript that open a new window for each URL.
Nisse
"Tim 'Webko' Booth" <T.Booth@isu.usyd.edu.au> skrev i meddelandet
news:c799q8$lei$1@spacebar.ucc.usyd.edu.au...
>
> "Coyle" <Coyle@hotmail.com> wrote in message
> news:frKlc.17492$Ut1.526799@bgtnsc05-news.ops.worldnet.att.net...
> > Is there any way to do this? Basically, I would like to launch a script
> > that steps through a few records and executes the 'open url' command.
When
> > complete I would like to have launched a few browser windows, each with
a
> > different url; instead of what is happening now which is simply
replacing
> > each browser window with the next url.
>
> Not something FileMaker can control - it's an OS/Browser thing, and most
> will load to the already running instantiation rather than launching a
> new browser...
>
> Cheers
>
> Webko
>
>
|
|
0
|
|
|
|
Reply
|
niss
|
5/5/2004 12:26:12 AM
|
|
Sorry...
Use an filepluggin to creat the javacode.
The HTML-code to open the window are the same all the time.
Javascript:
function page1(){
window.open("http://[page].htm","winname1","width=900,scrollbars,toolbar,loc
ation,status,directories,menubar,resizable")
}
function page2(){
window.open("http://[page].htm","winname2","width=900,scrollbars,toolbar,loc
ation,status,directories,menubar,resizable")
}
function page3(){
window.open("http://[page].htm","winname3","width=900,scrollbars,toolbar,loc
ation,status,directories,menubar,resizable")
}
function showpage() {
page1();
page2();
page3();
// and so on....
}
-------------------------------------
Save the script on the webserver
Name eg: showit.js
The HTML code:
<HTML>
..........
<script language="JavaScript1.2" src="showit.js"
type="text/javascript"></script>
</HEAD>
<BODY onload="showpage()">
........
</BODY></HTML
<niss@nisse.se> skrev i meddelandet
news:EwWlc.91691$dP1.284394@newsc.telia.net...
> Let FM make a javascript that open a new window for each URL.
>
> Nisse
>
>
>
>
> "Tim 'Webko' Booth" <T.Booth@isu.usyd.edu.au> skrev i meddelandet
> news:c799q8$lei$1@spacebar.ucc.usyd.edu.au...
> >
> > "Coyle" <Coyle@hotmail.com> wrote in message
> > news:frKlc.17492$Ut1.526799@bgtnsc05-news.ops.worldnet.att.net...
> > > Is there any way to do this? Basically, I would like to launch a
script
> > > that steps through a few records and executes the 'open url' command.
> When
> > > complete I would like to have launched a few browser windows, each
with
> a
> > > different url; instead of what is happening now which is simply
> replacing
> > > each browser window with the next url.
> >
> > Not something FileMaker can control - it's an OS/Browser thing, and most
> > will load to the already running instantiation rather than launching a
> > new browser...
> >
> > Cheers
> >
> > Webko
> >
> >
>
>
|
|
0
|
|
|
|
Reply
|
niss
|
5/5/2004 12:49:58 AM
|
|
|
4 Replies
347 Views
(page loaded in 0.088 seconds)
|