topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday March 28, 2024, 2:29 pm
  • 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: Beginner help please : Paste Date /Time format  (Read 3552 times)

Flippertie

  • Participant
  • Joined in 2010
  • *
  • Posts: 18
    • View Profile
    • Donate to Member
Beginner help please : Paste Date /Time format
« on: August 08, 2010, 10:59 PM »
I've had plain vanilla FARR installed for a while - and I'm now trying to delve a little deeper in to the possibilities...

I know I can paste date and time (FARR > paste date <enter>) etc

I want to customize/extend that to have an alias:
 1) to use 'p' instead of 'paste'

 2) to paste a few pre-defined strings, 

ie Dates (%d/%m/%y,  %y%m%d%H%M etc) or my email address.

I'm sure it's simple enough but I can't find any forum threads discussing it.  If someone could give me an example or point me to some documentation I'd be grateful.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Beginner help please : Paste Date /Time format
« Reply #1 on: August 08, 2010, 11:20 PM »
you can easily make an alias called "p"
with result entries like:
paste myemail | paste [email protected] /ICON=icons\farr\core-misc_paste.ico
paste date | paste %date% /ICON=icons\farr\core-misc_paste.ico
paste time | paste %time% /ICON=icons\farr\core-misc_paste.ico
paste date and time | paste %datetime% /ICON=icons\farr\core-misc_paste.ico


however, believe it or not, FARR does not have a way for you to specify a custom date format to paste.  i could add that, but it's just not something anyone has asked for yet.

this would be a nice idea for a little plugin though!

Flippertie

  • Participant
  • Joined in 2010
  • *
  • Posts: 18
    • View Profile
    • Donate to Member
Re: Beginner help please : Paste Date /Time format
« Reply #2 on: August 09, 2010, 08:46 AM »
thanks for the reply.

I assumed that because I can configure the date in the Title bar the variables would be available to use...

The only other person i found looking for something similar was at the end of this thread: https://www.donation....msg191072#msg191072

I can use a clipboard manager (like ArsClip) to do this already - but I thought that if Farr could handle it then it would be a fun thing to set up...