topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 5:03 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Alias sharing  (Read 50516 times)

kae99

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Alias sharing
« on: March 23, 2006, 07:47 AM »
Hi all!
First of all, awesome program mouser! I love trying new software and finding those little gems that make your computer experience nicer and this one is one of the best! And good license/sharing your work philosophy!

Said that, I see that f+r has an alias feature that can be really powerful, but it seems to be under used.

I'm sure that it can be a really good tool to control your computer (accessing control panel, enabling/disabling tv out, turning off pc, etc.) just knowing the right windows command (maybe with the aid of third party tools) and assigning it an alias for fast access or to exploit webpages and search engines potential.

But I don't see many posts talking about new aliases to do new things and sharing new ones. (sorry, because I'm a new forum reader so maybe I missed them).

IMHO, it would be really nice to have an organized way of sharing new aliases with the rest of the users, something like a small online searcheable database of aliases, each one with a short description of what it does (in a nice to read format) and the command to be pasted in f+r.

But i know that it would be a lot of work and useless when there are so few of them right now.

In the meantime, maybe an organized way of sharing them through the forum would be nice.

To start sharing, here there are some I have added and use very often:

English Wikipedia search:
1000>>>wp>->Wikipedia Eng | http://en.wikipedia.org/?search=$$1>+>^wp (.*)

Spanish Wikipedia search:
1000>>>wpes>->Wikipedia Esp | http://es.wikipedia....ecial:Search?search=$$1>+>^wpes (.*)

English -> Spanish translation using WordReference:
1000>>>enes>->WordReference English -> Spanish | http://www.wordrefer...lation.asp?tranword=$$1&dict=enes&B10=Search>+>^enes (.*)

Spanish -> English translation using WordReference:
1000>>>esen>->Esp - Eng |  http://www.wordrefer...ranslation.asp?spen=$$1>+>^esen (.*)

Currency conversion:
1000>>>xe>->xe EUR -> USD | http://www.xe.com/uc.../convert.cgi?Amount=$$1&From=EUR&To=USD>n>xe USD -> EUR | http://www.xe.com/uc.../convert.cgi?Amount=$$1&From=USD&To=EUR>n>xe EUR -> GBP | http://www.xe.com/uc.../convert.cgi?Amount=$$1&From=EUR&To=GBP>n>xe GBP -> EUR | http://www.xe.com/uc.../convert.cgi?Amount=$$1&From=GBP&To=EUR>+>^xe (.*)

RAE dictionary search:
1000>>>rae>->RAE | http://buscon.rae.es...TIPO_BUS=3&LEMA=$$1>n>DRAE | http://buscon.rae.es...TIPO_BUS=3&LEMA=$$1>+>^rae (.*)

Bittorrent search:
1000>>>tor>->Torrentz | http://www.torrentz.com/s.php?q=$$1>n>TorrentSpy |  http://www.torrentsp...om/search.asp?query=$$1>n>TorrentTyphoon | http://www.torrentty....com/default.aspx?q=$$1>n>Mininova | http://mininova.org/search/?search=$$1>n>Bittorrent | http://search.bittor...om/search.jsp?query=$$1>n>Pirate Bay | http://thepiratebay.org/search.php?q=$$1>+>^tor (.*)

And accessing my most frequently used webpages like:

Gmail
1000>>>gmail>->Gmail | www.gmail.com

Netvibes
1000>>>netvibes>->Netvibes | www.netvibes.com

----------

I know most of them are 'Spanish related', but I'm from Spain :), i hope they will be useful for somebody or give new ideas of new commands to add to their own collection.

All of them fall in the category of 'exploiting search engines potential', I got the ideas for them from the YubNub search engine.

If somebody doesn't know it, YubNub it is a 'social commandline for the web' and has literally thousands of commands like these!!

Just write 'ls' in their search box (or 'ls <something>' to narrow the search) and you will find tons of commands to do nearly anything with the search engines that exist out there.

To add it to f+r, just copy the url related to the command that you want to use from YubNub and replace %s by $$1 in FARR and you are done!

Or, add this alias and you will have all the power of YubNub in FARR :)

YubNub commandline:
1000>>>yn>->YubNub | http://www.yubnub.or...arser/parse?command=$$1+$$2>+>^yn ([^\s]+)(?:\s)?(.*)

Examples:
yn wp test --> Look up 'test' in the English Wikipedia
yn gim test --> Performs a Google Image search for 'test'
etc.

