Search found 24 matches
- 18 Apr 2019, 01:50
- Forum: Ask for Help
- Topic: A_AhkExe() error
- Replies: 8
- Views: 3399
Re: A_AhkExe() error
Thanks, this works. Even with passing only one parameter.
- 17 Apr 2019, 03:27
- Forum: Ask for Help
- Topic: A_AhkExe() error
- Replies: 8
- Views: 3399
Re: A_AhkExe() error
Thanks, I'll use AhkExported, it seems equally fast and reliable. Nevertheless, I tried your suggestion to pass all 10 parameters but the error still pops up. The problem must be with the AhkExe function - I found out that it worked after modifiying it from A_AhkExe(){ static e,i:=VarSetCapacity(e,5...
- 15 Apr 2019, 13:00
- Forum: Ask for Help
- Topic: A_AhkExe() error
- Replies: 8
- Views: 3399
Re: A_AhkExe() error
Thanks. The purpose of the script is to run a function in a main script from ahk thread.
Are there disadvantages of using AhkExported vs A_AhkExe() method?
Can AhkFunction use multiple arguments of different types?
Are there disadvantages of using AhkExported vs A_AhkExe() method?
Can AhkFunction use multiple arguments of different types?
- 15 Apr 2019, 05:59
- Forum: Ask for Help
- Topic: A_AhkExe() error
- Replies: 8
- Views: 3399
A_AhkExe() error
Hi, I have an issue with a script using A_AhkExe function - Access Violation error pops up when I try to reload the script. The script runs ok until Alt+X hotkey is pressed. This happens in any script where A_AhkExe is present. I tried to put the DllCall part to a new line and it works, however I st...
- 20 May 2016, 11:41
- Forum: Ask for Help (v1)
- Topic: [Solved] If var is upper/lower with international characters
- Replies: 8
- Views: 2536
Re: If var is upper/lower with international characters
Of course... thanks to all!
- 20 May 2016, 07:39
- Forum: Ask for Help (v1)
- Topic: [Solved] If var is upper/lower with international characters
- Replies: 8
- Views: 2536
Re: If var is upper/lower with international characters
Thanks to all for responding. AlphaBravo's code recognizes a string including any one upper case character like доБро as Upper.
I need to recognize if a string is in ALL CAPS. I guess the only way is to parse a string and test character by character like IMEime demonstrated.
I need to recognize if a string is in ALL CAPS. I guess the only way is to parse a string and test character by character like IMEime demonstrated.
- 19 May 2016, 14:42
- Forum: Ask for Help (v1)
- Topic: [Solved] If var is upper/lower with international characters
- Replies: 8
- Views: 2536
Re: If var is upper/lower with international characters
Thanks, however my example was misleading - I need to check the longer string, not just one character. Are all characters in the string Upper case?
Like;
Like;
Code: Select all
var:="ДОБРО"
if var is upper
msgbox Upper
- 19 May 2016, 13:05
- Forum: Ask for Help (v1)
- Topic: [Solved] If var is upper/lower with international characters
- Replies: 8
- Views: 2536
[Solved] If var is upper/lower with international characters
I need to recognize upper/lower case of a string. I tried If var is upper but it does not recognize international characters. Is there any other way?
Code: Select all
var:="Д"
if var is upper
msgbox UPPER ;doesn't work
- 19 May 2016, 13:02
- Forum: Ask for Help (v1)
- Topic: remove all non-alphabet characters
- Replies: 4
- Views: 1379
Re: remove all non-alphabet characters
Thank you very much.
- 19 May 2016, 10:31
- Forum: Ask for Help (v1)
- Topic: remove all non-alphabet characters
- Replies: 4
- Views: 1379
remove all non-alphabet characters
Hi, I have a string and want to remove all non-alphabet characters. I tried the RegEx below but it also removes characters from cyrillic alphabet. Any idea how to remove non-alphabet characters in any language?
Code: Select all
var := RegExReplace(var, "i)[^a-z]")
- 08 May 2016, 09:18
- Forum: SciTE4AutoHotkey
- Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
- Replies: 835
- Views: 619263
Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
This also happens to me, Win10 64bit... stopped using it for this reason.Haswell wrote:Sometimes when I press F1 in Scite a chm-file hangs:
- 17 Sep 2015, 16:03
- Forum: Wish List
- Topic: Input loop not reliable when typing fast
- Replies: 19
- Views: 5988
Re: Input loop not reliable when typing fast
hm, something like this? Where to put VarSetCapacity? dll1:=ahkdllthread("Autohotkey.dll") str:=" ( Loop Input, Word, I V E, {BS}{Space}{Enter} )" dll1.ahktextdll(str) Loop { Input, LastKey, I L1 V E, {BS}{Space}{Enter} Word .= LastKey dllWord:=dll1.ahkgetvar("Word") if dllWord<>Word Word:=dllWord ;...
- 17 Sep 2015, 14:53
- Forum: Wish List
- Topic: Input loop not reliable when typing fast
- Replies: 19
- Views: 5988
Re: Input loop not reliable when typing fast
Thanks HotKeyIt, this is excellent! Great class!
If I would alternatively like to do it without timer and _input, do you think it would be a good idea to make another dll thread with parallel Input command which would correct the main input if needed?
If I would alternatively like to do it without timer and _input, do you think it would be a good idea to make another dll thread with parallel Input command which would correct the main input if needed?
- 15 Sep 2015, 08:21
- Forum: Wish List
- Topic: Input loop not reliable when typing fast
- Replies: 19
- Views: 5988
Re: Input loop not reliable when typing fast
Mouse buttons?
- 14 Sep 2015, 15:33
- Forum: Wish List
- Topic: Input loop not reliable when typing fast
- Replies: 19
- Views: 5988
Re: Input loop not reliable when typing fast
thanks, it looks mouse buttons and !;= are still not recognized. Is this a sorting issue?
- 14 Sep 2015, 12:00
- Forum: Wish List
- Topic: Input loop not reliable when typing fast
- Replies: 19
- Views: 5988
Re: Input loop not reliable when typing fast
I tried the code below but it doesn't work - any idea how to list reset keys properly? Also, could you shortly explain the advantage of using _Input vs regular Input with the timer? #include <_Input> ResetKeys:="End|Enter|Home|Left|MButton|NumPadEnter|PGDN|PGUP|RButton|Right|Space|Tab|,|.|;|?|!|:|="...
- 13 Sep 2015, 15:05
- Forum: Wish List
- Topic: Input loop not reliable when typing fast
- Replies: 19
- Views: 5988
Re: Input loop not reliable when typing fast
Thanks, excellent. I will make a detailed test and will let you know how it works. I hope that there is no disadvantages of using timer.
- 13 Sep 2015, 14:38
- Forum: Wish List
- Topic: Input loop not reliable when typing fast
- Replies: 19
- Views: 5988
Re: Input loop not reliable when typing fast
Thanks, this works. As it uses timer for Input_Watcher I see there is a small lag before showing tooltip. For my use I would prefer instant notification with no delay. Is it possible to have L1 option in a loop like in my first example?
- 13 Sep 2015, 12:52
- Forum: Wish List
- Topic: Input loop not reliable when typing fast
- Replies: 19
- Views: 5988
Re: Input loop not reliable when typing fast
hm, this blocks all keyboard keys so it is difficult to test... it should not block any input.
- 13 Sep 2015, 10:59
- Forum: Wish List
- Topic: Input loop not reliable when typing fast
- Replies: 19
- Views: 5988
Re: Input loop not reliable when typing fast
Thanks, I wanted to analyse the word as typed, so I need L1. I also have a list of EndKeys which should reset a word (Space, Enter etc.) and BackSpace to go back.
HotKeyIt, I'm using AHK_H already - how would I achieve this as with my example script above? Also how could this be done using _Input?
HotKeyIt, I'm using AHK_H already - how would I achieve this as with my example script above? Also how could this be done using _Input?