bsmith96 / Qlab-Scripts

Applescripts for Qlab 4. A variety of complex scripts and simple hotkeys to automate repetetive tasks.
MIT License
9 stars 2 forks source link

Save new version #13

Closed bsmith96 closed 3 years ago

bsmith96 commented 3 years ago

Both "save new version" and "save and name new version" e.g. V10 - Dress 1

bsmith96 commented 3 years ago

Probably something like

Get filename

Split string to get the text before ".qlab4" (the old comment), the text before " - " (the old version number) and the text before "v" (the actual base file name).

Add 1 to version number (check it's 2 digits).

Ask for comment (if returns "" then don't put " - ").

Save as new file name in same location.

bsmith96 commented 3 years ago

First draft done.