Search found 43 matches

by highend
01 Nov 2016, 02:52
Forum: Ask For Help
Topic: Locking AHK file
Replies: 2
Views: 870

Re: Locking AHK file

Obfuscate it + use AHK_H with a unique password to compile it.
by highend
12 Sep 2016, 07:39
Forum: Ask For Help
Topic: G-Label for edit field not triggered Topic is solved
Replies: 6
Views: 1817

Re: G-Label for edit field not triggered Topic is solved

Thanks a bunch!

Control, EditPaste works fine and triggers the G-Label as expected. I'll go that route :)
% EW_Execute ?????
Sorry, that was just a type in there
by highend
11 Sep 2016, 17:52
Forum: Ask For Help
Topic: G-Label for edit field not triggered Topic is solved
Replies: 6
Views: 1817

Re: G-Label for edit field not triggered Topic is solved

Is there more to your code that's left out of the example? Nope, I've written it only to demonstrate the issue. I noticed the problem in one of my major projects (multiple thousand lines) and wanted to make sure the error is not elsewhere I'm using AHK v1.1.24.01 x86 Unicode to run this script and ...
by highend
11 Sep 2016, 15:05
Forum: Ask For Help
Topic: G-Label for edit field not triggered Topic is solved
Replies: 6
Views: 1817

G-Label for edit field not triggered Topic is solved

Hi, don't know if this is a bug or if I'm just missing anything... The following code creates a new gui and displays an edit field and a listview, populated with two rows When you double click on one of the rows, it's text is inserted into the edit field. The problem: The G-Label for the edit field ...
by highend
28 Jul 2016, 02:40
Forum: Ask For Help
Topic: Retrieve column widths for a listview? Topic is solved
Replies: 2
Views: 1025

Re: Retrieve column widths for a listview? Topic is solved

Thank you, just me!

Getting the number of total columns via ControlGet and looping over this value with SendMessage, LVM_GETCOLUMNWIDTH, A_Index - 1, 0 , ahk_id %hwnd% works fine :)
by highend
28 Jul 2016, 01:54
Forum: Ask For Help
Topic: Retrieve column widths for a listview? Topic is solved
Replies: 2
Views: 1025

Retrieve column widths for a listview? Topic is solved

Hi, how do I get all column widths for an existing listview? I would like to store them in an .ini file and initialize the listview with them the next time it's displayed (and if the key with these values isn't present, use a few default values) Setting them isn't difficult (SendMessage, LVM_SETCOLU...
by highend
26 Jul 2016, 04:08
Forum: Ask For Help
Topic: PokemonGo emulator script
Replies: 3
Views: 1105

Re: PokemonGo emulator script

Like: #NoEnv ;#NoTrayIcon #Persistent #SingleInstance force !1:: keys := "W|A|S|F" Loop, Parse, keys, | HoldKey(A_LoopField) return HoldKey(key, timeToHold:=30) { timeToHold *= 1000 tick := A_TickCount Loop { if (A_TickCount - tick > timeToHold) break Send, {%key%} Sleep, 25 } return }
by highend
26 Jul 2016, 03:22
Forum: Ask For Help
Topic: Left mouse button hotkey - single, double click, click and hold? Topic is solved
Replies: 8
Views: 4798

Re: Left mouse button hotkey - single, double click, click and hold? Topic is solved

Is there a reason you're blocking the mouse clicks only to resend them artificially (with the delay)? Sure :) This hotkey will be surrounded by #IfWinActive statements and each recognized double click will send a script (by using WM_COPYDATA) to that application. The whole thing will be combined by...
by highend
26 Jul 2016, 00:25
Forum: Ask For Help
Topic: Left mouse button hotkey - single, double click, click and hold? Topic is solved
Replies: 8
Views: 4798

Re: Left mouse button hotkey - single, double click, click and hold? Topic is solved

Thank you Shadowpheonix! It recognizes all three click variants perfectly :) Unfortunately, due to the "long" KeyWait time (T0.15), click and hold must be used very carefully. Left clicking somewhere and immediately moving the mouse over several lines (e.g. to select text in a webbrowser) leads to l...
by highend
25 Jul 2016, 08:33
Forum: Scripts and Functions
Topic: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting
Replies: 18
Views: 8255

Re: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting

Ok, thanks. So a link in the "About <application>" window would mention this class and provides a link to
a.) This thread
or
b.) Your user profile

What do you prefer, I guess a.)?
by highend
24 Jul 2016, 23:08
Forum: Scripts and Functions
Topic: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting
Replies: 18
Views: 8255

Re: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting

Are there any license restrictions or could we use the class in a commercial project as well?
by highend
24 Jul 2016, 08:22
Forum: Scripts and Functions
Topic: AutoXYWH() - Move control automatically when GUI resized
Replies: 102
Views: 58911

Re: AutoXYWH() - Move control automatically when GUI resized

@wolf_II

With these commands it works as expected :)

Thanks a lot!
by highend
24 Jul 2016, 07:06
Forum: Scripts and Functions
Topic: AutoXYWH() - Move control automatically when GUI resized
Replies: 102
Views: 58911

Re: AutoXYWH() - Move control automatically when GUI resized

Thanks a lot for this function! I have two groupboxes (GB1 + GB2), each containing an edit element. Resizing the groupboxes works fine and the same goes for the edit controls. But... I want the GB2 to move in y direction depending on how GB1 is resized so that they don't overlap. Both edit controls ...
by highend
22 Jul 2016, 16:34
Forum: Scripts and Functions
Topic: [LIB] TrayIcon - Sean's TrayIcon for Unicode and 64 bit
Replies: 74
Views: 37558

Re: [LIB] TrayIcon - Sean's TrayIcon for Unicode and 64 bit

Is there any way to get the info about a tray icon if it is currently hidden / visible?
by highend
22 Jul 2016, 15:12
Forum: Ask For Help
Topic: Left mouse button hotkey - single, double click, click and hold? Topic is solved
Replies: 8
Views: 4798

Left mouse button hotkey - single, double click, click and hold? Topic is solved

Hi, I'd like to capture left mouse button clicks and determine if: - Was it a single click - Was it a double click (two consecutive clicks during the max. double click time -> DllCall("GetDoubleClickTime")) - Was it a click and hold (the button wasn't released after clicking it) The logic of my code...
by highend
20 Jul 2016, 22:54
Forum: Ask For Help
Topic: StrReplace() - Wrong result (Unicode)?
Replies: 3
Views: 1102

Re: StrReplace() - Wrong result (Unicode)?

Thank you for the detailed answer, Kon!

I always struggle with encodings *sigh*

The problem wasn't the .ini file. It's correctly encoded in UTF-16 LE BOM. But my .ahk file was encoded in UTF-8 without a BOM. After adding the BOM I got the expected result :)

Thanks again!
by highend
20 Jul 2016, 08:29
Forum: Ask For Help
Topic: StrReplace() - Wrong result (Unicode)?
Replies: 3
Views: 1102

StrReplace() - Wrong result (Unicode)?

Hi, My .ini file is UTF-16 LE BOM encoded and I read the section entries with a double parsing loop (1. section names, 2. section contents). The help file states that Unicode is supported with that file encoding for IniRead (and write) functions. My .ahk script is encoded in UTF-8. I need to split t...
by highend
20 Jul 2016, 08:21
Forum: Ask For Help
Topic: How to add different languages (translations)?
Replies: 3
Views: 846

Re: How to add different languages (translations)?

Ok, thanks. I'll write a function for it...

Go to advanced search