Search found 49 matches

by RyanAyton
24 Apr 2019, 12:59
Forum: Ask For Help
Topic: Replace the underscore characters but not CRLF
Replies: 3
Views: 101

Replace the underscore characters but not CRLF

I have the following content in my clipboard which I am changing from: _ Option 1 _ (Enter in the information between the *) *FirstName:* *LastName:* *Email:* *Address:* *Contact Number:* _ Option 2 _ (Enter in the information between the *) *FirstName:* *LastName:* *Email:* *Address:* *Contact Numb...
by RyanAyton
24 Apr 2019, 06:24
Forum: Ask For Help
Topic: How to only replace the odd occurrences of a character in the clipboard Topic is solved
Replies: 6
Views: 178

Re: How to only replace the odd occurrences of a character in the clipboard Topic is solved

That's brilliant thank you for that! It's now working when editing the headers thank you. I should have mentioned it earlier but I have contents within each section and it's removing the returns from the clipboard, as shown below: _ Option 1 _ (Enter in the information between the *) *FirstName:* *L...
by RyanAyton
24 Apr 2019, 04:56
Forum: Ask For Help
Topic: How to only replace the odd occurrences of a character in the clipboard Topic is solved
Replies: 6
Views: 178

How to only replace the odd occurrences of a character in the clipboard Topic is solved

Hello All, I have similar contents in my clipboard, which has x amount of sections: _Option 1_ _Option 2_ _Option 3_ I was looking to replace only the odd occurrences of the '_' character and remove the even occurrences so it would then show the following: h3. Option 1 h3. Option 2 h3. Option 3 I wa...
by RyanAyton
10 Aug 2018, 09:41
Forum: Ask For Help
Topic: If InString is a 8 digit integer, create folder Topic is solved
Replies: 2
Views: 186

If InString is a 8 digit integer, create folder Topic is solved

Hello I want to be able to create a folder with the name of the clipboard contents, which should be an 8 digit integer. Once this is created, it should then open it, and then create a text file with the same name as the folder it's contained within, and enter in a pre-configured template. #h:: IfInS...
by RyanAyton
20 Jul 2018, 09:06
Forum: Ask For Help
Topic: Edit ahk file from within GUI Topic is solved
Replies: 1
Views: 186

Edit ahk file from within GUI Topic is solved

Hello all, I have the following gui ahk that loads in the Abb.ahk into the GUI: FileRead,FileContents,C:\Users\Administrator\Documents\AutoHotkey\Macro List\Abb.ahk Gui ReadAbb: Add, edit, w600 h350, %FileContents%, vFile Gui ReadAbb: Show, w620 h400, Read Abbreviations Gui ReadAbb: Add, Button, w60...
by RyanAyton
20 Apr 2018, 02:07
Forum: Ask For Help
Topic: Any ideas for GUI improvements
Replies: 5
Views: 461

Re: Any ideas for GUI improvements

Hi Bobo

Sorry for the late response, something came up which I had to tend to.

Would it still be suitable to upload the gui for you to have a look at?
by RyanAyton
13 Mar 2018, 14:57
Forum: Ask For Help
Topic: Auto-shorten urls through https://goo.gl
Replies: 1
Views: 158

Auto-shorten urls through https://goo.gl

Hello All I shorten urls a lot in my emails using https://goo.gl but I was wondering if autohotkey could do it instead I know I could do something like: #v:: Send ^t Send https://goo.gl {enter} Send ^v {enter} ; clipboard contents Is there a way of this but "hidden" at all or even amending the regis...
by RyanAyton
13 Mar 2018, 05:41
Forum: Ask For Help
Topic: Any ideas for GUI improvements
Replies: 5
Views: 461

Re: Any ideas for GUI improvements

It's okay the gui works fine. I was just looking for ideas to add to it.
More for improving the keyboard functionality like abbreviations and disable/enable keys
by RyanAyton
12 Mar 2018, 18:50
Forum: Ask For Help
Topic: Any ideas for GUI improvements
Replies: 5
Views: 461

Any ideas for GUI improvements

