Search found 6899 matches

by jeeswg
28 Nov 2019, 01:41
Forum: Ask For Help
Topic: which Windows versions does AutoHotkey support?
Replies: 2
Views: 1265

which Windows versions does AutoHotkey support?

I was looking around to confirm what versions of Windows, AHK v1.0, v1.1 and v2.0 support. Including on the download page, and in the documentation, and on Wikipedia. I couldn't find any clear info. It's a bit of a concern, because when downloading software, Windows version support is the first thin...
by jeeswg
27 Nov 2019, 06:51
Forum: General Discussion
Topic: GitHub: contributing to the AutoHotkey documentation
Replies: 3
Views: 2075

GitHub: contributing to the AutoHotkey documentation

This thread is for people to post advice/guidelines re. contributing pull requests to the AutoHotkey documentation. [AHK v1.1/v2.0 docs] Commits · Lexikos/AutoHotkey_L-Docs · GitHub https://github.com/Lexikos/AutoHotkey_L-Docs/commits Commits · Lexikos/AutoHotkey_L-Docs · GitHub https://github.com/L...
by jeeswg
27 Nov 2019, 06:50
Forum: General Discussion
Topic: GitHub: contributing to the AutoHotkey source code
Replies: 0
Views: 1446

GitHub: contributing to the AutoHotkey source code

This thread is for people to post advice/guidelines re. contributing pull requests to the AutoHotkey source code. [AHK v1.1/v2.0 source code] Commits · Lexikos/AutoHotkey_L · GitHub https://github.com/Lexikos/AutoHotkey_L/commits/master Commits · Lexikos/AutoHotkey_L · GitHub https://github.com/Lexi...
by jeeswg
26 Nov 2019, 21:31
Forum: Ask For Help
Topic: Select Full Line By Hot Key
Replies: 4
Views: 628

Re: Select Full Line By Hot Key

It's helpful to know what program it is, to do tests with Alt. Also, some programs use Edit controls (e.g. Notepad) or Scintilla controls (e.g. Notepad2, Notepad++), and you can use PostMessage/SendMessage with those controls. Also, you could try ControlSend. Or ControlFocus and ControlSend. From ha...
by jeeswg
26 Nov 2019, 21:24
Forum: Ask For Help
Topic: Turning ACTIVE playback device off then on
Replies: 4
Views: 457

Re: Turning ACTIVE playback device off then on

If your device is a USB device, perhaps this: list/enable/disable USB devices - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=6&t=69380 If you find a NirSoft application that works, that could be really useful information, for me or others to test code. (However, I may not have ...
by jeeswg
26 Nov 2019, 17:59
Forum: AutoHotkey v2 Help
Topic: check if a number is a valid Int64/Double
Replies: 1
Views: 714

check if a number is a valid Int64/Double

I'm trying to work out some simple code to determine whether a number is both an integer, and in the Int64 range. It would be useful to be able to do something similar for floats. I.e. does an integer/float/string correspond to a valid Int64 or Double. Thanks. var := "100" MsgBox(var is "integer") ;...
by jeeswg
26 Nov 2019, 16:28
Forum: General Discussion
Topic: GitHub software
Replies: 2
Views: 1339

GitHub software

Does anyone have any GitHub software that they recommend using? Thanks.

This video recommends: Atom editor, and Cmder (the full version comes with Git).
Git & GitHub Tutorial for Beginners #2 - Installing Git - YouTube
https://www.youtube.com/watch?v=MFtsLRphqDM
by jeeswg
26 Nov 2019, 16:27
Forum: General Discussion
Topic: GitHub resources (tutorials)
Replies: 0
Views: 1091

GitHub resources (tutorials)

Some GitHub links. Do share any others. Thanks. [excellent series of short tutorial videos] Git & GitHub Tutorial for Beginners - YouTube https://www.youtube.com/playlist?list=PL4cUxeGkcC9goXbgTDQ0n_4TBzOO0ocPR [note: do read the comments] Git Basics: Merge and Rebase - YouTube https://www.youtube.c...
by jeeswg
26 Nov 2019, 15:26
Forum: Offtopic
Topic: People going constantly offtopic and other problems
Replies: 51
Views: 9228

Re: People going constantly offtopic and other problems

@nnnik: So what do you think the best solution is re. clashing visions? I think we could have a 'one post each' thread, where people outline their concerns/vision for AutoHotkey v2, and their suggested solutions. 'my AutoHotkey v2 vision: one post each' perhaps. We could also have a separate related...
by jeeswg
26 Nov 2019, 00:13
Forum: Offtopic
Topic: People going constantly offtopic and other problems
Replies: 51
Views: 9228

Re: v2 breaking changes policy

@gregster: I'd be happy if you'd split this topic from this post onwards: v2 breaking changes policy - Page 2 - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=37&t=69922&p=302802#p302802 The split thread could be an excellent opportunity, and the first real opportunity, to resolv...
by jeeswg
25 Nov 2019, 20:48
Forum: Offtopic
Topic: functional programming resources
Replies: 1
Views: 1508

functional programming resources

I'm looking for good videos that explain the key concepts in functional programming, e.g. anything from 10 minutes to 2 hours (or possibly more if there's a very good series). I might add more links as and when I find them. [09:19 simple intro, hinting at what it is, and why it might be useful] Func...
by jeeswg
25 Nov 2019, 16:52
Forum: Scripts and Functions
Topic: MCode4GCC -- C/C++ to MCode Generator
Replies: 115
Views: 35171

