DrewNaylor / UXL-Launcher

An app launcher meant to launch Microsoft Office 2010, 2013, 2016, 2019 desktop software/apps, including ones from Office 365. Not associated with Microsoft.
Apache License 2.0
7 stars 1 forks source link

Allow the user to create new documents via "File>New" submenu. #130

Closed DrewNaylor closed 6 years ago

DrewNaylor commented 6 years ago

Copied from OneNote:

"Allow the user to create new documents via "File>New>New Microsoft Word document" menu item. This takes advantage of the command-line args such as "winword.exe /w" detailed here:

https://support.office.com/en-us/article/command-line-switches-for-microsoft-office-products-079164cd-4ef5-4178-b235-441737deb3a6

There should be other document options as well, including Excel and PowerPoint entries. New Outlook emails should also be supported."

DrewNaylor commented 6 years ago

"mspub /b" is a new, blank Microsoft Publisher document for at least Office 2010. Edit: Also works for 2013 and 2016. blank publisher document

DrewNaylor commented 6 years ago

Archive of Microsoft's page:

https://web.archive.org/web/20180727041558/https://support.office.com/en-us/article/command-line-switches-for-microsoft-office-products-079164cd-4ef5-4178-b235-441737deb3a6#ID0EAABAAA=Excel

DrewNaylor commented 6 years ago

I'm having some trouble with this. I might just wait to do this feature for a while.

DrewNaylor commented 6 years ago

winword /w works for Office 2013 to make a new document. Edit: Also works for 2016 and should work for 2010, but I can't figure out how to turn on the template thing after turning it off.

DrewNaylor commented 6 years ago

powerpnt /b works in Office 2013 for a new, blank presentation. Edit: Also works for 2016 and should work in 2010, but at some point I turned off the backstage view, just like Word and Excel.

DrewNaylor commented 6 years ago

excel /m creates a new workbook with a macro sheet for Office 2016, 2013, and 2010. I might need to add a tooltip to the Excel workbook button so that users know and add some text to the button itself like (with macro sheet).

Microsoft's description of excel /m: "Creates a new workbook that contains a single XLM macro sheet." excel macro file

DrewNaylor commented 6 years ago

outlook /c ipm.note creates a new email and outlook /c ipm.contact creates a new contact in Office 2010, 2013, and 2016, as expected.

DrewNaylor commented 6 years ago

Closed in #132.