Welcome Guest.   Make a donation to an author on the site October 23, 2014, 12:15:18 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.
 
Read the full one-year retrospective report on DonationCoder.com.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DONE: Time Stamp to Clipboard  (Read 24215 times)
hurricanedavid
Participant
*
Posts: 17

View Profile Give some DonationCredits to this forum member
« on: October 12, 2005, 10:20:46 AM »

Windows Notepad has a great little F5 (I think) to insert a time/date stamp.  But many programs do not.

What about a little app that stays in the systray and copies a configurable time/date stamp into the clipboard?  Then you can paste a timestamp into any program.

Right-clicking on systray icon would allow you to choose from some different formatted stamps perhaps.  And perhaps some you have configured yourself.

Examples:

John Smith [4/15/2005] -
2005.4.15 16:45
Blog Entry: 2005.4.15.16.45
Wednesday, April 15, 2005
15 Apr 2005
Apr 15, '05
04/15/2005 04:45pm
200504151645


(the last one would be great for pasting into filenames when making backups)
« Last Edit: March 31, 2006, 08:21:12 AM by brotherS » Logged
mouser
First Author
Administrator
*****
Posts: 33,578



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

great idea.
Logged
AbteriX
Charter Honorary Member
***
Posts: 1,050


Member #520

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

In case you don't know about...

For such issue i use TClockEx1.4.2
http://users.iafrica.com/d/da/dalen/tclockex.htm
http://www.georgedillon.c...b/freeware/tclockex.shtml


There are also TClock
http://homepage1.nifty.co...on/tclocklight/index.html
http://shii.org/tclock
Logged

Greetings, Stefan.
hurricanedavid
Participant
*
Posts: 17

View Profile Give some DonationCredits to this forum member
« Reply #3 on: October 12, 2005, 01:23:29 PM »

I was not able to get to TClockEx.  But the second set of links pointed me to TClock2 which I installed.  Nice.

However, TClock2 only allows one format at a time.  And it does not allow for prefix/suffix text.  So perhaps this one could still be considered a possibility.
Logged
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #4 on: October 12, 2005, 05:37:24 PM »

 smiley I think my TicTocTitle from http://www.donationcoders.com/skrommel will do what you want.

Skrommel
« Last Edit: October 13, 2005, 07:16:37 PM by skrommel » Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
AbteriX
Charter Honorary Member
***
Posts: 1,050


Member #520

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

...  And it does not allow for prefix/suffix text.

You must put ' single quotes '  around the p/s text.
like in this TooltipFormatString:
ddd, d MMM |'Woche' ww|DDD 'te Tag des Jahres'
(an old Registry export from my TClockEx.)
Logged

Greetings, Stefan.
hurricanedavid
Participant
*
Posts: 17

View Profile Give some DonationCredits to this forum member
« Reply #6 on: October 13, 2005, 09:04:57 AM »

Well gents, the key here is that the program would allow the person to choose on the fly between different time stamp formats that they've already preset.  Both TClock2 and TicTocTitle are excellent programs, but they do not offer this key feature.

I may need one format for a log file I'm working on, and another in emails I write, and another for comments in a PHP script I work in.  In both the programs mentioned, I have to go into the config to change the format for the time stamp, and in TicTocTitle, I have to restart the app.

TicTocTitle already has "Copy time and date" in the popup menu of the systray icon.  Now if it just had more formats to choose from (in that pop up menu), especially if those formats were configurable by the user, it would be perfect.
Logged
AbteriX
Charter Honorary Member
***
Posts: 1,050


Member #520

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

There was mention an clipboard utillity on this forum.
With this utillity you could set diff templates to past in too.
In this templates you can also use placeholders for time stamps.
So you could make a few templates with diff date/time items.
What was the name of this tool ?..........
Logged

Greetings, Stefan.
AbteriX
Charter Honorary Member
***
Posts: 1,050


Member #520

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

It was KanaClip
http://www.kana.homeip.net/index.php?i=43

