Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • September 01, 2015, 03:00:26 AM
  • Proudly celebrating 10 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

Author Topic: Open path expression + slight typo?  (Read 2711 times)

tonyp

  • Charter Member
  • Joined in 2006
  • ***
  • gravatar avatar
  • Posts: 12
    • View Profile
    • Donate to Member
Open path expression + slight typo?
« 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 »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,967
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Open path expression + slight typo?
« 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.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Open path expression + slight typo?
« 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:

tonyp

  • Charter Member
  • Joined in 2006
  • ***
  • gravatar avatar
  • Posts: 12
    • View Profile
    • Donate to Member
Re: Open path expression + slight typo?
« 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.