In FM how do you test for the browser? I have a script step:
set field [global::url,"
http://my.host.IP?"& "addr=serializedlist"
So I thought of:
if (get(systemplatform =-2))
set field [globals::myglobalurl,"my.host.IP?"& "addr=serializedlist"
else
set field [global::url,"
http://my.host.IP?"& "addr=serializedlist"
end if
set variable[$$url;globals::myglobalurl]
which is better than nothing
This isn't optimial because you could have firefox on a Windows platform.
Also I have a separate script that uses the $$url var.
Go to url[no dialog,$$urll] this only works on the mac not the pc. In this case do I need to add back in the http:// ?
thanks,
Janis L. Rough
--- On Mon, 11/2/09, Michael Gilman <
[hidden email]> wrote:
> From: Michael Gilman <
[hidden email]>
> Subject: Re: Open URL script step works in Firefox but not I.E.?
> To: "FileMaker Talk" <
[hidden email]>
> Date: Monday, November 2, 2009, 7:11 PM
> yes explorer does automatically add
> http:// So you should test to see
> which browser you are using and then change your variable
> as
> necessary.
>
> Michael Gilman
>
>
> On Mon, Nov 2, 2009 at 7:06 PM, Janis Rough <
[hidden email]>
> wrote:
> > Its kind of an off problem but it works in Firefox and
> not I.E.
> >
> > I have the script step:
> > Open URL [No dialog:$$url]
> > I checked in the View Data window of the debugger and
> the url value is correct.
> > It opens the url correctly in Firefox but not in I.E.
> > In I.E. it does something weird.
> > It adds an
http://%22http://99.170.XX.XXX/myphp.php?addr=serialized> address list.
> > I can't figure out where the "
http://%22" is coming from.
> > In I.E. security I have unchecked https for ssl.
> > I also added my IP address to the trusted sites.
> Does I.E. add the http:// already?
> >
> > I don't think the issue is that the url is too long.
> I have a short address list. It seems to be qualifying
> he url I give it with http:// and I think the %22 is the
> colon.
> > Thaks,
> >
> > Janis L. Rough
> >
> >
> > --
> > This list is a free service of LassoSoft:
http://www.LassoSoft.com/> > Search the list archives:
http://www.ListSearch.com/FileMaker/Browse/> > Manage your subscription:
http://www.ListSearch.com/FileMaker/> >
> >
> >
>
> --
> This list is a free service of LassoSoft:
http://www.LassoSoft.com/> Search the list archives:
http://www.ListSearch.com/FileMaker/Browse/> Manage your subscription:
http://www.ListSearch.com/FileMaker/>
>
>
--
This list is a free service of LassoSoft:
http://www.LassoSoft.com/Search the list archives:
http://www.ListSearch.com/FileMaker/Browse/Manage your subscription:
http://www.ListSearch.com/FileMaker/