Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: How to open a .pdf outside Stata with a Stata command


From   Jeph Herrin <[email protected]>
To   [email protected]
Subject   Re: st: How to open a .pdf outside Stata with a Stata command
Date   Tue, 18 Dec 2012 11:24:30 -0500

In what sense are you trying to "open" the PDF? It's fairly straightforward to call, for example, Adobe Acrobat from within Stata to view a PDF file. You can store most of it in a macro even:

 global adobe "winexec C:/<your path>/Acrobat/reader.exe"

 $adobe myfile.pdf


hth,
Jeph


On 12/18/2012 10:53 AM, Richard Svensson wrote:
I read about a user-written program that enable the Stata-user to control iTunes on a Mac computer, and another program that makes it possible to Google-search inside Stata. So it seems that it's possible (at least on Mac) to control other softwares from Stata.

What I am looking for, or trying to write, is a Stata-command that open a file (.pdf) outside Stata.

Do you know of any way to solve this? Or do you know where I might find information about this in my
struggle with this problem? Any important key words that might help me?

Richard Svensson
The QoG Institute
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index