Hello All, I currently have a GUI that allows end-users to select which ahks to run based on which checkboxes they selected. If it helps, it is in a fast paced Technical Support environment. Currently it allowed them to create their own abbreviations, email template, generate a numbered list, trigge...
by RyanAyton
28 Feb 2018, 07:55
Forum: Ask For Help
Topic: Add the closing ")" / "]" / "}" if the opening "(" / "[" / "{" is entered
Replies: 8
Views: 389

Re: Add the closing ")" / "]" / "}" if the opening "(" / "[" / "{" is entered

kArThIcK hAcKeR 333 wrote:or try this code below

Code: Select all

:$*:(::{(}{)}{Left}
Return
Ahh okay thank you :)
what does the $ represent?
by RyanAyton
28 Feb 2018, 07:54
Forum: Ask For Help
Topic: Add the closing ")" / "]" / "}" if the opening "(" / "[" / "{" is entered
Replies: 8
Views: 389

Re: Add the closing ")" / "]" / "}" if the opening "(" / "[" / "{" is entered

I think I've got it! :)
I couldn't seem to get it working at first but completely stopping the .ahk and starting it again got it working:

Code: Select all

:*:(::()
:*:[::[]
:*:{::{}
:*:"::""
:*:'::''
:*:<::<>
by RyanAyton
28 Feb 2018, 07:43
Forum: Ask For Help
Topic: Add the closing ")" / "]" / "}" if the opening "(" / "[" / "{" is entered
Replies: 8
Views: 389

Add the closing ")" / "]" / "}" if the opening "(" / "[" / "{" is entered

Hello

Is it possible to have the closing appropriate character if the opening one is entered?

For example, this would apply for the following:
" "
( )
[ ]
{ }
' '
< >

Many thanks!
by RyanAyton
23 Feb 2018, 16:43
Forum: Ask For Help
Topic: GUI - a + button adds another textbox in its place
Replies: 1
Views: 225

GUI - a + button adds another textbox in its place

Hello How would you go about having a + button add a new textbox in to the gui? The reason for this is because I want the end user to be able to put in additional field(s) if it's needed. Also say if this is possible, could it also automatically extend the gui window - or scrollable - in case the en...
by RyanAyton
22 Feb 2018, 14:48
Forum: Ask For Help
Topic: Format existing abbreviations.ahk into editable textboxes
Replies: 3
Views: 253

Re: Format existing abbreviations.ahk into editable textboxes

MaxAstro wrote:You can do this using the Hotstring() function.
Could you please elaborate with the hotstring function as well as an example?
by RyanAyton
21 Feb 2018, 15:48
Forum: Ask For Help
Topic: Format existing abbreviations.ahk into editable textboxes
Replies: 3
Views: 253

Format existing abbreviations.ahk into editable textboxes

Hello, I've got a gui which allows users to create their own abbreviations and it saves it into an ahk like so: ::idk::i don't know ::fyi::for your information ......... Is there a way of taking this data in the abbreviations.ahk and put it into an editable textbox where the end-user can edit the ex...
by RyanAyton
06 Feb 2018, 14:50
Forum: Ask For Help
Topic: Help with IF statement
Replies: 1
Views: 138

Help with IF statement

I have the following code: ::#paste:: If (data0 = 3) { StringReplace, clipboard, clipboard, `r`n, /, All StringSplit, data, clipboard, /, Send, First: %data1%`nSecond: %data2%`nThird: %data3% } If (data0 = 4) { StringReplace, clipboard, clipboard, `r`n, /, All StringSplit, data, clipboard, /, Send, ...
by RyanAyton
19 Jan 2018, 10:06
Forum: Ask For Help
Topic: With AutoHotkey GUI, how to have the title to the left of the checkbox instead of the right
Replies: 2
Views: 222

With AutoHotkey GUI, how to have the title to the left of the checkbox instead of the right

Hello, As an example, I have this code: Gui, Show, x730 y15 w400 h200, Test Gui, +AlwaysOnTop Gui, 1: Add, Checkbox, w90 x10 y15 vAbb, Abbreviations Return With this the checkbox name is to the right of the checkbox. Is it possible to have "Abbreviations" to the left instead of the right of the chec...

Go to advanced search