From 9d006b7622a5f61ef86696268033919f78111c82 Mon Sep 17 00:00:00 2001 From: troiganto Date: Thu, 5 Jun 2014 20:58:51 +0200 Subject: [PATCH 1/2] Update FAQ.md Fixed formatting errors injected by the previous commit. --- FAQ.md | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/FAQ.md b/FAQ.md index 703b252..a1e60c4 100644 --- a/FAQ.md +++ b/FAQ.md @@ -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 ? +## 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. From 0556772240f32b28fe699456a8472c7538517bc5 Mon Sep 17 00:00:00 2001 From: troiganto Date: Thu, 5 Jun 2014 21:01:32 +0200 Subject: [PATCH 2/2] Update README.md Replaced the word caption by "title". It's a bit more correct. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c4ce1c0..2a34431 100644 --- a/README.md +++ b/README.md @@ -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.