[copy or print]
Permanent clip can be used to put predefined text.
Permanent clip has the ability to create sub menu, so can manage the text better.
Permanent clip uses simple text format so it can be easily edited by using any text editor.
Integrated functions to add current date and time.



---
AND ShortCut
could do such things too.
 http://www.typer.de/


HTH  huh
Logged

Greetings, Stefan.
AbteriX
Charter Honorary Member
***
Posts: 1,050


Member #520

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

> It was KanaClip

Ahh, and yes, you must read the HISTROY.txt !!!
to know how it works.



[copy or print]
______________________________________
23:16:18 03.08.2003 - Version 2.0.0.24
...
• Added symbols function for permanent clip. If permanent clip entry
  include the predefined symbol, it will be replaced by the associated
  text. For now, the symbols recognized are:
    %LONGDATE%       = current date in system long date format.
    %SHORTDATE%      = current date in system short date format.
    %LONGTIME%       = current time in system long time format.
    %SHORTTIME%      = current time in system short time format.
    %HOUR%           = current hour with leading zero (00-23).
    %SHORTHOUR%      = current hour without leading zero (0-23).
    %MINUTE%         = current minute with leading zero (00-59).
    %SHORTMINUTE%    = current minute without leading zero (0-59).
    %SECOND%         = current second with leading zero (00-59).
    %SHORTSECOND%    = current second without leading zero (0-59).
    %AMPM%           = the hour will be displayed in 12-hour format,
                       and the AM or PM will be displayed (depends on
                       system setting).
    %DATE%           = current date with leading zero (01-31).
    %SHORTDATE%      = current date without leading zero (1-31).
    %MONTH%          = current month with leading zero (01-12).
    %SHORTMONTH%     = current month without leading zero (1-12).
    %YEAR%           = current year in four-digit number (2003).
    %SHORTYEAR%      = current year in two-digit number (03).
    %MONTHSHORTNAME% = current month as an abbreviation (Jan-Dec) -
                       depends on system setting.
    %MONTHLONGNAME%  = current month as full name (January-December) -
                       depends on system setting.
    %DAYSHORTNAME%   = current day as an abbreviation (Sun-Sat) -
                       depends on system setting.
    %DAYLONGNAME%    = current day as a full name (Sunday-Saturday) -
                       depends on system setting.
  Example:
    Updated: %MONTHLONGNAME% %DATE%, %YEAR%
  will be replaced by
    Updated: August 6, 2003

______________________________________
Logged

Greetings, Stefan.
AbteriX
Charter Honorary Member
***
Posts: 1,050


Member #520

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

.


* KanaClip.jpg (75.07 KB, 722x408 - viewed 1279 times.)
Logged

Greetings, Stefan.
hurricanedavid
Participant
*
Posts: 17

View Profile Give some DonationCredits to this forum member
« Reply #11 on: October 13, 2005, 12:01:18 PM »

