Welcome Guest.   Make a donation to an author on the site April 18, 2014, 10:01:52 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.
 
Free DonationCoder.com Member Kit: Submit Request.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: IMPORTANT: Sample mini group alias file for F&R - download here  (Read 9536 times)
mouser
First Author
Administrator
*****
Posts: 32,668



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« on: October 13, 2005, 09:02:47 AM »

OK,
all the questions about can you use F&R to go to websites, launch email,etc.

I've made a little sample alias file you can import in.

In the next major release of F&R it will come with these and many other commands already configured.  and of course you can always write your own.

INSTRUCTIONS:
1) click to download the file: http://www.donationcoder....un/downloads/aliases2.ini
2) go to F&R options, and from Import&Export menu, choose import and then browse to and select that aliases.ini file


close the options.  youl now have some new commands in your F&R:

imdb -> to get info on web about a movie just type: imdb [MOVIENAME]
search -> to run one of several web searchs just type: search [SEARCH WORDS]
define -> to run a web dictionary search on a word type: define [SEARCH WORDS]
www -> to go to any site just type the site url (for example www.donationcoder.com)
music -> search for info about any band or artist type: music [BAND NAME]
email -> begin an email to someone type: email [EMAILADDRESS]
email -> begin an email to someone and specify subject type: email [EMAILADRESS s=SUBJECT]
paste -> paste date or time into current program type: paste (then choose from menu)
run-> to run any program on your computers search path: run [PROGRAMNAME]


thanks to nontroppo's opera page for some of these.

note the some of the above will show you full menus of choices, like the search and define commands.
you can easily add your own stuff to these from the Options-> Groups tab.



let me know if this works for you and how you like it!
« Last Edit: February 13, 2006, 03:47:07 AM by mouser » Logged
mouser
First Author
Administrator
*****
Posts: 32,668



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: October 13, 2005, 09:05:20 AM »

btw if you ever forget what commands are available, you can get a list of them by typing (stands for allgroups):
agroups
Logged
mouser
First Author
Administrator
*****
Posts: 32,668



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: October 13, 2005, 09:54:48 AM »

jibz just gave me an alternate email regular expression alias you can use if you dont want to be bothered typing in "email xxxxx" and would prefer just to be able to type in someones email adress to create a mail to them:
just copy this and go to Group Alias tab, right click and say "Pase Preformatted Alias Group" and paste it in:

1000>>>email3>->email $$1 | mailto:$$1>+>^(\w+(?:\.\w+)*@\w+(?:\.\w+)+)
Logged
mouser
First Author
Administrator
*****
Posts: 32,668



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: October 13, 2005, 09:57:49 AM »

i forget who suggested this feature (kfitting was it you?) but you might want to check that you have these checked in options if youd like to be able to launch command aliases faster once they are displayed.

also note for things like dictionary search, etc.  you can configure F+R to make it easier to launch multiple results, so that when you hold control while you mouse double click or press a number, it launches but stays open.


* fr_return.png (35.33 KB, 561x376 - viewed 760 times.)
Logged
kfitting
Charter Member
***
Posts: 572


View Profile Give some DonationCredits to this forum member
« Reply #4 on: October 13, 2005, 10:43:21 AM »

Wasnt me... I remember the discussion though.  The whole alias thing is powerful, but very confusing!  The default samples will be a nice way to learn, thanks!

Kevin
Logged
nontroppo
Charter Honorary Member
***
Posts: 648


spinning top

View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: October 13, 2005, 11:17:47 AM »