I just prefer to add the ones that i use most as direct aliases so i have to type less and they work faster because YubNub doesn't need to parse it.

Kae

P.S. The way that yubnub allows searching and looking up its commands could be a good one for aliases database too ;)








mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Alias sharing
« Reply #1 on: March 25, 2006, 12:03 AM »
kae, sorry for the delay in responding -
i think this is a great idea, i hope to make it easier to share aliases soon - it's definitely something that should be added to farr v2.

let's use this thread for anyone that might have aliases to post, and then i can try to collect them and make them available for easier download and import.

jballi

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 22
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #2 on: March 25, 2006, 02:53 PM »
By request of jgpaiva
AMG (allmusic.com)

Discovered these by trial and error.  Artist search included by default with recent versions of FARR.
-------

Artist Search:
http://www.allmusic....g.dll?P=amg&sql=$$1&x=0&y=0&opt1=1&sourceid=mozilla-search

Album Search:
http://www.allmusic....g.dll?P=amg&sql=$$1&x=0&y=0&opt1=2&sourceid=mozilla-search

Song Search
http://www.allmusic....g.dll?P=amg&sql=$$1&x=0&y=0&opt1=3&sourceid=mozilla-search

Style Search:
http://www.allmusic....g.dll?P=amg&sql=$$1&x=0&y=0&opt1=4&sourceid=mozilla-search

Label Search:
http://www.allmusic....g.dll?P=amg&sql=$$1&x=0&y=0&opt1=5&sourceid=mozilla-search


