Welcome Guest.   Make a donation to an author on the site April 17, 2014, 01:29:50 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Alias sharing  (Read 24242 times)
kae99
Charter Honorary Member
***
Posts: 6

View Profile Give some DonationCredits to this forum member
« on: March 23, 2006, 07:47:57 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.org/w...i/Especial:Search?search=$$1>+>^wpes (.*)

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

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

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

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

Bittorrent search:
1000>>>tor>->Torrentz | http://www.torrentz.com/s.php?q=$$1>n>TorrentSpy |  http://www.torrentspy.com/search.asp?query=$$1>n>TorrentTyphoon | http://www.torrenttyphoon.com/default.aspx?q=$$1>n>Mininova | http://mininova.org/search/?search=$$1>n>Bittorrent | http://search.bittorrent.com/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 smiley, 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 smiley

YubNub commandline:
1000>>>yn>->YubNub | http://www.yubnub.org/parser/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 Wink







Logged
mouser
First Author
Administrator
*****
Posts: 32,655



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: March 25, 2006, 12:03:45 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.
Logged
jballi
Charter Member
***
Posts: 22

View Profile Give some DonationCredits to this forum member
« Reply #2 on: March 25, 2006, 02:53:08 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.com/cg/amg.dll?P=amg&sql=$$1&x=0&y=0&opt1=1&sourceid=mozilla-search

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

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

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

Label Search:
http://www.allmusic.com/cg/amg.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:38 PM by jballi » Logged
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: March 25, 2006, 07:00:22 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 Wink
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" | http://www.donationcoder....hp?action=search2;search=$$1>n>Recent Posts | http://www.donationcoder....n=recentdense>n>New Replies | http://www.donationcoder....eadreplies>n>Unread Posts | http://www.donationcoder....read;all>n>Specials | http://www.donationcoder....cials/index.html>+>^dc[ ]*(.*)
Logged

lanux128
Global Moderator
*****
Posts: 6,044



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: March 27, 2006, 08:29:39 PM »

good idea kae99.  thumbs 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.

Logged

alexp
Charter Member
***
Posts: 39


Is cheese the plural of choose?????

View Profile Give some DonationCredits to this forum member
« Reply #5 on: March 28, 2006, 12:52:01 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?
Logged

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
*****
Posts: 6,044



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: March 28, 2006, 01:22:48 AM »

Quote from: alexp
I know you have to go to the groups tab and create a new group but then exactly what goes where?

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

Logged

jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: September 29, 2006, 04:58:53 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.

[copy or print]
(^([\s\d()]*(\*|\/|\-|\+)*[\s\d()]*)*$)
Logged

lanux128
Global Moderator
*****
Posts: 6,044



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: October 01, 2006, 09:33:24 PM »

jgpaiva: how do i enter your alias in the alias group?  embarassed
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
Logged

jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: October 02, 2006, 02:48:03 AM »

jgpaiva: how do i enter your alias in the alias group?  embarassed
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 Sad


* Screenshot-06_10_02,08_45_02.png (26.41 KB, 635x379 - viewed 573 times.)
« Last Edit: October 02, 2006, 02:50:56 AM by jgpaiva » Logged

mouser
First Author
Administrator
*****
Posts: 32,655



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #10 on: March 26, 2007, 07:33:07 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!  tongue
Logged
cnewtonne
Honorary Member
**
Posts: 115

View Profile Give some DonationCredits to this forum member
« Reply #11 on: March 27, 2007, 04:16:15 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
Logged
JoTo
Super Honorary
Charter Member
***
Posts: 234



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #12 on: April 04, 2007, 03:47:46 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 anyname@anydomain.tld    (Brings up the default email editor with only a receipent - no subject)

email anyname@anydomain.tld  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 anyname@anydomain.tld 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:29 AM by JoTo » Logged
rjbull
Charter Member
***
Posts: 2,701

View Profile Give some DonationCredits to this forum member
« Reply #13 on: April 04, 2007, 04:54:03 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



Logged
justice
Supporting Member
**
Posts: 1,885



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #14 on: May 25, 2007, 07:07:51 PM »

Always wanted to use FARR instead of the taskbar or alt-tab? Want to switch to windows or tasks quickly? Use stt:

[copy or print]
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:
[copy or print]
stt fox
to switch to firefox (case insensitive regexes supported)
[copy or print]
stt opera
to switch to opera
or any other part of a window. Or a lot more powerful using AHK regular expressions

* SwitchToTask.zip (191.61 KB - downloaded 364 times.)
« Last Edit: May 25, 2007, 07:32:24 PM by justice » Logged

Dr-Leech
Member
**
Posts: 151


Psychedelic Coder

View Profile WWW Give some DonationCredits to this forum member
« Reply #15 on: May 25, 2007, 07:25:56 PM »

nice, dude..

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

thanks.
Logged

justice
Supporting Member
**
Posts: 1,885



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #16 on: May 25, 2007, 07:36:39 PM »

Or when you've got 7 explorer windows open + 10 other applications and you want to switch to the right one Wink
Logged

Dr-Leech
Member
**
Posts: 151


Psychedelic Coder

View Profile WWW Give some DonationCredits to this forum member
« Reply #17 on: May 25, 2007, 08:08:32 PM »

ya, right.. or many notepads and to get the correct..

smiley
Logged

Laughing Man
Charter Member
***
Posts: 103


V for Viktor

View Profile Give some DonationCredits to this forum member
« Reply #18 on: May 26, 2007, 11:25:26 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.
Logged
justice
Supporting Member
**
Posts: 1,885



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #19 on: May 27, 2007, 04:26:06 AM »

Thanks Laughing Man! Sorry to see you're having problems. The code of SwitchToTask is just as folllows:
[copy or print]
#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?
Logged

Armando
Charter Member
***
Posts: 2,666



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #20 on: May 31, 2007, 05:04:32 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.

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

"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould
justice
Supporting Member
**
Posts: 1,885



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #21 on: May 31, 2007, 05:50:19 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)

« Last Edit: May 31, 2007, 05:55:08 PM by justice » Logged

Armando
Charter Member
***
Posts: 2,666



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #22 on: May 31, 2007, 06:25:19 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.
Logged

"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould
Liquidmantis
Supporting Member
**
Posts: 64


View Profile Give some DonationCredits to this forum member
« Reply #23 on: May 31, 2007, 11:28:29 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:
[copy or print]
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:
[copy or print]
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:05 PM by Liquidmantis » Logged
mouser
First Author
Administrator
*****
Posts: 32,655



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #24 on: May 31, 2007, 11:46:30 PM »

this sounds quite intriguing, i'll have to try it and see how it works since i've never used ff keywords.
Logged
Pages: [1] 2 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.078s | Server load: 0.13 ]