Page 2 of 2 FirstFirst 12
Results 17 to 24 of 24

Thread: Trigged / Set Response On A Webpage

  1. #17
    Chaos Monkey Apex's Avatar
    Join Date
    Jul 2003
    Location
    Huddersfield
    Posts
    4,709
    Thanks
    1,143
    Thanked
    285 times in 204 posts
    • Apex's system
      • Motherboard:
      • Asus Z87M-PLUS
      • CPU:
      • Intel i5-4670K
      • Memory:
      • 32 GiB
      • Storage:
      • 20 TiB
      • Graphics card(s):
      • PowerColor Radeon RX 6700 Fighter 10GB OC
      • PSU:
      • 750
      • Case:
      • Core View 21
      • Operating System:
      • Windows 10 pro
      • Monitor(s):
      • Dell S2721DGFA
      • Internet:
      • 200Mb nTL Cable

    Re: Trigged / Set Response On A Webpage

    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

  2. #18
    Chaos Monkey Apex's Avatar
    Join Date
    Jul 2003
    Location
    Huddersfield
    Posts
    4,709
    Thanks
    1,143
    Thanked
    285 times in 204 posts
    • Apex's system
      • Motherboard:
      • Asus Z87M-PLUS
      • CPU:
      • Intel i5-4670K
      • Memory:
      • 32 GiB
      • Storage:
      • 20 TiB
      • Graphics card(s):
      • PowerColor Radeon RX 6700 Fighter 10GB OC
      • PSU:
      • 750
      • Case:
      • Core View 21
      • Operating System:
      • Windows 10 pro
      • Monitor(s):
      • Dell S2721DGFA
      • Internet:
      • 200Mb nTL Cable

    Re: Trigged / Set Response On A Webpage

    Code:
    FormatTime, TimeString
    MsgBox The current time and date (time first) is %TimeString%
    This work but I can not figure out how instead of producing a msg box this outputs along with the script above

  3. #19
    HEXUS.social member Disturbedguy's Avatar
    Join Date
    Nov 2006
    Location
    Manchester
    Posts
    5,134
    Thanks
    844
    Thanked
    489 times in 360 posts
    • Disturbedguy's system
      • Motherboard:
      • Asus Rog Strix Z370-H Gaming
      • CPU:
      • i7 8700K
      • Memory:
      • 16GB Corsair something or other
      • Storage:
      • 1 x Samsung 960 EVO (250GB) 1 x Samsung 850 EVO (500GB)
      • Graphics card(s):
      • GTX 1080Ti
      • Operating System:
      • Windows 7 Ultimate
      • Monitor(s):
      • 32inch Samsung TV
      • Internet:
      • Crap

    Re: Trigged / Set Response On A Webpage

    I do know that the MsgBox is what is causing the time and date to display in the box, but how to get it to output with the rest im not 100% sure, at a guess, remove the MsgBox?
    Quote Originally Posted by TAKTAK View Post
    It didn't fall off, it merely became insufficient at it's purpose and got a bit droopy...

  4. #20
    Chaos Monkey Apex's Avatar
    Join Date
    Jul 2003
    Location
    Huddersfield
    Posts
    4,709
    Thanks
    1,143
    Thanked
    285 times in 204 posts
    • Apex's system
      • Motherboard:
      • Asus Z87M-PLUS
      • CPU:
      • Intel i5-4670K
      • Memory:
      • 32 GiB
      • Storage:
      • 20 TiB
      • Graphics card(s):
      • PowerColor Radeon RX 6700 Fighter 10GB OC
      • PSU:
      • 750
      • Case:
      • Core View 21
      • Operating System:
      • Windows 10 pro
      • Monitor(s):
      • Dell S2721DGFA
      • Internet:
      • 200Mb nTL Cable

    Re: Trigged / Set Response On A Webpage

    Code:
    ^!s::
    Send Processing Stoped By K Shuttleworth {Enter}
    FormatTime, TimeString
    Send The current time and date is %TimeString% {Enter} 
    return

  5. #21
    Chaos Monkey Apex's Avatar
    Join Date
    Jul 2003
    Location
    Huddersfield
    Posts
    4,709
    Thanks
    1,143
    Thanked
    285 times in 204 posts
    • Apex's system
      • Motherboard:
      • Asus Z87M-PLUS
      • CPU:
      • Intel i5-4670K
      • Memory:
      • 32 GiB
      • Storage:
      • 20 TiB
      • Graphics card(s):
      • PowerColor Radeon RX 6700 Fighter 10GB OC
      • PSU:
      • 750
      • Case:
      • Core View 21
      • Operating System:
      • Windows 10 pro
      • Monitor(s):
      • Dell S2721DGFA
      • Internet:
      • 200Mb nTL Cable

    Re: Trigged / Set Response On A Webpage

    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

  6. #22
    I R Toff Pandi! TAKTAK's Avatar
    Join Date
    Mar 2008
    Location
    Vergon6
    Posts
    7,450
    Thanks
    553
    Thanked
    1,012 times in 747 posts
    • TAKTAK's system
      • Motherboard:
      • ASUS ROG STRIX B450-F GAMING
      • CPU:
      • Ryzen 7 3700X
      • Memory:
      • 16GB Corsair Vengeance LPX 3200MHz
      • Storage:
      • 500GB Samsung 970 EVO
      • Graphics card(s):
      • 5700 XT 50th Anniversary
      • PSU:
      • Be Quiet SFX-L 600W
      • Case:
      • Lian Li PC-O11 Mini
      • Operating System:
      • Windows 10
      • Monitor(s):
      • LG Ultrawide
      • Internet:
      • 200Mb FTTP

    Re: Trigged / Set Response On A Webpage

    Quote Originally Posted by Apex View Post
    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.

    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
    edit: this is actually quite good...
    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.
    Post Counts and Other Rewards, Rules, Folding@Home, Fans: Push vs Pull vs Push-Pull, Corsair PSU OEMs.

    Quote Originally Posted by razer121 View Post
    Would you like me to enter you? it would be my pleasure
    TAKTAK.co.uk

  7. #23
    Chaos Monkey Apex's Avatar
    Join Date
    Jul 2003
    Location
    Huddersfield
    Posts
    4,709
    Thanks
    1,143
    Thanked
    285 times in 204 posts
    • Apex's system
      • Motherboard:
      • Asus Z87M-PLUS
      • CPU:
      • Intel i5-4670K
      • Memory:
      • 32 GiB
      • Storage:
      • 20 TiB
      • Graphics card(s):
      • PowerColor Radeon RX 6700 Fighter 10GB OC
      • PSU:
      • 750
      • Case:
      • Core View 21
      • Operating System:
      • Windows 10 pro
      • Monitor(s):
      • Dell S2721DGFA
      • Internet:
      • 200Mb nTL Cable

    Re: Trigged / Set Response On A Webpage

    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

  8. #24
    Chaos Monkey Apex's Avatar
    Join Date
    Jul 2003
    Location
    Huddersfield
    Posts
    4,709
    Thanks
    1,143
    Thanked
    285 times in 204 posts
    • Apex's system
      • Motherboard:
      • Asus Z87M-PLUS
      • CPU:
      • Intel i5-4670K
      • Memory:
      • 32 GiB
      • Storage:
      • 20 TiB
      • Graphics card(s):
      • PowerColor Radeon RX 6700 Fighter 10GB OC
      • PSU:
      • 750
      • Case:
      • Core View 21
      • Operating System:
      • Windows 10 pro
      • Monitor(s):
      • Dell S2721DGFA
      • Internet:
      • 200Mb nTL Cable

    Re: Trigged / Set Response On A Webpage

    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
    This has now been coded and complied and the user is happy with the outcome, thanks for your help lads.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 63
    Last Post: 14-11-2011, 09:17 AM
  2. Caller ID on your PC
    By mattc in forum Help! Quick Relief From Tech Headaches
    Replies: 29
    Last Post: 22-09-2010, 11:52 AM
  3. No response to messages
    By AD-15 in forum SCAN.care@HEXUS
    Replies: 4
    Last Post: 27-10-2008, 10:23 AM
  4. TFT monitor - help on response times!
    By pink-fairy in forum Help! Quick Relief From Tech Headaches
    Replies: 6
    Last Post: 27-10-2004, 04:44 PM
  5. HELP Needed/SATA & RAID Drivers and set up
    By Nick Redland in forum Help! Quick Relief From Tech Headaches
    Replies: 2
    Last Post: 12-08-2004, 10:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •