Skip to content

Commit 77cd133

Browse files
committed
autosave update
1 parent 0ef1596 commit 77cd133

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

content/hub/plug-ins/folder/almost-autosave.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,40 @@ url: "/hub/plug-ins/folder/almost-autosave"
66

77
## Introduction
88

9-
This is an attempt at an Autosave feature! It saves a numbered version of the open files that have been edited into a named folder. It does not save over the opened file. You do have to start the Autosave manually each session, it's almost an autosave.
9+
This Autosave feature saves numbered versions of edited files into a dedicated folder, without overwriting your originals.
10+
In Artbox, if Autosave is not active, a dull red Status Bar label appears as a reminder (this can be turned off in Preferences > Help System > Show Almost-Autosave reminder).
1011

11-
When the plug-in is used in [**Artbox**](https://script-fu.github.io/artbox/), there is a dull red Status Bar label displayed if it has **not** been activated. This reminder can be deactivated in Preferences > Help System > Show Almost-Autosave reminder.
12+
**Note:** You must start Autosave manually each session in GIMP; so it’s “almost” an autosave.
13+
14+
**New in Artbox:**
15+
Artbox now includes an experimental Commands Dockable system, allowing you to trigger scripted commands automatically.
16+
17+
See a demonstration video on [YouTube](https://youtu.be/-b8DCdvV8Bg)
18+
19+
You can use this to start Autosave automatically when an image is opened or edited:
20+
21+
Save the following as `signal-dirty.gcmd` in your `commands folder`*.
22+
23+
```scheme
24+
# GIMP command item
25+
26+
(name "signal-dirty")
27+
(command "(script-fu-almost-autosave #:run-mode RUN-NONINTERACTIVE)")
28+
(description "Automatic Autosave")
29+
(icon-name "gimp-marker")
30+
(language script-fu)
31+
(event-signal "dirty")
32+
(enabled yes)
33+
(execute-once yes)
34+
(coalesce-signals no)
35+
(coalesce-threshold-ms 100)
36+
37+
# end of GIMP command item
38+
```
39+
40+
Restart Artbox. If the plug-in is installed, Almost-Autosave will start automatically as soon as you open or modify an image.
41+
42+
* Commands location example: /home/mark/.config/Artbox/3.0/default/commands
1243

1344
This plug-in utilizes a set up plug-in, it helps the main plug-in do its core task. For the plug-in to function the set-up plug-in needs to be installed as well.
1445

content/hub/tutorials/folder/files.md

Whitespace-only changes.

0 commit comments

Comments
 (0)