Launching Word.doc files in PACDisplay

SNAP PAC Learning

Launching Word.doc files in PACDisplay


gmitchell 03-11-2008, 10:33 AM

Here is a good question from one of the forum posters.

DO YOU KNOW HOW PULL UP WORD DOCUMENTS INTO A OPTO 22 DISPLAY
I TRIED ALREADY BUT IT SEEMS THAT THE ONLY DOCUMENTS ARE THE EXECUTABLES(.EXE)
PLEASE HELP



Any application can be started by a user through the Operator Driven Attibute, “Launch Application”.  This is typically used to start an executable program by pressing a button in PACDisplay.  It can however also be used to open a specific file associated with an application, for example, opening a specific document within Microsoft Word or opening an pdf file within Adobe Acrobat.

 
The Dynamic Attribute – Launch Application dialog can be opened within the Graphic Dynamic Attributes.  It requires the predefinition of two fields

 
Working Directory – Complete command line path of where to find the application shell file required by the filetype:
e.g.. C:\Program Files\Microsoft Office\OFFICE11

 
Command Line – Name of application shell file and command line of file location
e.g.WINWORD.EXE c:\subvencion.doc

 
Note the space between the application and the file name as its parameter (This assumes that the application allows the specification of the required file to be opened to be specified as a parameter), So now you can open any file directly from PAC Display.  Unless the user has to modify the file, I would suggest converting all documents to Adobe Acrobat and use the acrobat reader.  This reduces document size dramatically and the time needed to load the document and reader.

 

So now the Opto Forum has solved your problem, please delete your three other entries where you have requested an answer to the same question in different Forum areas.  This is not the way to get help.  Its not fair to other members that you have attached your question to multiple threads of completely different subjects and are "bombing" the Forum with the same question.  Thanks

Re: Launching Word.doc files in PACDisplay


gmitchell 04-14-2008, 1:06 AM

Dear GMITCHELL thanks for your help but I still can't open a specific folder from my documents the only thing I can open is winword.exe



Your question was how to pull up a word document into a Opto22 Display.  In the above example c:\subvencion.doc is the name of a specific file that you want to open.  In the case that the file and/or directory path does not exist on your computer or has been removed then the word application is stated up with a blank document which is probably what is happening.

From your latest response, it now appears that your requirement is not to pull up a word document, but to know how to start the windows explorer application and limit it to view files in a specific directory.  This is not an Opto related question, and should be directed to a general Windows Forum.  The Opto Forum is to debate and request help on Opto22 related issues not Microsoft related command line issues.

Following on from the above explanation, try the following in the Command Line option under Dynamic Attribute – Launch Application
 
C:\WINDOWS\explorer.exe /e, /root, C:\Test

This assumes that:
1) You have Microsoft Windows installed in the folder C:\WINDOWS
2)  That this folder contains the application explorer.exe
3)  There exists a folder C:\Test in the PC which is running OptoDisplay.
If any of the above are different you will obviously need to change the command line accordingly.

The result is to open the windows explorer and limit it to the specified folder and subdirectories.  I presume this is what you want to know!

SECOND REQUEST. So now the Opto Forum has solved your problem, please delete your three other entries where you have requested an answer to the same question in different Forum areas.  This is not the way to get help.  Its not fair to other members that you have attached your question to multiple threads of completely different subjects and are "bombing" the Forum with the same question.  Thanks






Powered by Community Server, by Telligent Systems