Welcome Guest.   Make a donation to an author on the site April 19, 2014, 09:40:38 AM  *

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 2014! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Open path expression + slight typo?  (Read 2507 times)
tonyp
Charter Member
***
Posts: 12

View Profile Give some DonationCredits to this forum member
« on: March 13, 2006, 03:34:02 AM »

I know this is basic stuff, but I was building a simple expression to open a folder on command like C:\misc files\ or F:\misc files\, etc.  Might be a good one to have built in some day, though you can use the "Run" alias with a bit more typing. For anyone else who wants it, use:

Name:
C:\ or whatever drive you know will be included

Regular expression pattern:
^([a-z]\:\\)(.*)

Results: (use two dollar signs, forum edits it out)
Open $1$2 | $1$2

Doesn't check for upper/lowercase, but doesn't seem to matter.

And am I mistaken or is there a slight error in that dialog?
"prefix descriptions with |"

The left side seems to be descriptions, and the right side commands... so | would prefix the command and not the description, wouldn't it?
« Last Edit: March 13, 2006, 03:53:16 AM by tonyp » Logged
mouser
First Author
Administrator
*****
Posts: 32,673



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: March 13, 2006, 03:50:44 AM »

quite right - that instruction is confusing; ill make a note to change it.

nice alias by the way, ill add it to the default selection if you dont mind.
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 #2 on: March 13, 2006, 07:01:03 AM »

This is a high quality alias, definatelly should be featured in the default section!
Thanks tonyp!
Another good thing about it is that if you have the icons of the folders personalized, when you get the folder's name right, the icon switches to the icon of the folder!
 Thmbsup Thmbsup
Logged

tonyp
Charter Member
***
Posts: 12

View Profile Give some DonationCredits to this forum member
« Reply #3 on: March 14, 2006, 05:36:37 PM »

nice alias by the way, ill add it to the default selection if you dont mind.

Not at all, hope it's as useful to others as it is myself.
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.029s | Server load: 0.05 ]