How do I make TaskPaper restore open documents when it starts?


#1

TaskPaper will remember documents that are open when you quit, and restore them when you next open TaskPaper.

  1. This feature requires that you quit TaskPaper with open documents. If you close the documents first, and then quit TaskPaper it won’t work.

  2. If this feature doesn’t seem to be working make sure that System Preferences > General > Close windows when quitting an app is not checked.

If you prefer some apps to remember their open documents, and other apps to forget, you can set this setting on individual apps as described in this article:

Note Some of the tips in the comments below refer to com.hogbaysoftware.TaskPaper3. That is appropriate if you are using the Mac App Store version of TaskPaper. If you are using the direct download version of TaskPaper you will need to use com.hogbaysoftware.TaskPaper3.direct instead.


TaskPaper Frequently Asked Questions
Preserve current fold and focus when closing a file?
Taskpaper does not reopen documents on 10.10
Auto open last opened files when start app
File(s) to open by default?
3.3.2 doesn't restore state after restart
TaskPaper 3.5 Preview (237)
Task paper loads my.taskpaper file by default
WriteRoom resume function
Open multiple files in tabs, as a group?
Re-open previous files and remember window sizes
Why didn't open recent task?
Build 153 input
TaskPaper 3 doesn't remember window positions
#2

… or, the other way around, leave “Close windows etc” checked and type in Terminal:

defaults write com.[Vendor].[AppName] NSQuitAlwaysKeepsWindows -bool true

changing it as needed for each app you want to re-open its windows on launch


#3

Well this look good - but… what will I have to type in for TaskPaper to work? I tryed …hogbaysoftware.TaskPaper… but nothing changed.

Thanks!


#4

You need: com.hogbaysoftware.TaskPaper3


#5

Thanks! Worked like a charm!


#6

For the record, and for those who just want to copy & paste, this is the command that worked for me:

  • Quit Taskpaper,

  • Paste this in the terminal:

    defaults write com.hogbaysoftware.TaskPaper3 NSQuitAlwaysKeepsWindows -bool true


#7

So I tried

defaults write com.hogbaysoftware.TaskPaper NSQuitAlwaysKeepsWindows -bool true

in the Terminal after quitting TaskPaper. I reopened TP, pulled up a file, exited, reopened TP, and it doesn’t seem to work. I am running FoldingText 2.2 and Sierra 10.12.

Any ideas?


#8

Two things… first you need com.hogbaysoftware.TaskPaper3 instead of com.hogbaysoftware.TaskPaper.

Second if you are using the direct download version (instead of Mac App Store version) you’ll need to use com.hogbaysoftware.TaskPaper3.direct


#9

I’m running Sierra and the direct download version.

I’ve run the command: defaults write com.hogbaysoftware.TaskPaper3.direct NSQuitAlwaysKeepsWindows -bool true

The app still doesn’t restore open documents on start. What am I doing wrong?


#10

I’m not sure, not that it only works if you leave documents open when you quite… it won’t work if you first close the documents and then quit.