ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

DONE: key combination should paste current date, time and USERNAME (Request...

(1/2) > >>

ERChambers:
Does anyone have an AutoHotkey script which upon hitting a shortcut key combination will enter in a text string of the current date, time and USERNAME into any program like e-mail or anything else?

brotherS:
Hi!

Maybe we could help you better when you tell us more about that task?

For example, adding


--- ---:o*:.udc::https://www.donationcoder.com/forum/index.php

to your AHK script (just right-click AutoHotkey's tray icon and edit it - read http://www.autohotkey.com/ yet?) will allow you to type .udc anywhere and - voila - you'll get the DonationCoder URL :)

ERChambers:
Sure, thanks so much for the prompt moderation...  What I have is that we are getting ready to switch our software user support department off of our old unix based call tracking software to Microsoft CRM (oh-boy).  Our old system had a shortcut key defined where one could hit <shift> ~  at any time and get the text string for the current date, time, and user initials entered in to the resolution text of the support call to help document the progress of the assisting of the customer.  Now that we are going away from that old system and over to the new web-based customer relation ship management system I wanted to give my users a similar Windows shortcut key that would allow them to just hit <ctrl> ~ and get the current date time and USERNAME entered in at the current cursor position whether that is in the Microsoft CRM in a text field or in MS Outlook or whatever.  I started looking at different apps and have found four that we are looking in to.  "Super Keys", "AutoHotKey", "Free QuickLauncher", "MemoKeys".  I would loved to get recommendations on what is the easiest and most cost effective and smallest memory "footprint" manner to solve this simple request.  I started to look into AutoHotKey but not being a programmer god, it was probably going to take me quite a while to get familiar with it and make it happen.  Any suggestions?  Thanks a tin for any assistance or recommendations you can offer.  ERC...

jgpaiva:
This post should be moved to Coding Snacks section ;)

You're looking for something like this:

--- ---#persistent

^~::
Send,%A_NowUTC% - %A_UserName%
return
A script only containing this, might be not what you're looking for, because it uses 1.2mb of ram.
The thing is, if you add more functionalities to it, it'll use almost the same resources as this one.
So, it's up to you to decide if it fits what you're looking for.

ERChambers:
Very cool.  Thanks, jgpaiva for that suggestion.  It does work but now as is usually the case when you give someone an inch they then want a mile...  Could you show me how to slip in the Date Formatting feature so the Date/Time output doesn't look so raw?

Navigation

[0] Message Index

[#] Next page

Go to full version