http://www.autohotkey.com/docs/comma...s.htm#DateTime
It's got the time and date function but i'll be truthfull i havn't a clue how to get this to output along with
Code:^!s:: Send Sincerely,{Enter}John Smith return
http://www.autohotkey.com/docs/comma...s.htm#DateTime
It's got the time and date function but i'll be truthfull i havn't a clue how to get this to output along with
Code:^!s:: Send Sincerely,{Enter}John Smith return
This work but I can not figure out how instead of producing a msg box this outputs along with the script aboveCode:FormatTime, TimeString MsgBox The current time and date (time first) is %TimeString%
Code:^!s:: Send Processing Stoped By K Shuttleworth {Enter} FormatTime, TimeString Send The current time and date is %TimeString% {Enter} return
Well that's achieved the first part of the task, now they want to include in the script the alt of the first response, I can't seem to find the option that closes off the first part of the script and then allows a new key combo to be used for the 2nd output
return; ?
and then define your next macro i.e.
edit: this is actually quite good...Code:^!a:: ; First hotkey Send first text of whatever ; return ; ends hot key ^!b:: ; second hotkey Send second text of whatever ; return ; ends hot key ^!c:: ; third hotkey Send third text of whatever ; return ; ends hot key
might be worthwhile grabbing http://www.autohotkey.net/~fincs/Sci...oHotkey_2/web/ for the syntax highlighting and auto complete
Last edited by TAKTAK; 03-07-2009 at 04:46 PM.
Yeah am using that to edit the scripts
I know what's coming next, just seen some of the notes and they want to include varibles and so forth - why did I agree to this
This has now been coded and complied and the user is happy with the outcome, thanks for your help lads.Code:!s:: ;this is the key that triggers the script currently set to alt + s Send Processing Stoped By K Shuttleworth {Enter} ; this sends the text to the current active box FormatTime, TimeString ; this is the time var Send %TimeString% {Enter} ; this sends the time var to the current active box return !a:: ;this is the key that triggers the script currently set to alt + a Send Authorised by K Shuttleworth {Enter} ; this sends the text to the current active box FormatTime, TimeString ; this is the time var Send %TimeString% {Enter} ; this sends the time var to the current active box Send Order Number 020-[ ], Nominal [ ] ; this sends the text to the current active box return
There are currently 1 users browsing this thread. (0 members and 1 guests)