P.S.  The correct search parameter delimiter for this command "appears" to be the OR symbol: "|"  So, if searching for Billy Ray Cyrus (I'm not sure why you would), you would enter (sans quotes) "Billy|Ray|Cyrus" as your search parameter.  I found this by trial and error.  If anyone has more correct information, please post!
« Last Edit: March 25, 2006, 03:09 PM by jballi »

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #3 on: March 25, 2006, 07:00 PM »
Thanks for posting it here, jballi.

Here are the ones i most use:

SimpleCalc, by Gerome, more information here. (i've set up the alias for '+', not calc)
1000>>>SimpleCalc>->calc $$1 | Scripts/FBSL.exe Scripts/FBSLCalc.fbs "$$1">+>^\+(.*)

An alias that alows you to directlly type an url (without http:// or www.) and open it in the "default" browser. (i set it up for opera)
1000>>>Surf.com.net.org.pt.info.nu.ru>->c:\programas\opera\opera.exe www.$$1>+>((.*)(.com|.net|.org|.pt|.info|.nu|.ru)$)

An alias for opening pages that don't work in opera ;)
1000>>>Surf in ie>->C:\Programas\Internet Explorer\iexplore.exe $$1>+>^ie (.*)

The necessary command to not needing the windows run box:
1000>>>R>->Run $$1|$$1>+>^r (.*)

And last but not least, the most important of them all, the DC alias (got from this thread):
1000>>>Donation Coder>->DC Forum Search for "$$1" | https://www.donation...tion=search2;search=$$1>n>Recent Posts | https://www.donation...entdense>n>New Replies | https://www.donation...plies>n>Unread Posts | https://www.donation...all>n>Specials | https://www.donation.../index.html>+>^dc[ ]*(.*)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #4 on: March 27, 2006, 08:29 PM »
good idea kae99.  :up:
something like this would only emphasise f+rr's capabilities. on my part, i would like to suggest that a special section is dedicated to user-submitted aliases on the f+rr page.


alexp

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 41
  • Is cheese the plural of choose?????
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #5 on: March 28, 2006, 12:52 AM »
OK call me stupid but exactly how would I go about implementing these into f+rr? I know you have to go to the groups tab and create a new group but then exactly what goes where?
Why is it that writers write, but fingers don't fing, grocers don't groce, and hammers don't ham? If the plural of tooth is teeth, why isn't the plural of booth beeth? One goose, 2 geese. So, one moose, 2 meese? One index, two indices? Is cheese the plural of choose?

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #6 on: March 28, 2006, 01:22 AM »
I know you have to go to the groups tab and create a new group but then exactly what goes where?
-alexp

actually you can go to F+RR's options then click on "Import and Export" menu and choose "Import Alias Group List".

you can get some pre-configured aliases here and here, but I think these already included in the newer versions of F+RR


jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #7 on: September 29, 2006, 04:58 AM »
Thanks to lanux, i refound this topic.
Here's the new alias i use for the calculator, which allows you to input maths directly without having to prepend the calculation with "calc" or "+" as i had in my previous example.

(^([\s\d()]*(\*|\/|\-|\+)*[\s\d()]*)*$)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #8 on: October 01, 2006, 09:33 PM »
jgpaiva: how do i enter your alias in the alias group?  :-[
and does this alias still use Gerome's FBSL Calc.exe?
btw, the forum's bookmarking abilites is very useful. that's how i am able "remember" all this topics. :Thmbsup:

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #9 on: October 02, 2006, 02:48 AM »
jgpaiva: how do i enter your alias in the alias group?  :-[
and does this alias still use Gerome's FBSL Calc.exe?

Yes, that alias works with gerome's calculator.
Here's how i have it configured: see attached image

btw, the forum's bookmarking abilites is very useful. that's how i am able "remember" all this topics. :Thmbsup:
Good point, i always tend to forget that function exists :(
« Last Edit: October 02, 2006, 02:50 AM by jgpaiva »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Alias sharing
« Reply #10 on: March 26, 2007, 07:33 AM »
im incorporating all of these into new FARR v2 default aliases, but I'd love to hear more suggested aliases to add..

speak up -- now is your chance to have your favorite aliases make history!  :P

cnewtonne

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 117
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #11 on: March 27, 2007, 04:16 PM »
Here're mine...

Creating new outlook items
alias name: ol
----------------------------------------
journal | c:\program files\Microsoft Office\OFFICE11\OUTLOOK.EXE /c ipm.activity
appointment | c:\program files\Microsoft Office\OFFICE11\OUTLOOK.EXE /c ipm.appointment
contact | c:\program files\Microsoft Office\OFFICE11\OUTLOOK.EXE /c ipm.contact
message | c:\program files\Microsoft Office\OFFICE11\OUTLOOK.EXE /c ipm.note
note | c:\program files\Microsoft Office\OFFICE11\OUTLOOK.EXE /c ipm.stickynote
task | c:\program files\Microsoft Office\OFFICE11\OUTLOOK.EXE /c ipm.task

Shutting down system with timer using native commands.
Alias: sys
argument: number of seconds
----------------------------------------
LOGOFF $$1 secs | c:\windows\system32\shutdown.exe -i -l -t $$1
REBOOT $$1 secs | c:\windows\system32\shutdown.exe -r -f -t $$1
SHUTDOWN $$1 secs | c:\windows\system32\shutdown.exe -s -f -t $$1
above INTERACTIVE $$1 | c:\windows\system32\shutdown.exe -i -t $$1
ABORT above $$1 | c:\windows\system32\shutdown.exe -a -t $$1

JoTo

  • Super Honorary
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 236
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #12 on: April 04, 2007, 03:47 AM »
Hi there,

the last versions of FARR v2 added some duplicate email-alias entries. That makes me to have a closer look at them all. And then i decided to try to improve the very complicated (at least two different) email-aliases and try to merge them in a "one fits all" one.

This is what i get so far, and it works for me very well. So this version is the one and only email alias i now need and use:

Group Alias Name: email
RegEx Pattern: ^email\s+([a-zA-Z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4})\s*(.*)
Result: Email to $$1 with Subject $$2|mailto:$$1?subject=$$2

It accepts:

email [email protected]    (Brings up the default email editor with only a receipent - no subject)

email [email protected]  bla1 bla2 bla3 ... blaN  (Brings up the default email editor with a receipent AND a subject with all the words from bla1 upto blaN)

(For [email protected] also nicknames can be used that your email editor then understands and can expand it to real adresses)

If s.o. finds a bug or can improve, i would be glad to hear about that.

Greetings
JoTo

UPDATE:
Forgot to implement the lowercase letters in the character classes. So the first version will only work if regexmatching is set to case-insensitive. With this version it works in both modes.
« Last Edit: April 09, 2007, 11:45 AM by JoTo »

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,199
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #13 on: April 04, 2007, 04:54 AM »
Creating new outlook items

cnewtonne,

I take it this is for the "full" version of Outlook, not Express?

I thought of giving Outlook etc. an alias of Bureaucracy, which turned out to shorten by John Knowles' ABCZ system to "bury."  Which is about what I'd like to do with it...
 :mad:




justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #14 on: May 25, 2007, 07:07 PM »
Always wanted to use FARR instead of the taskbar or alt-tab? Want to switch to windows or tasks quickly? Use stt:

1000>>>Switch To Task>->stt $$1 |C:\Scripts\SwitchToTask\SwitchToTask.exe $$1>+>^stt (.*)
Change the path to SwitchToTask.exe to the folder you extract the zip file to.

Then type in farr:
stt fox
to switch to firefox (case insensitive regexes supported)
stt opera
to switch to opera
or any other part of a window. Or a lot more powerful using AHK regular expressions
« Last Edit: May 25, 2007, 07:32 PM by justice »

Dr-Leech

  • Member
  • Joined in 2006
  • **
  • Posts: 151
  • Psychedelic Coder
    • View Profile
    • site
    • Donate to Member
Re: Alias sharing
« Reply #15 on: May 25, 2007, 07:25 PM »
nice, dude..

It's really useful when you can't use Alt+Tab (like using VMWare, or VNC, etc)

thanks.

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #16 on: May 25, 2007, 07:36 PM »
Or when you've got 7 explorer windows open + 10 other applications and you want to switch to the right one ;)

Dr-Leech

  • Member
  • Joined in 2006
  • **
  • Posts: 151
  • Psychedelic Coder
    • View Profile
    • site
    • Donate to Member
Re: Alias sharing
« Reply #17 on: May 25, 2007, 08:08 PM »
ya, right.. or many notepads and to get the correct..

:)

Laughing Man

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 105
  • V for Viktor
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #18 on: May 26, 2007, 11:25 PM »
Odd, I added everything needed for the stt alias to work and it checked out. But when I try using it, it sees the autohotkey script but typing in stt opera and stt firefox doesn't do anything.

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #19 on: May 27, 2007, 04:26 AM »
Thanks Laughing Man! Sorry to see you're having problems. The code of SwitchToTask is just as folllows:
#NoEnv
SendMode Input
SetTitleMatchMode RegEx
WinActivate, i)%1%
It matches on the window title (case insensitive -partial matches allowed). I don't see why it can't work, maybe some AHK expert can solve the issue?

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #20 on: May 31, 2007, 05:04 PM »
Odd, I added everything needed for the stt alias to work and it checked out. But when I try using it, it sees the autohotkey script but typing in stt opera and stt firefox doesn't do anything.
-Laughing Man (May 26, 2007, 11:25 PM)

Same thing here. I don't know what I am doing wrong...

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #21 on: May 31, 2007, 05:50 PM »
* I downloaded the zipfile provided
* extracted it to C:\Program Files\FindAndRunRobot\Scripts\stt
* changed the alias to 1000>>>Switch To Task>->stt $$1 |C:\Program Files\FindAndRunRobot\Scripts\stt\SwitchToTask.exe $$1>+>^stt (.*)
* found the alias tab in FARR
* right click - paste preformatted alias group
* pasted in point 3

and it worked. I am using the Find+Run Robot v2.00.82 though. See the highlighted text below to verify that it works (the AHK icon and the switch to task text)
farrstt2.png
farrstt.pngAlias sharing
« Last Edit: May 31, 2007, 05:55 PM by justice »

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #22 on: May 31, 2007, 06:25 PM »
@ justice : thanks!

It works. Just a little syntax problem on my side -- I wasn't using the "paste preformatted alias group" function and so I made a mistake when I filled the fields.

Thanks again.

Liquidmantis

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 64
    • View Profile
    • Donate to Member
Re: Alias sharing
« Reply #23 on: May 31, 2007, 11:28 PM »
I've got a new one.  I really wanted FARR to support Firefox bookmark keywords so I created an AutoHotKey script to add it in conjuction with an alias.

Here's the AutoHotKey script:
SetTitleMatchMode 2
Ifwinexist, - Mozilla Firefox
WinActivate
Else
{
Run,"D:\Program Files\Mozilla Firefox\firefox.exe"
winwait, - Mozilla Firefox
winactivate
}
Sleep 25
SendInput ^t
Sleep, 250
SendInput !d
Sleep, 25
counter = 1
Loop
{
inputParameter := %counter%
If inputParameter !=
{
SendInput %inputParameter%{space}
counter++
}
Else
Break
}
SendInput {enter}
return

And here is the FARR alias:
1000>>>FireFox Keyword>->Firefox Keyword $$1|d:\scripts\ffkw.ahk $$1>+>ffkw (.*)

Modify path and names to suit.  This also works for keyword searches, e.g. ffkw wp [wiki search text].
« Last Edit: May 31, 2007, 11:30 PM by Liquidmantis »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Alias sharing
« Reply #24 on: May 31, 2007, 11:46 PM »
this sounds quite intriguing, i'll have to try it and see how it works since i've never used ff keywords.