rendering the # character in a Mac Open URL Script Step

rendering the # character in a Mac Open URL Script Step

am 27.08.2007 23:54:52 von Gareth.Denyer

I'm using the Open URL Script Step to build a URL.based on a field
value

The base of the URL contains the # character, eg. "http://
xmap.picr.man.ac.uk/#"

Unfortunately, althogth the URL builds nicely on a PC, on an Mac the #
character is rendered as %23... and, of course, this is not correctly
interpreted by the browser.

Any tips on how I can force the Mac to build the URL with the # and
not make it into %23

Re: rendering the # character in a Mac Open URL Script Step

am 28.08.2007 01:21:29 von Christoph Bouthillier

schrieb im Newsbeitrag
news:1188251692.557438.192020@x40g2000prg.googlegroups.com.. .
> I'm using the Open URL Script Step to build a URL.based on a field
> value
>
> The base of the URL contains the # character, eg. "http://
> xmap.picr.man.ac.uk/#"
>
> Unfortunately, althogth the URL builds nicely on a PC, on an Mac the #
> character is rendered as %23... and, of course, this is not correctly
> interpreted by the browser.
>
> Any tips on how I can force the Mac to build the URL with the # and
> not make it into %23



Gareth,

just a possible thought - fill a global (text) with "#" and composee the URL
from a calc whose last character is that global.

*Maybe* this helps.

---
Met vriendelijke groet / Mit freundlichen Gruessen / With kind regards
Christoph Bouthillier
p/o\s/t atsign ohnotekstotaaloh nocom
Leave out: \ / oh no
---

Re: rendering the # character in a Mac Open URL Script Step

am 28.08.2007 08:51:36 von ursus.kirk

> schrieb im Newsbeitrag
> news:1188251692.557438.192020@x40g2000prg.googlegroups.com.. .
>> I'm using the Open URL Script Step to build a URL.based on a field
>> value
>>
>> The base of the URL contains the # character, eg. "http://
>> xmap.picr.man.ac.uk/#"
>>
>> Unfortunately, althogth the URL builds nicely on a PC, on an Mac the #
>> character is rendered as %23... and, of course, this is not correctly
>> interpreted by the browser.
>>
>> Any tips on how I can force the Mac to build the URL with the # and
>> not make it into %23
>
>
>
> Gareth,
>
> just a possible thought - fill a global (text) with "#" and composee the
> URL from a calc whose last character is that global.
>
> *Maybe* this helps.
>

Try the Quote function. Quote("abc\¶") returns "abc\¶" (found in the
help-file)

Keep well, Ursus

Re: rendering the # character in a Mac Open URL Script Step

am 28.08.2007 22:51:35 von Helpful Harry

In article <46d3c5f4$0$65140$dbd4f001@news.wanadoo.nl>, "Ursus"
wrote:

> > schrieb im Newsbeitrag
> > news:1188251692.557438.192020@x40g2000prg.googlegroups.com.. .
> >> I'm using the Open URL Script Step to build a URL.based on a field
> >> value
> >>
> >> The base of the URL contains the # character, eg. "http://
> >> xmap.picr.man.ac.uk/#"
> >>
> >> Unfortunately, althogth the URL builds nicely on a PC, on an Mac the #
> >> character is rendered as %23... and, of course, this is not correctly
> >> interpreted by the browser.
> >>
> >> Any tips on how I can force the Mac to build the URL with the # and
> >> not make it into %23
> >
> > Gareth,
> >
> > just a possible thought - fill a global (text) with "#" and composee the
> > URL from a calc whose last character is that global.
> >
> > *Maybe* this helps.
> >
>
> Try the Quote function. Quote("abc\¶") returns "abc\¶" (found in the
> help-file)
>
> Keep well, Ursus

The "#" at the end of a URL usually means the browser has to run a
script, so that URL may or may not work from within FileMaker anyway.

Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)

Re: rendering the # character in a Mac Open URL Script Step

