Cool... applying.
On Tue, Mar 15, 2016 at 04:42:33PM -0600, Dan Wilcox wrote:
> Sweet. All done.
> 
> The user default option is tested and working. It basically just tells OS X 
> to not save the window state by default when closing Pd. It will also wipe 
> any existing states when closing normally. Furthermore, state saving can 
> still be asked for *explicitly* by holding the Option/Alt button when 
> quitting via the File menu & Cmd+Q.
> 
> It’s basically just 1 line added to the pd_guiprefs.tcl. Here’s a patch: 
> 
> 
> --------
> Dan Wilcox
> @danomatika <https://twitter.com/danomatika>
> danomatika.com <http://danomatika.com/>
> robotcowboy.com <http://robotcowboy.com/>
> > On Mar 15, 2016, at 4:16 PM, Dan Wilcox <[email protected]> wrote:
> > 
> > Hah, I think I just found a better way to do this via the app’s User 
> > Defaults: 
> > http://osxdaily.com/2011/08/01/turn-off-resume-per-app-in-mac-os-x-lion/ 
> > <http://osxdaily.com/2011/08/01/turn-off-resume-per-app-in-mac-os-x-lion/>
> > 
> > --------
> > Dan Wilcox
> > @danomatika <https://twitter.com/danomatika>
> > danomatika.com <http://danomatika.com/>
> > robotcowboy.com <http://robotcowboy.com/>
> >> On Mar 15, 2016, at 4:12 PM, Dan Wilcox <[email protected] 
> >> <mailto:[email protected]>> wrote:
> >> 
> >> Howdy all,
> >> 
> >> I’d like to add my mechanism for locking the save state folder created by 
> >> OSX 10.7+ as outlined in 
> >> http://puredata.info/docs/faq/help-pd-crashes-on-startup-on-mac-osx-10-7 
> >> <http://puredata.info/docs/faq/help-pd-crashes-on-startup-on-mac-osx-10-7>
> >> 
> >> Where would be the best place to add it to the tcl? A function in the 
> >> apple_events.tcl called by pd-gui.tcl after startup?
> >> 
> >> --------
> >> Dan Wilcox
> >> @danomatika <https://twitter.com/danomatika>
> >> danomatika.com <http://danomatika.com/>
> >> robotcowboy.com <http://robotcowboy.com/>
> > 
> 

> _______________________________________________
> Pd-dev mailing list
> [email protected]
> http://lists.puredata.info/listinfo/pd-dev


_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to