+ Post New Thread
Results 1 to 3 of 3
General Chat Thread, Could use some help with AutoHotKey in General; Sorry if this is posted in the wrong spot but usually when I dont know where to post it I ...
  1. #1
    Yeo695's Avatar
    Join Date
    Feb 2013
    Posts
    122
    Thank Post
    34
    Thanked 43 Times in 11 Posts
    Rep Power
    21

    Could use some help with AutoHotKey

    Sorry if this is posted in the wrong spot but usually when I dont know where to post it I post in general...

    I've been learning AHK for some time now and I constantly edit ridiculously large send commands. To easily be able to open up my AHK file and without having to scroll a few miles to the right and locate what i'm looking for. I've been trying to get splitting a long line into a series of shorter ones to work and it does but every time I start a new line with a comma in ahk it literally sends the comma. I've also tried and, && in the beginning but same thing happens. Any help would be greatly appreciated!


    For example

    HTML Code:
    ::unc::In relation to the work order you submitted about the account that needed to be created. 
    ,{Enter}I was able to create the account with no issues. Here are the credentials {Enter} 
    ,{Enter}Name: {Enter}Username: {Enter}Password: {Enter} 
    ,{Enter}If you have any more issues,please feel free to let us know. 
    ,{Enter} {Enter}Thank you,
    but what comes out is below with commas I don't want in bold red.


    In relation to the work order you submitted about the account that needed to be created. ,

    I was able to create the account with no issues. Here are the credentials
    ,
    Name:
    Username:
    Password:
    ,
    If you have any more issues,please feel free to let us know. ,

    Thank you,


  2. #2
    MordyT's Avatar
    Join Date
    Sep 2012
    Location
    In a computer
    Posts
    426
    Thank Post
    43
    Thanked 68 Times in 63 Posts
    Rep Power
    19
    New line in ahk can be done with `n , no need for {enter}. Try this for readability in the ahk file..
    ::UNC::
    SentInput, replacement line 1 `n
    SentInput, replacement line 2
    Return

  3. Thanks to MordyT from:

    Yeo695 (18th October 2013)

  4. #3
    Yeo695's Avatar
    Join Date
    Feb 2013
    Posts
    122
    Thank Post
    34
    Thanked 43 Times in 11 Posts
    Rep Power
    21
    Thank you very much! Just what I needed and it works perfect

SHARE:
+ Post New Thread

Similar Threads

  1. Some help with choosing Crimbo presents!
    By Little-Miss in forum General Chat
    Replies: 1
    Last Post: 25th November 2010, 09:50 PM
  2. Replies: 6
    Last Post: 30th September 2010, 03:17 PM
  3. Replies: 2
    Last Post: 10th October 2009, 11:12 PM
  4. Can someone give me some help with getting LanView3 working?
    By boomam in forum Network and Classroom Management
    Replies: 19
    Last Post: 10th June 2008, 02:40 PM
  5. Replies: 11
    Last Post: 7th March 2008, 02:28 PM

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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