Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[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 <stata@spandrel.net>
To   statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index