DonationCoder.com Software > Find And Run Robot
[bugs report] here is a list of outstanding bugs
gogogadgetscott:
clipboard bug
======================
When using %clipboard% in an alias command, as per docs, the var is not replaced with the contents of the clipboard.
https://www.donationcoder.com/Software/Mouser/findrun/help/using_clipboard_tricks.htm
Is there is difference between $$c and %clipboard%?
mouser:
there is actually a difference.
%clipboard% should ALWAYS be replaced with clipboard text (blank if clipboard text is blank).
$$c can be used to mean $$1 unless its blank, and clipboard text if it is blank.
for example from the help file:
* So an alias might match on text gsearch(.*)
* with result: gsearch $$c | http://www.google.com?query=$$c
* When user types "gsearch hello" it will open a search to hello
* When user types "gsearch" it will open a search to clipboard text
so $$c is used where you might normally put $$1
ps.
you can also manually tell farr to use your clipboard text in a search by typing $c
so if you have an alias like "define (.*)" which uses $$1 in its search, you could TYPE in the search box "define $c" and it will be as if you typed ("define CLIPBOARD_TEXT_HERE").
Navigation
[0] Message Index
[*] Previous page
Go to full version