Search found 47 matches

by highend
15 Aug 2023, 05:49
Forum: Ask for Help (v2)
Topic: DllCall with ShellExecute and RunAs Topic is solved
Replies: 2
Views: 371

Re: DllCall with ShellExecute and RunAs Topic is solved

Thank you boiler,

after the change it works fine again
by highend
15 Aug 2023, 02:41
Forum: Ask for Help (v2)
Topic: DllCall with ShellExecute and RunAs Topic is solved
Replies: 2
Views: 371

DllCall with ShellExecute and RunAs Topic is solved

I've used this for a very long time with v1, but it doesn't work with v2 atm: DllCall("shell32.dll\ShellExecute", "UInt", 0, "Str", "RunAs", "Str", A_AhkPath, "Str", """" . A_ScriptFullPath . """", "Str", A_WorkingDir, "Int", 1) Error: Missing space or operator before this What"s wrong with it?
by highend
23 May 2023, 09:09
Forum: Ask for Help (v2)
Topic: Positional hotkeys when registered inside a function?
Replies: 3
Views: 309

Re: Positional hotkeys when registered inside a function?

?

I don't want to register a static hotkey and it's not outside of a function...
by highend
23 May 2023, 07:32
Forum: Ask for Help (v2)
Topic: Positional hotkeys when registered inside a function?
Replies: 3
Views: 309

Positional hotkeys when registered inside a function?

Hi, I have function that is called every 5 seconds (via SetTimer) that checks if the belonging .ini file was modified and if yes, rereads the values. The (de-) registration of the hotkey takes place inside that function E.g.: GetIniFileValues(file) { static iniLastHotkey := "" iniHotkey := IniRead(f...
by highend
01 Nov 2016, 02:52
Forum: Ask for Help (v1)
Topic: Locking AHK file
Replies: 2
Views: 1190

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 (v1)
Topic: G-Label for edit field not triggered Topic is solved
Replies: 6
Views: 2330

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 (v1)
Topic: G-Label for edit field not triggered Topic is solved
Replies: 6
Views: 2330

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 (v1)
Topic: G-Label for edit field not triggered Topic is solved
Replies: 6
Views: 2330

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 (v1)
Topic: Retrieve column widths for a listview? Topic is solved
Replies: 2
Views: 1538

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 (v1)
Topic: Retrieve column widths for a listview? Topic is solved
Replies: 2
Views: 1538

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 (v1)
Topic: PokemonGo emulator script Topic is solved
Replies: 3
Views: 1502

Re: PokemonGo emulator script Topic is solved

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 (v1)
Topic: Left mouse button hotkey - single, double click, click and hold? Topic is solved
Replies: 8
Views: 8821

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 (v1)
Topic: Left mouse button hotkey - single, double click, click and hold? Topic is solved
Replies: 8
Views: 8821

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 (v1)
Topic: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting
Replies: 18
Views: 10498

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 (v1)
Topic: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting
Replies: 18
Views: 10498

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 (v1)
Topic: AutoXYWH() - Move control automatically when GUI resized
Replies: 107
Views: 85402

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 (v1)
Topic: AutoXYWH() - Move control automatically when GUI resized
Replies: 107
Views: 85402

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 (v1)
Topic: [LIB] TrayIcon - Sean's TrayIcon for Unicode and 64 bit
Replies: 95
Views: 74437

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?

Go to advanced search