Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Graphics / December 2003

Tip: Looking for answers? Try searching our database.

Loading EPS file into Word automatically?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Generic Admin - 08 Dec 2003 18:01 GMT
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.
Suzanne S. Barnhill - 08 Dec 2003 23:19 GMT
Word cannot *open* EPS files; it can only *import* them using Insert |
Picture | From File. It has graphics import filters for them but not file
conversion filters.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Signature

Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


> 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
[quoted text clipped - 17 lines]
> 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.
Generic Admin - 09 Dec 2003 14:05 GMT
> Word cannot *open* EPS files; it can only *import* them using Insert |
> Picture | From File. It has graphics import filters for them but not file
[quoted text clipped - 3 lines]
> Suzanne S. Barnhill
> Microsoft MVP (Word)

Well I know that, but what I'm trying to do is workaround that
seemingly arbitrary limitation.  The question still stands.. how can I
pass the variable used in File Types through to a macro within Word
(DDE?).
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.