dbTalk Databases Forums  

Opening Word Pro 97 docs with SEND Event script in Windows

comp.databases.filemaker comp.databases.filemaker


Discuss Opening Word Pro 97 docs with SEND Event script in Windows in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AL Lawrance
 
Posts: n/a

Default Opening Word Pro 97 docs with SEND Event script in Windows - 04-26-2005 , 02:15 AM






Hi Folks:

I can open a Word Pro 97 file using the SEND EVENT script (with the relative
path of the file stored in a text field as Account/File1.doc)) as long as I
open the FMPro 7 database within its directory. If I place a shortcut on
the desktop and open the database the relative file reference does not work.

I also tried: file:/C:/Program Files/FMDatabase/Account/File1.doc
as the full path ... with no luck.

Any help would be greatly appreciated in resolving this problem.

Regards,

Al Lawrance



Reply With Quote
  #2  
Old   
ursus.kirk
 
Posts: n/a

Default Re: Opening Word Pro 97 docs with SEND Event script in Windows - 04-26-2005 , 06:13 AM






Try the open URL script step with full path

Ursus


"AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht
news:LUlbe.1136382$6l.1019298 (AT) pd7tw2no (DOT) ..
Quote:
Hi Folks:

I can open a Word Pro 97 file using the SEND EVENT script (with the
relative
path of the file stored in a text field as Account/File1.doc)) as long as
I
open the FMPro 7 database within its directory. If I place a shortcut on
the desktop and open the database the relative file reference does not
work.

I also tried: file:/C:/Program Files/FMDatabase/Account/File1.doc
as the full path ... with no luck.

Any help would be greatly appreciated in resolving this problem.

Regards,

Al Lawrance





Reply With Quote
  #3  
Old   
AL Lawrance
 
Posts: n/a

Default Re: Opening Word Pro 97 docs with SEND Event script in Windows - 04-26-2005 , 12:32 PM




"ursus.kirk" <secret (AT) nowhere (DOT) com> wrote

Quote:
Try the open URL script step with full path
Tried the URL approach ... same result as SEND EVENT script discussed below.


Quote:
Ursus


"AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht
news:LUlbe.1136382$6l.1019298 (AT) pd7tw2no (DOT) ..
Hi Folks:

I can open a Word Pro 97 file using the SEND EVENT script (with the
relative
path of the file stored in a text field as Account/File1.doc)) as long
as
I
open the FMPro 7 database within its directory. If I place a shortcut
on
the desktop and open the database the relative file reference does not
work.

I also tried: file:/C:/Program
Files/FMDatabase/Account/File1.doc
as the full path ... with no luck.

Any help would be greatly appreciated in resolving this problem.

Regards,

Al Lawrance







Reply With Quote
  #4  
Old   
Jeroen Aarts
 
Posts: n/a

Default Re: Opening Word Pro 97 docs with SEND Event script in Windows - 04-26-2005 , 04:52 PM



On Windows for the full path you have to use

filewin:/C:/Program Files/FMDatabase/Account/File1.doc

This will work



Jeroen Aarts

*-*-*-*-*-*-*-*-*-*-*
Tasty Bytes
www.tastybytes.be
*-*-*-*-*-*-*-*-*-*-*

"AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> wrote

Quote:
Hi Folks:

I can open a Word Pro 97 file using the SEND EVENT script (with the
relative
path of the file stored in a text field as Account/File1.doc)) as long as
I
open the FMPro 7 database within its directory. If I place a shortcut on
the desktop and open the database the relative file reference does not
work.

I also tried: file:/C:/Program Files/FMDatabase/Account/File1.doc
as the full path ... with no luck.

Any help would be greatly appreciated in resolving this problem.

Regards,

Al Lawrance





Reply With Quote
  #5  
Old   
AL Lawrance
 
Posts: n/a

Default Re: Opening Word Pro 97 docs with SEND Event script in Windows - 04-26-2005 , 09:40 PM




"Jeroen Aarts" <jeraarts (AT) NSantwerpen (DOT) be> wrote

Quote:
On Windows for the full path you have to use

filewin:/C:/Program Files/FMDatabase/Account/File1.doc

This will work

Error Message 100 no longer appears but WORD does not open the File1.doc

Any other ideas???

Al
Quote:

Jeroen Aarts

*-*-*-*-*-*-*-*-*-*-*
Tasty Bytes
www.tastybytes.be
*-*-*-*-*-*-*-*-*-*-*

"AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> wrote in message
news:LUlbe.1136382$6l.1019298 (AT) pd7tw2no (DOT) ..
Hi Folks:

I can open a Word Pro 97 file using the SEND EVENT script (with the
relative
path of the file stored in a text field as Account/File1.doc)) as long
as
I
open the FMPro 7 database within its directory. If I place a shortcut
on
the desktop and open the database the relative file reference does not
work.

I also tried: file:/C:/Program
Files/FMDatabase/Account/File1.doc
as the full path ... with no luck.

Any help would be greatly appreciated in resolving this problem.

Regards,

Al Lawrance







Reply With Quote
  #6  
Old   
ursus.kirk
 
Posts: n/a

Default Re: Opening Word Pro 97 docs with SEND Event script in Windows - 04-27-2005 , 01:19 PM



Read your question again. If I now understand correctly you want to open a
shortcut, pointing to a file. not the file itself.

Now pointing to a link does change sthe filename. You no longer point to
c:\MyMap\MyDoc.doc, but have to ad dot lnk to it, opening the file
c:\MyMap\MyDoc.doc.lnk

Ursus

"AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht
news:6Xube.1136406$Xk.113959 (AT) pd7tw3no (DOT) ..
Quote:
"ursus.kirk" <secret (AT) nowhere (DOT) com> wrote in message
news:426e2256$0$38797$dbd43001 (AT) news (DOT) wanadoo.nl...
Try the open URL script step with full path

Tried the URL approach ... same result as SEND EVENT script discussed
below.


Ursus


"AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht
news:LUlbe.1136382$6l.1019298 (AT) pd7tw2no (DOT) ..
Hi Folks:

I can open a Word Pro 97 file using the SEND EVENT script (with the
relative
path of the file stored in a text field as Account/File1.doc)) as long
as
I
open the FMPro 7 database within its directory. If I place a shortcut
on
the desktop and open the database the relative file reference does not
work.

I also tried: file:/C:/Program
Files/FMDatabase/Account/File1.doc
as the full path ... with no luck.

Any help would be greatly appreciated in resolving this problem.

Regards,

Al Lawrance









Reply With Quote
  #7  
Old   
AL Lawrance
 
Posts: n/a

Default Re: Opening Word Pro 97 docs with SEND Event script in Windows - 04-27-2005 , 10:13 PM




"ursus.kirk" <secret (AT) nowhere (DOT) com> wrote

Quote:
Read your question again. If I now understand correctly you want to open a
shortcut, pointing to a file. not the file itself.
No ... when I open the database file by double-clicking the file name in its
directory the SEND EVENT script works because the doc files are nested in
folders inside the database's folder.

However, if I make a desktop shortcut of the database file ... and launch
the application from this shortcut residing on the desktop, the SEND EVENT
script does not open the doc file like it did when the database was opened
in its folder. It comes up with an error 3 when
filewin:/c:/DatabasefolderName/Accounts/Account1.doc is used as the absolute
path in Windows.

Al
Quote:
Now pointing to a link does change sthe filename. You no longer point to
c:\MyMap\MyDoc.doc, but have to ad dot lnk to it, opening the file
c:\MyMap\MyDoc.doc.lnk

Ursus

"AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht
news:6Xube.1136406$Xk.113959 (AT) pd7tw3no (DOT) ..

"ursus.kirk" <secret (AT) nowhere (DOT) com> wrote in message
news:426e2256$0$38797$dbd43001 (AT) news (DOT) wanadoo.nl...
Try the open URL script step with full path

Tried the URL approach ... same result as SEND EVENT script discussed
below.


Ursus


"AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht
news:LUlbe.1136382$6l.1019298 (AT) pd7tw2no (DOT) ..
Hi Folks:

I can open a Word Pro 97 file using the SEND EVENT script (with the
relative
path of the file stored in a text field as Account/File1.doc)) as
long
as
I
open the FMPro 7 database within its directory. If I place a
shortcut
on
the desktop and open the database the relative file reference does
not
work.

I also tried: file:/C:/Program
Files/FMDatabase/Account/File1.doc
as the full path ... with no luck.

Any help would be greatly appreciated in resolving this problem.

Regards,

Al Lawrance











Reply With Quote
  #8  
Old   
ursus.kirk
 
Posts: n/a

Default Re: Opening Word Pro 97 docs with SEND Event script in Windows - 04-28-2005 , 03:30 AM



Now this is realy strange, an error 3 means: Command is unavailable (for
example, wrong operating system, wrong mode, etc)

One more shot: opening the properties of the shortcut there is an entry box
which says Start In (or something similar). Has this properly been filled?
(The path where the original file resides should be in here.

Ursus

"AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht
news:OxYbe.1146789$6l.32067 (AT) pd7tw2no (DOT) ..
Quote:
"ursus.kirk" <secret (AT) nowhere (DOT) com> wrote in message
news:426fd867$0$13442$dbd43001 (AT) news (DOT) wanadoo.nl...
Read your question again. If I now understand correctly you want to open
a
shortcut, pointing to a file. not the file itself.

No ... when I open the database file by double-clicking the file name in
its
directory the SEND EVENT script works because the doc files are nested in
folders inside the database's folder.

However, if I make a desktop shortcut of the database file ... and launch
the application from this shortcut residing on the desktop, the SEND EVENT
script does not open the doc file like it did when the database was opened
in its folder. It comes up with an error 3 when
filewin:/c:/DatabasefolderName/Accounts/Account1.doc is used as the
absolute
path in Windows.

Al

Now pointing to a link does change sthe filename. You no longer point to
c:\MyMap\MyDoc.doc, but have to ad dot lnk to it, opening the file
c:\MyMap\MyDoc.doc.lnk

Ursus

"AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht
news:6Xube.1136406$Xk.113959 (AT) pd7tw3no (DOT) ..

"ursus.kirk" <secret (AT) nowhere (DOT) com> wrote in message
news:426e2256$0$38797$dbd43001 (AT) news (DOT) wanadoo.nl...
Try the open URL script step with full path

Tried the URL approach ... same result as SEND EVENT script discussed
below.


Ursus


"AL Lawrance" <ajlawrance (AT) shaw (DOT) ca> schreef in bericht
news:LUlbe.1136382$6l.1019298 (AT) pd7tw2no (DOT) ..
Hi Folks:

I can open a Word Pro 97 file using the SEND EVENT script (with the
relative
path of the file stored in a text field as Account/File1.doc)) as
long
as
I
open the FMPro 7 database within its directory. If I place a
shortcut
on
the desktop and open the database the relative file reference does
not
work.

I also tried: file:/C:/Program
Files/FMDatabase/Account/File1.doc
as the full path ... with no luck.

Any help would be greatly appreciated in resolving this problem.

Regards,

Al Lawrance













Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.