I had downloaded the latest stable version of KanaClip and I like it.  I think it will replace my Clipomatic (that I've been using for years).

I was about to note that you can't change the date.  But I saw the recent posting about the beta version and the time and date fomats that are supported.  Woof.  Looks like just what I want. 

And the good part about it is that if it works, I won't be adding another app to my systray, because I'll be removing one!

Thanks guys!
Logged
skrommel
Fastest code in the west
Developer
***
Posts: 882



View Profile WWW Give some DonationCredits to this forum member
« Reply #12 on: October 13, 2005, 06:33:47 PM »

 smiley In the meantime, try this!

TimeStamp - Copies user defined times and dates to the Clipboard.

Features:
- Multiple user defined timestamps.
- Doubleclick the tray icon to copy the last used timstamp.



You'll find the downloads and more info at Skrommel Software.

Skrommel

Logged

Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
zridling
Friend of the Site
Charter Member
***
Posts: 3,291


Linux captive

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

Once again, Skrommel comes to my rescue. Needed an app like this for years for correspondence and telephone conversations. THANKS!
Logged

- zaine (on Google+)
bliss
Charter Member
***
Posts: 19


la la la-la

View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #14 on: March 10, 2006, 10:55:33 PM »

This isn't exactly the same idea, but somewhat similar:

[copy or print]
;;; ClipDate v0.1 bLisTeRinG 2004 ;;;

#Persistent
tmSave = %Clipboard%
tmIni = ClipDate.ini
FileInstall, ClipDate.ini, %A_ScriptDir%\%tmIni%, 0
iniRead, tmClp, %tmIni%, options, iniFile
iniRead, db, %tmIni%, options, debug
Loop, 14
  {
  iniRead, tmM, %tmIni%, menu, menu%a_index%
  iniRead, tmC, %tmIni%, menu, code%a_index%
  If tmM = Error
    {
    Break
    }
    Else
    {
    tmC%a_index% = %tmC%
    Menu, Tray, add, %tmM%, tmGo
    IfEqual, db, yes, MsgBox, iniFile:`t%tmIni%`nmenu:`t%tmM%`nvar:`ttmC%a_index%`ncode:`t%tmC%`ndebug:`t%db%
    }
  }
Menu, Tray, add,
Menu, Tray, add, Clip&Date, tmCD
Menu, Tray, add, Clip&Time, tmCT
Menu, Tray, add, Clip&Both, tmCB
Menu, Tray, add,
Menu, Tray, add, &KeepOpen, tmKeep
IfExist, %tmClp%, Menu, Tray, add, &Clipboard, tmClip
Menu, Tray, add, E&xit, tmExit
Menu, Tray, icon, %a_WinDir%\Clipbrd.exe
Menu, Tray, tip, %Clipboard%
Menu, Tray, default, Clip&Date
Menu, Tray, nostandard
Menu, Tray, show
Return

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; presets
tmCB:
FormatTime, tmT, , h:mm tt
Clipboard = %tmT% %a_dddd% %a_mmmm% %a_dd% %a_yyyy%
Menu, Tray, default, Clip&Both
Goto tmTT

tmCD:
Clipboard = %a_dddd% %a_mmmm% %a_dd% %a_yyyy%
Menu, Tray, default, Clip&Date
Goto tmTT

tmCT:
FormatTime, tmT, , h:mm tt
Clipboard = %tmT%
Menu, Tray, default, Clip&Time
Goto tmTT

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; routines
tmTT:
Tooltip, %Clipboard%
Menu, Tray, Tip, %Clipboard%
SetTimer, tmTTX, 7000
IfEqual, tmKeep, yes, Menu, Tray, show
Return

tmKeep:
If tmKeep = yes
  {
  tmKeep = no
  Menu, Tray, uncheck, &KeepOpen
  }
  Else
  {
  tmKeep = yes
  Menu, Tray, check, &KeepOpen
  }
Menu, Tray, show
Return

tmClip:
Run, %tmClp%
Menu, Tray, show
Return

tmTTX:
SetTimer, tmTTX, Off
ToolTip,
If tmKeep = yes
  {
  Return
  }
Goto tmExit

tmExit:
IfWinExist, Clipboard Viewer
  {
  WinClose,
  }
Clipboard = %tmSave%
ExitApp

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; get settings
tmGo:
;;; Keep the last chosen MenuItem as double-click default.
Menu, Tray, default, %A_ThisMenuItem%

;;; Get Menu# to choose Variable# (tm) & Clear Clipboard.
Transform, tm, deref, `%tmC%a_ThisMenuItemPos%`%
Clipboard =

;;; Split variable(tm) into Array (tmA1...tmAx)
StringSplit, tmA, tm, %A_Space%, `%`,

;;; Get Items from Line (raw:tmB fixed:tmD)
Loop, 10
  {
  tmB = `%tmA%a_index%`%
  Transform, tmD, deref, %tmB%
  IfEqual, tmD, , Break
  tmE = `%%tmD%`%
  tmF =
  Transform, tmF, deref, %tmE%
  ;ToolTip, D:`t%tmD%`nF:`t%tmF%
  ;Sleep, 2000
  If tmF =
    {
    ;msgbox, Table
    If tmD = a_mmmm
      {
      tmF = %a_mmmm%
      }
    If tmD = a_mmm
      {
      tmF = %a_mmm%
      }
    If tmD = a_dddd
      {
      tmF = %a_dddd%
      }
    If tmD = a_ddd
      {
      tmF = %a_ddd%
      }
    If tmD = comma
      {
      tmF = `,%a_space%
      }
    ;ToolTip, Table:`t%tmF%
    ;Sleep, 2000
    Clipboard = %Clipboard%%tmF%
    }
    Else
    {
    Clipboard = %Clipboard% %tmF%
    }
  IfEqual, db, yes, MsgBox, item:`t%a_index%`nB Raw:`t%tmB%`nD Code:`t%tmD%`nE Raw:`t%tmE%`nF String:`t%tmF%`nClip:`t%Clipboard%
  }
tmA1=
tmA2=
tmA3=
tmA4=
tmA5=
tmA6=
tmA7=
tmA8=
tmA9=
tmB=
tmD=
tmE=
tmF=
Goto tmTT



Anyway it might be ok for someone...

gq.
Logged

Am we there yet?
springro
Charter Member
***
Posts: 39


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #15 on: March 31, 2006, 07:44:42 AM »

Sounds like this has been solved for most people, but here's how I went at this.

Half  the time I need a date or time stamp, I'm typing and don't want to go to the mouse - nor do I need it to go to the clipboard.

So... Just use a keyboard shortcut and/or replacement codes and you can setup however you like the dates.
The string replacement works than a control combination when you're renaming a file.

I used the that are pretty uncommon words to type otherwise:
":date"  ->31Mar2006 08:35   (date & time stamp)
";date" -> 31Mar2006
"ddate" -> 03-31-06  (dash date)
"udate" -> 03_31_06  (underline date)
"sdate" -> 03/31/06 (slash date)

[copy or print]
; ----- Enter current date & time when :date is typed  --------
:::date::
  SetKeyDelay,0
  Send %A_DD%%A_MMM%%A_Year% %A_Hour%:%A_Min% 
return

; ----- Enter current date when ;date is typed  --------
::;date::
  SetKeyDelay,0
  Send %A_DD%%A_MMM%%A_Year%
return

; s+date = slash date MM/DD/YY
::sdate::
    StringRight, year, A_YYYY, 2
    Send %A_Mon%/%A_Mday%/%year%
return

; ----- Std format dates (for filenaming) --------
; d date = dash date MM-DD-YY
::ddate::
    StringRight, year, A_YYYY, 2
    Send %A_Mon%-%A_Mday%-%year%
return
; u+date = underline date MM_DD_YY
::udate::
    StringRight, year, A_YYYY, 2
    Send %A_Mon%_%A_Mday%_%year%
return

Sending a copy of the same information to the clipboard would be a simple addition.

Best,
Rob
Logged
TychoBarfy
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« Reply #16 on: February 22, 2007, 04:48:51 PM »

2hurricanedavid, great little tool.
I'm german using german locale on my system, but for editing my RSS feed manualy I need a timestamp, which uses the english locale.

If I want to use a string like this
Ddd, dd Mmm yyyy HH:mm:ss GMT
I only get the german string
Do, 22 Feb 2007 23:31:29 GMT
but I wish to have the english one
Thu, 22 Feb 2007 22:31:29 GMT

Would it be possible, to implement the option to choose the locale?
May be like this
en>Ddd, dd Mmm yyyy HH-1:mm:ss GMT

To implement only the english locale as additional choice for people with other system locales than english would be enough.
To substract one hour by hand would not be the problem.
Logged
TychoBarfy
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« Reply #17 on: February 23, 2007, 04:55:18 AM »

Made a small JavaScript now.
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.044s | Server load: 3.95 ]