If you do not specify any inp parameters, the search will not start automatically. In order to control these rules, you need to create Search Templates (see below). Rules that provide only a pop-up menu, such as Kind and Is a folder, cannot be altered by inp parameters. Note, however, that you can specify values only for rules that have a textual input field, i.e. Once you have done this, you can fill in these additional fields as well. However, you can add more rules and then use the menu bar, under File / Save as Default Search to have more input fields by default. inp is equivalent to inp1.īy default, the Find window only has one input field, for Name contains. These fill in the value into the first, or second, third etc., input fields in the Find window. Thus, opening FAF with both providing an inp and a loc parameter, the entire URL is made up of these parts: fafapp://find? If more than one parameter gets added, they need to be separated by an ampersand ( &). The URL consists of a prefix, which is always the same: fafapp://find?Īfter this prefix, one or more parameters can be added, each of which has a name (such as inp and loc), followed by an equal sign ( =) and a value (which needs to %-encode some characters such as a blank ( %20), # ( %23), % ( %25), & ( %26) and = ( %3D)). Some characters have special meaning in the URL, and therefore you cannot directly pass them if you want to search for them in a file name.įor instance, if you wanted to find a file name containing a #, %, & or a =, you need to encode them (as %23, %25, %26 and %3D).įurthermore, any blanks (spaces) need to be written as %20.įor example, a search string entered in FAF as text #5 need to be encoded as follows: fafapp://find?inp=text%20%235 The same search, searching the entire startup volume, and with swapped inp and loc parameters: fafapp://find?inp=invoice&loc=/ The same search, but also specifying that the search should be limited to your home folder: fafapp://find?loc=~&inp=invoice If you paste the above line into your web browser and press Return, it should open FAF and start the search by filling "invoice" into the first input field (which is, by default: Name contains …). Here is an example for a URL that opens FAF and starts a search for "invoice": fafapp://find?inp=invoice Note: This feature requires FAF version 2.3.3 or later.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |