Search found 6840 matches

by jeeswg
05 Nov 2019, 16:25
Forum: Forum Issues
Topic: YouTube links: slow
Replies: 3
Views: 209

YouTube links: slow

I found this page slow to load in Internet Explorer and Firefox. It was also slow to load in Chrome, but in a less disruptive way. Thank you for the music - Page 9 - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=17&t=68&start=160 It's the only page I've found slow on the forum. ...
by jeeswg
05 Nov 2019, 11:23
Forum: Forum Issues
Topic: horizontal rule: too faint
Replies: 4
Views: 269

Re: horizontal rule: too faint

Yeah, to change it just for me wouldn't be good. Especially as I probably won't use it because of the copy/paste issue. Maybe it looks more distinct in different themes. I had wondered if there was some 'hr' tag option, or some other similar/related tag. Thanks. Btw I didn't see any reference re. co...
by jeeswg
05 Nov 2019, 09:57
Forum: Forum Issues
Topic: horizontal rule: too faint
Replies: 4
Views: 269

horizontal rule: too faint

I see some problems with the 'hr' BBCode tag: • It's too faint. Practically invisible. • It doesn't copy to the clipboard. Removing any indication that text sections are intended as separate. • Also, it eats adjacent blank lines. 2 workarounds are [ b][ /b] (minus the spaces) and using extra blank l...
by jeeswg
04 Nov 2019, 14:16
Forum: Ask For Help
Topic: Bug! Array key variable not working when is string with number
Replies: 7
Views: 369

Re: Bug! Array key variable not working when is string with number

                      :lol:  :lol:  :lol:  :lol:
                      :lol:  :lol:        :lol:
                      :lol:  :lol:  :lol:  :lol:
                      :lol:  :lol:  :lol:  :lol:
                   :lol:
               :lol:
          :lol: :lol:
     :lol:
:lol: :lol:
by jeeswg
03 Nov 2019, 22:36
Forum: Scripts and Functions
Topic: WinClip - AHKv2 Compatibility
Replies: 21
Views: 3054

Re: WinClip - AHKv2 Compatibility

@dereklim78: These allow you to inspect the clipboard contents, that might give you some clues.

Free Clipboard Viewer for Windows
http://www.freeclipboardviewer.com/
InsideClipboard - View the content of all formats stored in the Clipboard
https://www.nirsoft.net/utils/inside_clipboard.html
by jeeswg
03 Nov 2019, 14:19
Forum: Ask For Help
Topic: Get thumbnail from video Topic is solved
Replies: 13
Views: 646

Re: Get thumbnail from video Topic is solved

- @swagfag: DllCall (WStr), and StrGet/StrPut (UTF-16) can be used to write Unicode/ANSI two-way compatible scripts that handle Unicode strings. - Note: many dll functions end in W and A, and these can be used in both Unicode and ANSI versions of AHK, you just need to specify things like WStr/AStr o...
by jeeswg
03 Nov 2019, 14:05
Forum: Bug Reports
Topic: SendInput does not always buffer keystrokes
Replies: 7
Views: 454

Re: SendInput does not always buffer keystrokes

Here's some code I was trying out re. the problem, including some Acc code, in case the ideas prove useful. Occasionally I saw a file properties dialog (alt+double-click) or the folder opened in a new window (ctrl+double-click). ;test clicking the item under the cursor in Explorer ;=================...
by jeeswg
02 Nov 2019, 06:57
Forum: AutoHotkey v2 Help
Topic: Get Date from MonthCal Topic is solved
Replies: 21
Views: 1482

Re: Get Date from MonthCal Topic is solved

- I think that simple memorable general rules are a good principle. So, if a function is passed an hWnd, it should handle that window, whether it's visible or hidden. Introducing WinGetVisible/WinIsVisible would be useful here, and something like 'ahk_opt V' could override that default. WinGetEnable...
by jeeswg
01 Nov 2019, 17:34
Forum: Ask For Help
Topic: string/numeric caching in AHK v1
Replies: 0
Views: 143

string/numeric caching in AHK v1

Here is a summary of caching in AHK v1: Concepts and Conventions | AutoHotkey https://www.autohotkey.com/docs/Concepts.htm#caching In effect, a variable can contain both a string and a number simultaneously. Usually this just improves the script's performance with no down-sides, but if a variable co...
by jeeswg
01 Nov 2019, 15:59
Forum: Ask For Help
Topic: How are binary numbers actually stored in memory? - NumPut Topic is solved
Replies: 7
Views: 505

Re: How are binary numbers actually stored in memory? - NumPut Topic is solved

