Search found 49 matches

by burton666
13 Jul 2017, 00:30
Forum: Ask for Help (v1)
Topic: How to trigger hotstring from inputbox?
Replies: 5
Views: 1417

Re: How to trigger hotstring from inputbox?

Ok, thanks. To my defence I quit the job where I used the previous script so I did not think I would ever use it again. But now I am back to the same job for a few weeks and realized that it would be really useful.
by burton666
12 Jul 2017, 07:52
Forum: Ask for Help (v1)
Topic: How to trigger hotstring from inputbox?
Replies: 5
Views: 1417

Re: How to trigger hotstring from inputbox?

Nobody else have any ideas?
by burton666
10 Jul 2017, 06:35
Forum: Ask for Help (v1)
Topic: How to trigger hotstring from inputbox?
Replies: 5
Views: 1417

Re: How to trigger hotstring from inputbox?

Ok, the problem is that I have some dynamic hotsstrings which looks like this: Hotstring("(\b[A-O])(\d)(\d)([012])\s","expand3",3) Expand3: { Send % ($.value(4) = 0 ? "^kPLOCK_LOW{ENTER}PLOCK_LOW." : "^kPLOCK{ENTER}PLOCK.") $.value(1) "." $.value(2) $.value(3) "." $.value(4)"{ENTER 3}" } Return So w...
by burton666
10 Jul 2017, 05:17
Forum: Ask for Help (v1)
Topic: How to trigger hotstring from inputbox?
Replies: 5
Views: 1417

How to trigger hotstring from inputbox?

If I for example have a script which looks like this: F2:: inputbox,input, enter something... send %input% return ::aa:: send 1{enter} send 2{enter} return How can I press F2 and enter "aa" to have both 1 and two entered in notepad or similar. When I try it out the hotstring triggers instantly in th...
by burton666
07 Jul 2016, 00:50
Forum: Scripts and Functions (v1)
Topic: Dynamic Hotstrings
Replies: 46
Views: 23722

Re: Dynamic Hotstrings

Thanks for all the help, I only got one issue now. I have several parts in the expand: sections witch should enter BOX at sertain parts. But they always print out in lowercase now. Why is that? Edit: it looks like the Caps Lock key turns of at some random point when printing out the expand section. ...
by burton666
06 Jul 2016, 07:25
Forum: Scripts and Functions (v1)
Topic: Dynamic Hotstrings
Replies: 46
Views: 23722

Re: Dynamic Hotstrings

Thanks, this is so much over my knowledge level that I can't understand anything. I tried using it like this: (sorry for the amount of ugly code :)) #include Hotstring.ahk #include FileTail.ahk #SingleInstance, force #Persistent #NoEnv SetBatchLines, -1 SendMode, Input SetKeyDelay, -1 SetTimer, winc...
by burton666
06 Jul 2016, 00:32
Forum: Scripts and Functions (v1)
Topic: Dynamic Hotstrings
Replies: 46
Views: 23722

Re: Dynamic Hotstrings

How would I use the ExecScript method in this script? ;-----Dynamic Hotstrings--------------- ; download it from here https://github.com/menixator/ahk-repo/blob/master/Hotstring/Hotstring.ahk Hotstring("([A-O]{2})(\d)(\d)([012])\s","expand2",3) Hotstring("(MAX|FRASSE)(\d)(\d)\s","expand1",3) Hotstri...
by burton666
05 Jul 2016, 04:48
Forum: Scripts and Functions (v1)
Topic: Dynamic Hotstrings
Replies: 46
Views: 23722

Re: Dynamic Hotstrings

Thanks, that solved the SetTimer part but are there any solution for the other problem where the dynamic-hotstrings are disabeling all my single key hotkeys?
by burton666
05 Jul 2016, 03:46
Forum: Scripts and Functions (v1)
Topic: Dynamic Hotstrings
Replies: 46
Views: 23722

Re: Dynamic Hotstrings

I just noticed that this does not work either: SetTimer, wincheck, 500 wincheck: IfWinActive, ahk_class ConsoleWindowClass SetCapsLockState, On else SetCapsLockState, Off return If I put it on top it works but the dynamic hotstrings does not. And if I put it below the dynamic hotstrings, the hotstri...
by burton666
05 Jul 2016, 03:35
Forum: Ask for Help (v1)
Topic: Force Caps lock on/off? Topic is solved
Replies: 2
Views: 1190

