"Open URL" script problems

  • Follow


Can anyone help me with a scripting problem please?

I'm trying to use the "Open url" script to open a file pathway to a
..pdf file.
The file pathway is saved in a normal field and I just direct the open
url to that field.

It works great with files saved on my computer but it doesn't work with
files saved on the server.  I perform the script and it doesn't do
anything???

I'm using FMpro 6 with FM server on a Mac OS10.3.

Here is my pathway for a file saved on the server. (doesn't work)

file://Groups/Mason/Catalogs/Prints/Tanks/06571.pdf


Here is the pathway for the file saved on my computer (This works)

file://Macintosh HD/Users/mason/Desktop/Prints/06571.pdf

Any ideas?

Thank you.
I get the same result if I hard code it in the script as well.

0
Reply zero1884 (4) 2/15/2005 5:47:48 PM

the server also needs to be in your path statement

<zero1884@yahoo.com> schreef in bericht 
news:1108489668.472098.281460@g14g2000cwa.googlegroups.com...
> Can anyone help me with a scripting problem please?
>
> I'm trying to use the "Open url" script to open a file pathway to a
> .pdf file.
> The file pathway is saved in a normal field and I just direct the open
> url to that field.
>
> It works great with files saved on my computer but it doesn't work with
> files saved on the server.  I perform the script and it doesn't do
> anything???
>
> I'm using FMpro 6 with FM server on a Mac OS10.3.
>
> Here is my pathway for a file saved on the server. (doesn't work)
>
> file://Groups/Mason/Catalogs/Prints/Tanks/06571.pdf
>
>
> Here is the pathway for the file saved on my computer (This works)
>
> file://Macintosh HD/Users/mason/Desktop/Prints/06571.pdf
>
> Any ideas?
>
> Thank you.
> I get the same result if I hard code it in the script as well.
> 


0
Reply ursus 2/15/2005 10:02:24 PM


Any idea what it would look like?  
Thank you.

0
Reply zero1884 2/15/2005 10:14:00 PM

you can either use the DNS-name or use the IP-adress. When your hostcomputer 
has the name myhost.com and the IP-adress is 195.191.0.0

file://195.191.0.0/MyDisk/MyPath/MyFile.pdf

or something lile

file://myhost.com/mydisk/mypath/myfile.pdf

try looking at the helpfile, search the word: server
<zero1884@yahoo.com> schreef in bericht 
news:1108505640.154257.260210@g14g2000cwa.googlegroups.com...
> Any idea what it would look like?
> Thank you.
> 


0
Reply ursus 2/16/2005 7:23:57 PM

Got it.  Thanks

It was    file:///volumes/Groups/Mason.....

0
Reply zero1884 2/18/2005 9:47:46 PM

4 Replies
221 Views

(page loaded in 0.587 seconds)

Similiar Articles:













7/28/2012 1:01:56 AM


Reply: