G
Generic Admin
I have a user that simply wants to view EPS files. I've tried out
Ghostview and one other (sorry, can't remember the name), but they
were a little buggy and annoying with the nag screens. Since there is
an EPS converter for Microsoft Word, I am trying to create a macro
that works in conjunction with a custom 'File Type' to open and
convert the EPS file simply by double-clicking it.
I ran across numerous macroes that will go immediately to the 'Insert
Picture' dialog when ran. I then create a shortcut using the /m
switch so the user can just double-click that to immediately open Word
and then select the file to open. However, I want to make it as
simple as possible. I want to take it one step further.
By going into File Types, I can see a little bit of how a file is
opened based on its extension. For example, for the default
'Application used to perform action:' in 'Open' for DOC file types, I
have: "D:\Microsoft Office\Office10\WINWORD.EXE" /n /dde "%1". The
'%1' is a variable of sorts that I'm assuming is the filename passed
when you double-click a DOC file. Is there a way I can use that
variable in a macro? I am also assuming I would need to use the /m
switch on the same line in order to invoke the macro.
Ghostview and one other (sorry, can't remember the name), but they
were a little buggy and annoying with the nag screens. Since there is
an EPS converter for Microsoft Word, I am trying to create a macro
that works in conjunction with a custom 'File Type' to open and
convert the EPS file simply by double-clicking it.
I ran across numerous macroes that will go immediately to the 'Insert
Picture' dialog when ran. I then create a shortcut using the /m
switch so the user can just double-click that to immediately open Word
and then select the file to open. However, I want to make it as
simple as possible. I want to take it one step further.
By going into File Types, I can see a little bit of how a file is
opened based on its extension. For example, for the default
'Application used to perform action:' in 'Open' for DOC file types, I
have: "D:\Microsoft Office\Office10\WINWORD.EXE" /n /dde "%1". The
'%1' is a variable of sorts that I'm assuming is the filename passed
when you double-click a DOC file. Is there a way I can use that
variable in a macro? I am also assuming I would need to use the /m
switch on the same line in order to invoke the macro.