Search found 32 matches

by arochon
21 Apr 2018, 23:28
Forum: Ask For Help
Topic: Hotstring Length - Hit enter after select amount of characters for all hotstrings? Topic is solved
Replies: 7
Views: 1107

Re: Hotstring Length - Hit enter after select amount of characters for all hotstrings? Topic is solved

Found this way to accomplish it if (CharLine = "20 Characters Per Line") mycharacterselection := cpl_twenty else if (CharLine = "30 Characters Per Line") mycharacterselection := cpl_thirty else if (CharLine = "40 Characters Per Line") mycharacterselection := cpl_fourty else if (CharLine = "50 Charac...
by arochon
21 Apr 2018, 22:54
Forum: Ask For Help
Topic: Hotstring Length - Hit enter after select amount of characters for all hotstrings? Topic is solved
Replies: 7
Views: 1107

Re: Hotstring Length - Hit enter after select amount of characters for all hotstrings? Topic is solved

Exaskryz, This happens: CUSTOMER STATES CHECK ENGINE LIGHT ON - PLEASE DIAGNOSE AND ADVISE cpl_sixty := 60 Split(string) { str := "", len := 0 Arr := StrSplit(string," ") loop % Arr.MaxIndex() { if ( len + ( Strlen(Arr[a_index] " ")) <= cpl_sixty) { str .= Arr[a_index] " " len += strlen(Arr[a_index]...
by arochon
21 Apr 2018, 22:27
Forum: Ask For Help
Topic: Hotstring Length - Hit enter after select amount of characters for all hotstrings? Topic is solved
Replies: 7
Views: 1107

Re: Hotstring Length - Hit enter after select amount of characters for all hotstrings? Topic is solved

How would I be able to put a variable in for 60 without throwing an error? For example cpl_thirty := 30 cpl_fourty := 40 cpl_fifty := 50 cpl_sixty := 60 cpl_seventy := 70 cpl_eighty := 80 cpl_ninety := 90 It does not work when I insert %cpl_sixty% where 60 was... Split(string) { str := "", len := 0 ...
by arochon
17 Apr 2018, 12:06
Forum: Ask For Help
Topic: Hotstrings suggestions popup list
Replies: 7
Views: 1140

Re: Hotstrings suggestions popup list

omareg94,

Any more development on this? I was looking to create something similar.

Thank you,

arochon
by arochon
17 Apr 2018, 11:04
Forum: Ask For Help
Topic: Hotstring Length - Hit enter after select amount of characters for all hotstrings? Topic is solved
Replies: 7
Views: 1107

Hotstring Length - Hit enter after select amount of characters for all hotstrings? Topic is solved

I have an old computer application that I use for work where there are 60 spaces to input characters. After that you have to hit enter to go to the next line to continue typing. This creates a problem when using hotstrings that are lengthy. This is because when you get to 60 characters and enter is ...
by arochon
16 Apr 2018, 09:45
Forum: Ask For Help
Topic: counter for hotstrings
Replies: 15
Views: 1494

Re: counter for hotstrings

Thank you BriHecato. I tried adding the "C" option earlier... but did not make 3 different entries. The following code worked and accomplished both tasks. To clarify: :C:aat:: sendinput, ambient air temperature{space} counter += 1 return :C:Aat:: sendinput, Ambient air temperature{space} counter += ...
by arochon
16 Apr 2018, 07:33
Forum: Ask For Help
Topic: counter for hotstrings
Replies: 15
Views: 1494

Re: counter for hotstrings

Found 1 issue with this method.... when using ::rofl:: sendinput, roll on floor laughing First letter capitalization is not recognized. Typing rofl is the same as If you type Rofl = "roll on floor laughing" or ROfl = "roll on floor laughing". You have to Type ROFL to get = "ROLL ON FLOOR LAUGHING" :...
by arochon
15 Apr 2018, 19:25
Forum: Scripts and Functions
Topic: Instant HotString
Replies: 17
Views: 2471

Re: Instant HotString

- Updated with :R: option as suggested above - Added Import command list option - Added Export command list option #singleinstance force #notrayicon ;----------------------variables----------------------------------------------------------- global hshandle1 := [] global hshandle2 := [] global txtfil...
by arochon
15 Apr 2018, 13:54
Forum: Scripts and Functions
Topic: Instant HotString
Replies: 17
Views: 2471

Re: Instant HotString

Never mind I found it.

Replaced:

Code: Select all

hotstring("::"hshandle1[a_index],hshandle2[a_index])
by arochon
15 Apr 2018, 13:51
Forum: Scripts and Functions
Topic: Instant HotString
Replies: 17
Views: 2471

Re: Instant HotString

burque505,

Thank you for the suggestion. I see what happened with windows controls when replacement text went into the computer.

Where is the best place to insert that line of code?

Thank you,

arochon
by arochon
14 Apr 2018, 17:16
Forum: Scripts and Functions
Topic: Instant HotString
Replies: 17
Views: 2471

Re: Instant HotString

-Eliminated missing text field crashes by adding error messages and instructions. -Modified key maps to not allow returns that create errors in hs2 input box -Added button for select file to change txt document source, still working to make this operable - let me know if you have any ideas. #singlei...
by arochon
13 Apr 2018, 16:53
Forum: Scripts and Functions
Topic: Instant HotString
Replies: 17
Views: 2471

Re: Instant HotString

Added this to bottom of script to keep from crashing for now. Still looking for a way to include returns without error.

Code: Select all

#IfWinActive Custom Command Creator
ENTER::SPACE
RETURN::SPACE
NUMPADENTER::SPACE
RETURN
by arochon
13 Apr 2018, 14:27
Forum: Scripts and Functions
Topic: Instant HotString
Replies: 17
Views: 2471

Re: Instant HotString

Burque505, I noticed this as well today. I am looking into remapping or somehow eliminating the use of enter in the “hs2” box or figuring out away to include paragraphs. I’ll spend some time on it tonight. Let me know if you guys have any ideas. I’m also working on a way to import/switch default tex...
by arochon
13 Apr 2018, 10:05
Forum: Ask For Help
Topic: hotstrings/clipboard question (SOLVED)
Replies: 8
Views: 992

Re: hotstrings/clipboard question

Adapted your version donovv. Take a look and let me know what you think. Cheers! - Changed GUI - Disabled all buttons that cause script errors - Enabled buttons to edit/save when needed - Auto reloads after saving - Exit/Minimize added - Removed tray menu button to show gui (caused errors) - Elimina...
by arochon
12 Apr 2018, 21:36
Forum: Scripts and Functions
Topic: Instant HotString
Replies: 17
Views: 2471

Re: Instant HotString

Adapted above version posted. - Changed GUI - Disabled all buttons that cause script errors - Enabled buttons to edit/save when needed - Auto reloads after saving - Exit/Minimize added - Removed tray menu button to show gui (caused errors) - Eliminated duplicate entry errors - Removed GUI destroy co...
by arochon
11 Apr 2018, 13:08
Forum: Scripts and Functions
Topic: Instant HotString
Replies: 17
Views: 2471

Re: Instant HotString

added this to the top of the script

Code: Select all

Gui Instant:+LastFoundExist
IfWinExist
{
Gui, Instant:Show
}
else
{
and changed gui destroy commands to gui hide

helped solve a lot of error issues
by arochon
11 Apr 2018, 09:06
Forum: Scripts and Functions
Topic: Instant HotString
Replies: 17
Views: 2471

Re: Instant HotString

Great work on this so far donovv A few issue I noticed with edited script: 1) If you "save and exit" with the list selection on "select a hotstring to edit" the program throws an error 2)if you "save and exit" with selection on a hotstring you have already created, the program duplicates it the next...
by arochon
11 Apr 2018, 07:38
Forum: Ask For Help
Topic: hotstrings/clipboard question (SOLVED)
Replies: 8
Views: 992

Re: hotstrings/clipboard question

donovv,

Another feature you may look into is to be able to save the new hotsting and auto update the gui instead of having to save and exit every time you want to add a new one. Maybe have just a "save" button?
by arochon
11 Apr 2018, 07:26
Forum: Ask For Help
Topic: hotstrings/clipboard question (SOLVED)
Replies: 8
Views: 992

Re: hotstrings/clipboard question

new code works great so far. only issue is that an error occurs when trying to use your "show gui" tray icon. Ive only got it to work once. However if you run the ahk again it pulls up everything. Very neat.

Thank you for the help.

Go to advanced search