Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
xfce:xfce4-appfinder:preferences [2019/04/09 21:59] – [Custom Actions] blueberrybrownie | xfce:xfce4-appfinder:preferences [2019/04/09 22:12] – [Usage] blueberrybrownie | ||
---|---|---|---|
Line 46: | Line 46: | ||
==== Usage ==== | ==== Usage ==== | ||
+ | You can add a new (empty) action by clicking on the {gui> | ||
- | You can add a new (empty) action by clicking on the {gui> | + | ? Type |
+ | ! There are two types of pattern matches: | ||
- | Strings in the Application Finder by the {gui> | + | * **Prefix** - if this type is selected, there is a match if the entered string starts with the pattern |
- | + | | |
- | ? Type | + | |
- | ! There are two types of pattern matches. | + | |
- | ? Prefix | + | |
- | ! If this type is selected, there is a match if the entered string starts with {gui>pattern}. | + | |
- | | + | |
- | ! For complex matches you can write a [[https:// | + | |
? Pattern | ? Pattern | ||
- | ! Depending on the selected {gui>type} it will describe | + | ! Depending on the type selected, |
? Command | ? Command | ||
- | ! The command that is executed when the pattern is matched. To include | + | ! The command that is executed when the pattern is matched. To include parts of the the following variables are available: |
? Prefix | ? Prefix | ||
- | ? %s | + | * **%s** - Include the string after the matched pattern. So if the prefix-pattern is '' |
- | ! Include the string after the matched pattern. So if the prefix-pattern is '' | + | * **%S** - Include the complete string after the matches pattern. So if the prefix-pattern is '' |
- | ? | + | |
- | ! Include the complete string after the matches pattern. So if the prefix-pattern is '' | + | |
? Regular Expression | ? Regular Expression | ||
! During the process of matching, the match results of subpattern between parentheses '' | ! During the process of matching, the match results of subpattern between parentheses '' | ||
! If the pattern is '' | ! If the pattern is '' | ||
| |