Search found 90 matches

by emmanuel d
30 Aug 2023, 10:57
Forum: Ask for Help (v2)
Topic: Bug: MouseGetPos(,,,&hCtrl,2) Does not show correct handle. Naaasty ;) Topic is solved
Replies: 8
Views: 867

Re: Bug: MouseGetPos(,,,&hCtrl,2) Does not show correct handle. Naaasty ;) Topic is solved

Descolada wrote:
30 Aug 2023, 10:10
so you could also reduce the width of the treeview to at least 300.
Nope the idea is to hide the scrollbar on the right so the treeview must always be larger than the gui.
by emmanuel d
30 Aug 2023, 10:54
Forum: Ask for Help (v2)
Topic: Bug: MouseGetPos(,,,&hCtrl,2) Does not show correct handle. Naaasty ;) Topic is solved
Replies: 8
Views: 867

Re: Bug: MouseGetPos(,,,&hCtrl,2) Does not show correct handle. Naaasty ;) Topic is solved

safetycar wrote:
30 Aug 2023, 09:53
I don't know the source of your problem, but some of the options in G_oTab are a bit misleading (mixing R and H).
https://www.autohotkey.com/docs/v2/lib/Gui.htm#Add wrote:If both the R and H options are present, R will take precedence.
You sir, may remove the R :D.
it was there because i was not getting my enter's displayed correctly.
by emmanuel d
30 Aug 2023, 09:41
Forum: Bug Reports
Topic: Remapped modifier key not firing for HotIf variant Topic is solved
Replies: 6
Views: 1050

Re: Remapped modifier key not firing for HotIf variant Topic is solved

this works as expected in V2 #Requires AutoHotkey v2.0 #SingleInstance force #Warn All some_condition := true #HotIf ; Hotkey for all windows b::LShift ; Maybe the sc nr is the bug #HotIf (some_condition) ; Hotkey If condition is true +a::Send("Ä") ; Press b & a gives Ä a::Send("ä") ; press a Gives ä
by emmanuel d
30 Aug 2023, 09:16
Forum: Ask for Help (v2)
Topic: Bug: MouseGetPos(,,,&hCtrl,2) Does not show correct handle. Naaasty ;) Topic is solved
Replies: 8
Views: 867

Bug: MouseGetPos(,,,&hCtrl,2) Does not show correct handle. Naaasty ;) Topic is solved

[Moderator's note: Topic moved from Bug Reports.] MouseGetPos(,,,&hCtrl,2) Does not show correct handle See example. The top half of the red treeview shows the handle of the control, the bottom shows the handle of the gui the treeview belongs too. No idea why, hence the bug report. ; This bug is na...
by emmanuel d
30 Aug 2023, 09:08
Forum: Ask for Help (v2)
Topic: Bug: For loop throws error on value even if a default value should be used
Replies: 2
Views: 291

Bug: For loop throws error on value even if a default value should be used

[Moderator's note: Topic moved from Bug Reports.] For key, value in array throws a error even if a default value should be used. see example: #Requires AutoHotkey v2.0 #SingleInstance force #Warn All Colors := ["Red","green","Blue"] ; Assign a Simple array of 3 items Colors.Length := 16 ; Ensure 16...
by emmanuel d
31 Jul 2023, 12:03
Forum: Scripts and Functions (v2)
Topic: Master Password
Replies: 8
Views: 2002

Re: Master Password

Can i make a suggestion?
Put the html and the autohotkey next to each other.
in the html, for the site's use a listbox
if you run the ahk, read, and save the sites to the html.
if possible also save the count to the html too.
just saying ;)
by emmanuel d
31 Jul 2023, 11:43
Forum: Scripts and Functions (v2)
Topic: Master Password
Replies: 8
Views: 2002

Re: Master Password

Hmm just tested it, and the html and the gui give different passwords. :?
And yes all settings were equal :angel:


Seems to work now, one must be doubleclicking that item :lol: 8-)
by emmanuel d
02 Jul 2021, 10:51
Forum: AutoHotkey Development
Topic: OnEvent Error
Replies: 21
Views: 11049

Re: OnEvent Error

This does not work anymore, i get this message: Error: Unknown method. Specifically: Event_Close did the syntax changed again? myGui := GuiCreate(,, Events) ; Events is the "event sink object" myGui.AddText("", "Press Alt+F4 or the X button in the title bar.") myGui.OnEvent("Close", "Event_Close") ;...
by emmanuel d
18 Jun 2021, 10:46
Forum: Scripts and Functions (v1)
Topic: [functions] RotateTable
Replies: 1
Views: 1396

Re: [functions] RotateTable

hmm, i was not getting the result i wanted. So i made my own version Now i can go in excel copy a range, run script, dismiss msgbox, and paste back in excel #SingleInstance force oOldTable := StrToArray(clipboard) ; Create a array oNewTable := ArrayRotateLeft(oOldTable) ; rotate it MsgBox,262144,%A_...
by emmanuel d
08 Nov 2020, 07:55
Forum: Scripts and Functions (v1)
Topic: Toggle Windows 1O LightMode - DarkMode
Replies: 7
Views: 3650

Re: Toggle Windows 1O LightMode - DarkMode

These google drive links are not actually image links (at least they won't work with the bbcode of our forum software). Either you remove the img-tags and just keep them as links (like https://drive.google.com/uc?id=1jNYrgHXeheDjO3bLGQ2pZkLuyUYcMRPe) or you can upload pictures to the forums directl...
by emmanuel d
08 Nov 2020, 07:09
Forum: Scripts and Functions (v1)
Topic: Toggle Windows 1O LightMode - DarkMode
Replies: 7
Views: 3650

Re: Toggle Windows 1O LightMode - DarkMode

It looks like you are trying to run the executable.
It is just the compiled version of the script.
it should be fine.
by emmanuel d
31 Mar 2020, 14:15
Forum: Scripts and Functions (v1)
Topic: Toggle Windows 1O LightMode - DarkMode
Replies: 7
Views: 3650

Re: Toggle Windows 1O LightMode - DarkMode

Updated with screenshots and download link.
by emmanuel d
30 Mar 2020, 14:54
Forum: Ask for Help (v1)
Topic: looping a folder
Replies: 2
Views: 435

Re: looping a folder

Check your file attrubutes maybe it is system or readonly
by emmanuel d
30 Mar 2020, 14:50
Forum: Ask for Help (v1)
Topic: StringReplace
Replies: 4
Views: 607

Re: StringReplace

If you dont like regex: (untested code):

Code: Select all

Loop,25
	StringReplace, stitle, stitle,% SubStr(00 A_Index,-1) A_SPACE,,All
Substring is there so we always have 2 digits
by emmanuel d
30 Mar 2020, 14:18
Forum: Ask for Help (v1)
Topic: ListView populating incorrect information
Replies: 8
Views: 868

Re: ListView populating incorrect information

;In all thes lines where you do this, like: isCell and isTelco and all others wil receive the 0 from your Log file. If InStr(SubStr(Field%A_Index%, 1, 1), 3) ;-- Cell isCell := SubStr(Field%A_Index%,3) ; Always returns 0 or something else, but never empty If InStr(SubStr(Field%A_Index%, 1, 1), 4) ;...
by emmanuel d
29 Mar 2020, 15:27
Forum: Ask for Help (v1)
Topic: From a Nested class, call a Parent Method?
Replies: 11
Views: 2582

Re: From a Nested class, call a Parent Method?

Or you can use StrSplit and This.__Class instead. Here is a example of how to get all parents or sub parents or however you want to call it oArray := new a.b.c.d ;note: this will trigger the 'hello' MsgBox return class a { class b { class c { class d { __new(){ parents := StrSplit(This.__Class,".") ...
by emmanuel d
28 Mar 2020, 16:01
Forum: Scripts and Functions (v1)
Topic: Toggle Windows 1O LightMode - DarkMode
Replies: 7
Views: 3650

Toggle Windows 1O LightMode - DarkMode

This post will demonstrate how to toggle lightmode on windows 10 Normally you go to Settings to change it. The first script will do this for you. The second one shows you how to implement it in your scripts. have fun. The compiled version with icon (next to startbutton in the screenshots. #SingleIns...
by emmanuel d
13 Oct 2018, 13:39
Forum: Scripts and Functions (v1)
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 391
Views: 250135

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

after reading this toppic, i made a media player. No icons where used yet, just some fancy fonts. with a fake progress on the top(blue) 2 channel volume progress(red) fully clickable titlebar to seek, drag to move window and double-click to maximize. minimal player shows by accident on the bottom ri...
by emmanuel d
13 Oct 2018, 13:11
Forum: Ask for Help (v1)
Topic: Move a window with no title bar
Replies: 5
Views: 3017

Re: Move a window with no title bar

automaticaly? Not that i know of

you know this:
Gui, Show, x0 y400 w300 h400 NoActivate ; put new sizes and positions whenever you want
by emmanuel d
28 Sep 2018, 05:09
Forum: Ask for Help (v1)
Topic: Object.MyVar syntax ?
Replies: 5
Views: 1141

Re: Object.MyVar syntax ?

Maybe use the := operator
MySortVariable := Coordinate(1)

Go to advanced search