programmatic "save as"??

MIB's icon

This has been brought up many times. But to the best of my knowledge there is still no way of doing this.

thispatcher takes write and writeas messages. neither one takes any arguments...

could this be done with javascript?

Luke Hall's icon

I created an autosave type feature using javascript and some of the amazing new jasch objects. It basically saves the patch, then duplicates it and renames the duplicate so you always have the current patch and a list of recent backup versions. It might be helpful to you.

lh

MIB's icon

thanks so much for sharing. exactly what I was looking for.
no more lost patches for me...

I hope you don't mind, but I added a line of code that will only save the patcher if it is dirty. I tend to jump between applications and tasks without necessarily closing them. I don't want 5 copies of the same patch...

thanks again. much appreciated.

Luke Hall's icon

I meant to add that in the other day when someone asked about querying the dirty state on the forum, can't remember why I didn't. Thanks for that!

lh

Tim Lloyd's icon

This sounds really useful, but how do I open a .sitx on mac OS 10.5?

MIB's icon

here is a zipped version for you.