Re: MCode4GCC -- C/C++ to MCode Generator

I've updated my post above. So perhaps: replace (0x40000000|0x01) with 1, in 2 places, as it was in the original script.

And/or, StringToBinary, uses CryptStringToBinary. StringToBinary specifies a default value of CRYPT_STRING_HEXRAW := 0xC, which is not supported by Windows XP.
by jeeswg
25 Nov 2019, 12:54
Forum: Offtopic
Topic: People going constantly offtopic and other problems
Replies: 51
Views: 9228

Re: v2 breaking changes policy

A link to the original thread: v2 breaking changes policy - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=37&t=69922 nnnik, while others could have been more ontopic, your posts have been the worst: Helgef: Offtopic, summarised the present policy but offered no changes. a more s...
by jeeswg
25 Nov 2019, 11:15
Forum: Ask For Help
Topic: How do we write a direct KEY in regedit? Topic is solved
Replies: 4
Views: 533

Re: How do we write a direct KEY in regedit? Topic is solved

Would you mind sharing what you did? Thanks. Here's a way using reg add: ;note: use 'try' to avoid an error message if an admin prompt appears and you choose No or press Esc ;note: 'Hide' to avoid showing a temporary command prompt ;note: '/f' to avoid a command prompt, prompting for confirmation ;a...
by jeeswg
25 Nov 2019, 11:05
Forum: Scripts and Functions
Topic: MCode4GCC -- C/C++ to MCode Generator
Replies: 115
Views: 35171

Re: MCode4GCC -- C/C++ to MCode Generator

I tried the new version (with 2 edits) and it worked great. Thanks! The 2 edits were to undo the 2 changes to Base64enc (which uses CryptBinaryToString), old script: 1, new script: (0x40000000|0x01). I would use 1 because: (0x40000000|0x01) would potentially make the script fail on Windows XP and ea...
by jeeswg
25 Nov 2019, 00:56
Forum: Offtopic
Topic: People going constantly offtopic and other problems
Replies: 51
Views: 9228

Re: v2 breaking changes policy

@Helgef: You mentioned 'BIF parameter ordering'. The massive inconvenience of checking/reordering old instances of a function, far outweigh any convenience gains of reordered parameters. Realistically, BIF parameter reordering would necessitate a new function name, and if this wasn't done, I'd creat...
by jeeswg
25 Nov 2019, 00:00
Forum: AutoHotkey v2 Development
Topic: Changes to %fn%(), fn.call() or func('fn') syntax?
Replies: 39
Views: 9911

Re: Changes to %fn%(), fn.call() or func('fn') syntax?

I updated my earlier post with an example. Taking sirksel's example. Why can't we just do this: iseven := func("isdiv").bind(2) funcfromobj("isdiv", "isdiv") ;add a new function to the function namespace msgbox(iseven(6)) ;allow undefined functions at loadtime ;note: funcfromobj could have a scope p...
by jeeswg
24 Nov 2019, 18:20
Forum: Scripts and Functions
Topic: MCode4GCC -- C/C++ to MCode Generator
Replies: 115
Views: 35171

Re: MCode4GCC -- C/C++ to MCode Generator

Thanks guest3456. OK, a summary: Notes on how the hex/base64 is generated: - Hex from: MCode_Generate (which uses the gcc exe) creates var x. - Base64 from: Hex2Base64 (which uses StringToBinary, which uses the Winapi function CryptStringToBinary) applied to var x. 'Bentschi Style' option: - Base64,...
by jeeswg
24 Nov 2019, 17:53
Forum: Ask For Help
Topic: Part of a window has different ClassNN-names while using it
Replies: 4
Views: 619

Re: Part of a window has different ClassNN-names while using it

Having a list of control ClassNNs would be useful, to try and figure out a pattern. q:: ;list controls WinGet, hWnd, ID, A WinGetClass, vWinClass, % "ahk_id " hWnd vOutput := hWnd "`t" vWinClass "`r`n`r`n" WinGet, vCtlList, ControlList, % "ahk_id " hWnd Loop Parse, vCtlList, % "`n" { vCtlClassNN := ...
by jeeswg
24 Nov 2019, 13:00
Forum: Scripts and Functions
Topic: MCode4GCC -- C/C++ to MCode Generator
Replies: 115
Views: 35171

Re: MCode4GCC -- C/C++ to MCode Generator

StringToBinary is using fmt=12 by default:
CRYPT_STRING_HEXRAW := 0xC to return raw hex but with a trailing enter (not supported by Windows XP).
Anyhow, at least that explains the trailing enter.

Go to advanced search