am 31.08.2007 01:08:54 von Gareth.Denyer

On Aug 29, 6:51 am, Helpful Harry
wrote:
> In article <46d3c5f4$0$65140$dbd4f...@news.wanadoo.nl>, "Ursus"
>
>
>
> wrote:
> > > schrieb im Newsbeitrag
> > >news:1188251692.557438.192020@x40g2000prg.googlegroups.com. ..
> > >> I'm using the Open URL Script Step to build a URL.based on a field
> > >> value
>
> > >> The base of the URL contains the # character, eg. "http://
> > >> xmap.picr.man.ac.uk/#"
>
> > >> Unfortunately, althogth the URL builds nicely on a PC, on an Mac the=
#
> > >> character is rendered as %23... and, of course, this is not correctly
> > >> interpreted by the browser.
>
> > >> Any tips on how I can force the Mac to build the URL with the # and
> > >> not make it into %23
>
> > > Gareth,
>
> > > just a possible thought - fill a global (text) with "#" and composee =
the
> > > URL from a calc whose last character is that global.
>
> > > *Maybe* this helps.
>
> > Try the Quote function. Quote("abc\=B6") returns "abc\=B6" (found in the
> > help-file)
>
> > Keep well, Ursus
>
> The "#" at the end of a URL usually means the browser has to run a
> script, so that URL may or may not work from within FileMaker anyway.
>
> Helpful Harry
> Hopefully helping harassed humans happily handle handiwork hardships ;o)

Thanks Harry... The script works really well in the PC, so the hash
is not the problem.

Re: rendering the # character in a Mac Open URL Script Step

am 31.08.2007 01:15:52 von Gareth.Denyer

On Aug 28, 9:21 am, "Christoph Bouthillier"
wrote:
> schrieb im Newsbeitragnews:1188251692.557438.192020@x40g2000prg.googleg roups.com...
>
> > I'm using the Open URL Script Step to build a URL.based on a field
> > value
>
> > The base of the URL contains the # character, eg. "http://
> > xmap.picr.man.ac.uk/#"
>
> > Unfortunately, althogth the URL builds nicely on a PC, on an Mac the #
> > character is rendered as %23... and, of course, this is not correctly
> > interpreted by the browser.
>
> > Any tips on how I can force the Mac to build the URL with the # and
> > not make it into %23
>
> Gareth,
>
> just a possible thought - fill a global (text) with "#" and composee the URL
> from a calc whose last character is that global.
>
> *Maybe* this helps.
>
> ---
> Met vriendelijke groet / Mit freundlichen Gruessen / With kind regards
> Christoph Bouthillier
> p/o\s/t atsign ohnotekstotaaloh nocom
> Leave out: \ / oh no
> ---

Thanks Chris... excellent suggestion! It works!

Re: rendering the # character in a Mac Open URL Script Step

am 31.08.2007 01:16:52 von Gareth.Denyer

On Aug 28, 4:51 pm, "Ursus" wrote:
> > schrieb im Newsbeitrag
> >news:1188251692.557438.192020@x40g2000prg.googlegroups.com. ..
> >> I'm using the Open URL Script Step to build a URL.based on a field
> >> value
>
> >> The base of the URL contains the # character, eg. "http://
> >> xmap.picr.man.ac.uk/#"
>
> >> Unfortunately, althogth the URL builds nicely on a PC, on an Mac the #
> >> character is rendered as %23... and, of course, this is not correctly
> >> interpreted by the browser.
>
> >> Any tips on how I can force the Mac to build the URL with the # and
> >> not make it into %23
>
> > Gareth,
>
> > just a possible thought - fill a global (text) with "#" and composee the
> > URL from a calc whose last character is that global.
>
> > *Maybe* this helps.
>
> Try the Quote function. Quote("abc\=B6") returns "abc\=B6" (found in the
> help-file)
>
> Keep well, Ursus

Ah, yes,... that's a neat function... thanks Ursus!