Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
troiganto committed Jun 6, 2014
2 parents 1215db6 + 0556772 commit 1c67113
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 22 deletions.
28 changes: 11 additions & 17 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,28 @@ This file might be edited to add at later points.



## Q: I typed "Photoshop" into the text box, but the Photoshop window doesn't
appear in the list.
## Q: I typed "Photoshop" into the text box, but the Photoshop window doesn't appear in the list.

**A:** This is because Photoshop's window caption doesn't actually contain the
word "Photoshop".
**A:** This is because Photoshop's window title doesn't actually contain the word "Photoshop".
Use the filter phrase ".psd" instead.

If you are on the "Target Windows" page of AutoSave's options window, you will
notice the bottom line. If you hover the mouse over a window, this line will
show that window's caption.
The "Target Windows" page of AutoSave's options window contains a little tool for windows with an invisible title bar.
Whenever you point at a window with your mouse, the bottom-most text line of the form will show you that window's title.

You can use this tool to find out what to enter in the top text box.



## Q: Is it possible that AutoSave starts whenever I open <DOCUMENT TYPE>?
## Q: Is it possible that AutoSave starts whenever I open PSD files?

**A:** Not without screwing around with your system in unethical ways.
Use title matching instead.
If you enable regular expressions, the phrase "gimp|paint" matches all windows whose titles contain "gimp" or "paint".

Windows remembers file type associations in a global database called registry.
Every applications registers an entry for each file type it wants to be
associated with.
If you wanted to start AutoSave whenever you open a PSD file, AutoSave would
have to manipulate these entries that belong to other applications.
Every applications registers an entry for each file type it wants to be associated with.
If you wanted to start AutoSave whenever you open, say, a PSD file, AutoSave would have to manipulate these entries that belong to other applications.

That's as if, say, Photoshop was working in an office and was happy that it
just completed all its paperwork, and suddenly, AutoSave would jump in through
the window, grab all of Photoshop's forms, strike out "Photoshop" on each of
them and scribble "AutoSave" on them instead in small, ugly letters.
That's as if, say, Photoshop was working in an office and was happy that it just completed all its paperwork, and suddenly, AutoSave would jump in through the window, grab all of Photoshop's forms, strike out "Photoshop" on each of them and scribble "AutoSave" on them instead in small, ugly letters.

It's a bit invasive.
It's a bit intrusive.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ The options window gives access to the configuration and all additional tools.
### Targeting Windows

AutoSave only sends keyboard input, if a the active window matches a given filter. There are two ways to specify which windows to target:
* Caption matching (by normally starting AutoSave),
* Title matching (by normally starting AutoSave),
* Connecting to another application (by using Connected Shortcuts).

#### Caption matching
#### Title Matching

By default, AutoSave lets the user specify a phrase to filter windows by. AutoSave then targets a window only, if the window's caption *contains* the given phrase. This comparison is case-insensitive.
By default, AutoSave lets the user specify a phrase to filter windows by. AutoSave then targets a window only, if the window's title *contains* the given phrase. This comparison is case-insensitive.

This means that if the user specifies "gimp" as the filter phrase, then AutoSave simulates pressing ```Ctrl+S``` as soon as the timer is up *and* the active window's caption contains "gimp".
This could be the main window of [GIMP](http://gimp.org), but it could also be a folder names "gimp" being open in the Windows Explorer.
This means that if the user specifies "gimp" as the filter phrase, then AutoSave simulates pressing ```Ctrl+S``` as soon as the timer is up *and* the active window's title bare contains "gimp".
This could be the main window of [GIMP](http://gimp.org), but it could also be a folder named "gimp" being open in the Windows Explorer.
It's up to the user to enter an unambiguous phrase.

Additionally, AutoSave allows the user to filter windows using [regular expressions](http://simple.wikipedia.org/wiki/Regular_expression) instead of normal text comparison.
Expand Down

0 comments on commit 1c67113

Please sign in to comment.