Hello, see this: number to put: 0x123456789ABCDEF0 as bytes: 12 34 56 78 9A BC DE F0 flip them: F0 DE BC 9A 78 56 34 12 [EDIT:] Here's the thread re. caching, but I don't think it's particularly relevant re. understanding NumGet/NumPut. Cheers. caching queries - AutoHotkey Community https://autohotk...
by jeeswg
01 Nov 2019, 11:48
Forum: Ask For Help
Topic: How are binary numbers actually stored in memory? - NumPut Topic is solved
Replies: 7
Views: 505

Re: How are binary numbers actually stored in memory? - NumPut Topic is solved

- @Rohwedder: I've tried to answer both succinctly and accurately, but the material is fiddly. I will start a thread later today re. caches, to clarify some points. - Things to consider are: - What are the attributes of the variable before you apply NumPut. - What will NumPut do to the variable. - W...
by jeeswg
01 Nov 2019, 08:53
Forum: Scripts and Functions
Topic: [Library] Fnt v3.0 - Do Stuff With Fonts
Replies: 34
Views: 12783

Re: [Library] Fnt v3.0 - Do Stuff With Fonts

Hello jballi. Do you have any idea why the font dialog can be slow to open, e.g. on Notepad (Windows 7), at around 10 seconds. It's often slow the first time, but then fine after that. Btw Notepad only lists 158 fonts for me. Thanks.
by jeeswg
01 Nov 2019, 07:51
Forum: AutoHotkey v2 Help
Topic: Get Date from MonthCal Topic is solved
Replies: 21
Views: 1482

Re: Get Date from MonthCal Topic is solved

- @lexikos: As a user when you 'submit', you expect a change/notification, not necessarily hiding. As a programmer, you don't necessarily expect the variable collection *and* hiding to be coupled. - Re. the error message. This is unintuitive, because arguably 'var1' doesn't have any type, it's undef...
by jeeswg
31 Oct 2019, 20:25
Forum: Ask For Help
Topic: send/receive a command-line string Topic is solved
Replies: 3
Views: 205

Re: send/receive a command-line string Topic is solved

So, here's some code, a slave script that receives a delay length and a command-line string, and a master script to trigger that script. q:: ;run delayed ;vTarget := JEE_GetSelectedTextSimple() vTarget := Clipboard InputBox, vDelay,, % "run in how many minutes?`r`n" vTarget,,,,,,,, 1 if ErrorLevel r...
by jeeswg
31 Oct 2019, 20:01
Forum: Ask For Help
Topic: send/receive a command-line string Topic is solved
Replies: 3
Views: 205

Re: send/receive a command-line string Topic is solved

Nice. So putting it into my script above, it would be this: vCmdLn = "notepad.exe ""C:\Users\%A_UserName%\Desktop\My Dir\AutoHotkey.ahk""" That will probably be enough for my purposes, but potentially you could have quotes within quotes within quotes ... It would be interesting if anyone can find an...
by jeeswg
31 Oct 2019, 19:10
Forum: Ask For Help
Topic: send/receive a command-line string Topic is solved
Replies: 3
Views: 205

send/receive a command-line string Topic is solved

- Can AHK send/receive a command-line string ... as one argument, here are some tests: ;test receive command-line string ;vCmdLn = notepad.exe "C:\Users\%A_UserName%\Desktop\My Dir\AutoHotkey.ahk" vCmdLn = "notepad.exe "C:\Users\%A_UserName%\Desktop\My Dir\AutoHotkey.ahk"" MsgBox, % DllCall("kernel3...
by jeeswg
31 Oct 2019, 18:51
Forum: General Discussion
Topic: GitHub preview htm
Replies: 0
Views: 161

GitHub preview htm

E.g. this link, is there a way to view the htm as it would look with the changes applied. Also, is there an easy way to jump to the live page? Changes by Ragnar-F · Pull Request #393 · Lexikos/AutoHotkey_L-Docs · GitHub https://github.com/Lexikos/AutoHotkey_L-Docs/pull/393/commits/520884b4a97fb487db...
by jeeswg
31 Oct 2019, 18:01
Forum: Tips and Tricks
Topic: list of A_ variables and related commands/functions
Replies: 0
Views: 376

list of A_ variables and related commands/functions

A list of all A_ variables and related commands/functions where applicable: ;commands/functions that can set the default value (if used in the auto-execute section): (AHK v1) AutoTrim - A_AutoTrim (AHK v1) Menu (Tray) - A_IconHidden, A_IconTip (AHK v1) SetBatchLines - A_BatchLines, A_NumBatchLines (...
by jeeswg
31 Oct 2019, 16:37
Forum: Ask For Help
Topic: Extract icon index from ListView/TreeView item/row
Replies: 8
Views: 459

Re: Extract icon index from ListView/TreeView item/row

- Interesting idea, which I've written some code for. I could imagine it being useful for listview/treeview items that indicate different states. - Did you have any particular programs in mind? (I at least needed some example programs to test it on, fortunately I thought of a few.) - As ever, save a...

Go to advanced search