Re: Force Caps lock on/off? Topic is solved

Thanks that was exactly what I was looking for.
by burton666
05 Jul 2016, 01:47
Forum: Ask for Help (v1)
Topic: Dynamic hotstrings alternative?
Replies: 1
Views: 1289

Dynamic hotstrings alternative?

I have been using this: https://autohotkey.com/boards/viewtopic.php?f=6&t=3329 and it is working great, only issue is that it "blocks/disables" all one-button hotkeys. I do not understand how to fix this so is there any other script/command that does not have this limitation? This is an example of o...
by burton666
05 Jul 2016, 01:40
Forum: Ask for Help (v1)
Topic: Force Caps lock on/off? Topic is solved
Replies: 2
Views: 1190

Force Caps lock on/off? Topic is solved

How do I forcec caps lock to always be on if I use notepad but and always off othervise?
by burton666
05 Jul 2016, 01:39
Forum: Ask for Help (v1)
Topic: Force Caps lock on/off?
Replies: 1
Views: 699

Force Caps lock on/off?

How do I forcec caps lock to always be on if I use notepad but and always off othervise?
by burton666
04 Jul 2016, 04:50
Forum: Scripts and Functions (v1)
Topic: Dynamic Hotstrings
Replies: 46
Views: 23722

Re: Dynamic Hotstrings

It was mentioned earlier but I did not understand if it was possible to use hotstrings and single key hotkeys in the same windows?

If I for example wanted the dynamic hotstrings and single key hotkeys to only work in notepad ?
by burton666
01 Jul 2016, 13:12
Forum: Ask for Help (v1)
Topic: Why is my hotkeys/hotstrings beeing "blocked"
Replies: 2
Views: 866

Re: Why is my hotkeys/hotstrings beeing "blocked"

I tried that to, but If I place them under the dynamic hotstrings then the hotkeys does not work correctly. For example nothing happens when I trie to use "Space::" but if I use "^Space::" it works. Same with the other keys, "F4::" does not work but "^F4::" works
by burton666
01 Jul 2016, 06:32
Forum: Ask for Help (v1)
Topic: Why is my hotkeys/hotstrings beeing "blocked"
Replies: 2
Views: 866

Why is my hotkeys/hotstrings beeing "blocked"

I have made this script but have some problems using it. #include Hotstring.ahk #include FileTail.ahk #SingleInstance, force #Persistent #NoEnv SetBatchLines, -1 SendMode, Input SetKeyDelay, -1 Space:: sendInput ^g{enter 2} return Tab:: sendinput ^s{enter} return ;-----Dynamic Hotstrings------------...
by burton666
01 Jul 2016, 04:27
Forum: Ask for Help (v1)
Topic: Ways to "shorten down" script?
Replies: 0
Views: 753

Ways to "shorten down" script?

I have no problems with this part of my script but it looks pretty ugly and I know alot of you Ahk-wizards only needs a few rows of code where I would have to use like 50 lines. Can anything be done to shorten down this script? ^':: placeholder = % FileTail("c:\test\test.log", 2) IfInString, placeho...
by burton666
30 Jun 2016, 05:33
Forum: Ask for Help (v1)
Topic: Can't get F-keys to work
Replies: 1
Views: 745

Can't get F-keys to work

I have a strange problem, I cant use the F-keys (F1-F12) for any hotkeys. If I press F1 without any script using the key it opens the standard windows help. I can use ^F1:: for hotkey but I cant use only F1:: to trigger anything.
by burton666
30 Jun 2016, 03:14
Forum: Ask for Help (v1)
Topic: Basic Regex question
Replies: 8
Views: 1917

Re: Basic Regex question

Ok, thanks again. But now I got a new question again :) Haystack = ( Sub Transfer (HSS) Item >30034637 Desc :DP16/550 MAX 2008 From Sub >MAX Loc ]MAX.PLOCK.02. UOM >TH(1 TH) On Hand :388 Avail Qty :388 Qty : To Sub > Reason > <Save/Next> <Done> <Cancel> Sub Transfer (HSS) Qty : Sub Transfer (HSS) Re...
by burton666
30 Jun 2016, 02:09
Forum: Ask for Help (v1)
Topic: Basic Regex question
Replies: 8
Views: 1917

Re: Basic Regex question

I tried reading about Replacements in the regexreplace documentation but I did not quite understand. Is it possible to specify multiple capture-groups, and how do I in that case get them into separate variables?

Go to advanced search