topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday December 13, 2024, 4:33 am
  • 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

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

tonyp

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 12
    • View Profile
    • Donate to Member
Open path expression + slight typo?
« on: March 13, 2006, 03:34 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 AM by tonyp »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Open path expression + slight typo?
« Reply #1 on: March 13, 2006, 03:50 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
    • Donate to Member
Re: Open path expression + slight typo?
« Reply #2 on: March 13, 2006, 07:01 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
  • ***
  • default avatar
  • Posts: 12
    • View Profile
    • Donate to Member
Re: Open path expression + slight typo?
« Reply #3 on: March 14, 2006, 05:36 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.