That regex will fail on several addresses (a few non-word characters are allowed, see http://www.remote.org/jochen/mail/info/chars.html for more), here is an improved version removing the problem, and also adding an optional subject line:

1000>>>email3>->email $$1 | mailto:$$1?subject=$$2>+>^([^@]+@.+\.[^\s]+)(?:\s?)([^\s]*)

(and it was me who asked for the <enter> changes Wink)

Logged

Jibz
Developer
***
Posts: 851



Cold Warrior

View Profile WWW Give some DonationCredits to this forum member
« Reply #6 on: October 13, 2005, 12:02:48 PM »

Perhaps seems a bit overinclusive just to allow + and -, but whatever works for you thumbs up.
« Last Edit: October 13, 2005, 12:05:45 PM by Jibz » Logged

"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu
nontroppo
Charter Honorary Member
***
Posts: 648


spinning top

View Profile WWW Give some DonationCredits to this forum member
« Reply #7 on: October 13, 2005, 12:36:30 PM »

Well, though not recommended, there are other officially valid characters according to the RFC's than + and -

<offtopic>I never knew about how useful + is in email addresses until recently, you can use it to tag mail addresses which nevertheless go into the same mailbox, e.g. John+forumA@example.com and John+forumB@example.com both get delivered to the same box (John@example.com) but allows you to distinguish / filter them</offtopic>
Logged

nontroppo
Charter Honorary Member
***
Posts: 648


spinning top

View Profile WWW Give some DonationCredits to this forum member
« Reply #8 on: October 13, 2005, 12:44:37 PM »

OK, a version of that regex that is a bit more cautious, and fixes a small bug in the optional subject matching Wink

1000>>>email3>->email $$1 | mailto:$$1?subject=$$2>+>^([\w+-]+@[\w+-]+\.[\w+-]+)(?:\s?)(.*)
Logged

Jibz
Developer
***
Posts: 851



Cold Warrior

View Profile WWW Give some DonationCredits to this forum member
« Reply #9 on: October 13, 2005, 12:49:35 PM »

Looks good .. except does it work if there is more than one . in the domain part? like john@foo.bar.com?

And what about if there is a . in the local part? like john.doe@foo.bar.com

I didn't know about the + thing either .. very handy indeed Thmbsup.
« Last Edit: October 13, 2005, 12:52:12 PM by Jibz » Logged

"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu
nontroppo
Charter Honorary Member
***
Posts: 648


spinning top

View Profile WWW Give some DonationCredits to this forum member
« Reply #10 on: October 13, 2005, 06:31:58 PM »

You're right it won't. So here is the regex that combines your multiple dot matching, expands the character matching and allows an optional subject:

1000>>>email3>->email $$1 | mailto:$$1?subject=$$2>+>^([\w\+\-]+(?:\.[\w\+\-]+)*@[\w\+\-]+(?:\.[\w\+\-]+)+)(?:\s?)(.*)

Don'tcha just love Regex's?
Logged

Jibz
Developer
***
Posts: 851



Cold Warrior

View Profile WWW Give some DonationCredits to this forum member
« Reply #11 on: October 14, 2005, 03:09:34 AM »

Hehe indeed I do Kiss.

Guess you have to be a bit of a geek to find beauty in what looks like ascii art gone wrong mrgreen.
Logged

"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu
mouser
First Author
Administrator
*****
Posts: 32,668



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #12 on: October 14, 2005, 03:51:09 AM »

Quote
what looks like ascii art gone wrong


 Grin
Logged
ovehal
Participant
*
Posts: 16


View Profile Give some DonationCredits to this forum member
« Reply #13 on: January 20, 2006, 06:13:23 AM »

Can't seem to get + in email addresses to work.
Is it dependent on what type of SMTP server you are using?

Hmm, it worked to my gmail... I'll be checking.
Ove.

Well, though not recommended, there are other officially valid characters according to the RFC's than + and -

<offtopic>I never knew about how useful + is in email addresses until recently, you can use it to tag mail addresses which nevertheless go into the same mailbox, e.g. John+forumA@example.com and John+forumB@example.com both get delivered to the same box (John@example.com) but allows you to distinguish / filter them</offtopic>
Logged
shadez
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #14 on: February 02, 2006, 11:12:38 PM »

hello everybody, i'm newbie FARR user

can i lunch programs with atributes like: "ping donationcoder.com"

i don't want any scary aliases, i just want run different programs with attributes from FARR..

thanks for answers, sorry for bad english  Wink
Logged
mouser
First Author
Administrator
*****
Posts: 32,668



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: February 02, 2006, 11:37:36 PM »

sure, it's easy , but you have to set up an alias for the commands (like ping) that you want to do this with.

create an alias group like this:


(download the alias file at the top of this page and see more examples)
Logged
nudone
Cody's Creator
Columnist
***
Posts: 4,116



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #16 on: February 04, 2006, 09:53:27 AM »

i feel like i've just woken up from a hyper-sleep session - only just taken note of the sample alias file and email fixes - amazing. incredible. astounding.
Logged
Pages: [1]   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.043s | Server load: 0.07 ]