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: User menu: link to external file
From
Luca Campanelli <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: User menu: link to external file
Date
Sat, 29 Oct 2011 20:46:35 +0100 (BST)
thank you so much, Nick. It works. Correct, my OS is MS Windows.
Below is what I put into my "profile.do" - it may help other people.
Luca
**************************************
* Luca's menu: link to my notes
window menu clear
window menu append submenu "stUser" "Luca"
window menu append item "Luca" "notes" "winexec C:\Programmi\Microsoft Office\Office12\WINWORD.EXE E:\Stats\_Stata_myNotes.docx"
window menu refresh
**************************************
-------- Original Message --------
At a wild guess your operating system is MS WIndows. Have a look at
the -winexec- command. Nick On Sat, Oct 29, 2011 at 5:48 PM, Luca Campanelli <[email protected]> wrote: > I'd like to add a link in the User menu of Stata12 to an external file (for example a PDF file or a microsoft word file with my notes).
> The lines below do almost everything, I would just need to know the command to open (not in Stata) an external file.
*
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/