Search found 2967 matches

by jeeswg
Yesterday, 18:55
Forum: Ask For Help
Topic: How to check if a menu item is checked or unchecked? Topic is solved
Replies: 8
Views: 96

Re: How to check if a menu item is checked or unchecked? Topic is solved

Btw sometimes menus need to be updated/refreshed before the menu item state can be retrieved correctly.
by jeeswg
Yesterday, 18:53
Forum: Ask For Help
Topic: How to display RTL Languages in GUI? Topic is solved
Replies: 4
Views: 55

Re: How to display RTL Languages in GUI? Topic is solved

This style, 0x00400000L, is used in some programming languages, but not AutoHotkey. You would just use 0x00400000.
by jeeswg
Yesterday, 18:46
Forum: Ask For Help
Topic: Interacting with specific elements in unique programs
Replies: 2
Views: 59

Re: Interacting with specific elements in unique programs

- I tried experimenting with some music software once, MuseScore. I wrote the music in a custom shorthand and used key presses to input the data. - Generally, if feasible, I would be more interested in editing the data in the saved file. And then what I would be interested in automating would be sav...
by jeeswg
Yesterday, 18:30
Forum: Ask For Help
Topic: How to display RTL Languages in GUI? Topic is solved
Replies: 4
Views: 55

Re: How to display RTL Languages in GUI? Topic is solved

Btw AHK doesn't use trailing L's with messages.
by jeeswg
Yesterday, 18:27
Forum: Ask For Help
Topic: How to check if a menu item is checked or unchecked? Topic is solved
Replies: 8
Views: 96

Re: How to check if a menu item is checked or unchecked? Topic is solved

Although I agree that such a function is useful for external programs, and potentially for internal programs, it's the program that sets whether a menu item is ticked or unticked, so the program should know what the state is! I'm curious as to why you would need this for an internal program.
by jeeswg
Yesterday, 18:19
Forum: AutoHotkey v2 Development
Topic: conversion logic, v1 = -> v1 := -> v2, two-way compatibility
Replies: 117
Views: 19502

Re: conversion logic, v1 = -> v1 := -> v2, two-way compatibility

- I converted all of my main scripts, which run together as one script, around 53000 lines, and got it to run in AHK v2. I haven't moved over yet, because I still need to convert the function libraries. I saved them for later, so I could test my finalised converter script on them. - I'll have some i...
by jeeswg
Yesterday, 15:47
Forum: AutoHotkey v2 Development
Topic: Reconsideration request? Topic is solved
Replies: 33
Views: 783

Re: Reconsideration request? Topic is solved

- @nnnik: I look forward to any information/tutorials re. these functions. I've read a bit about lambda functions, any key example of how they would be useful would be great. To my mind it sort of (note: sort of) touches on ideas of dynamic code, a workaround being to write/launch a script and pipe ...
by jeeswg
Yesterday, 14:24
Forum: Ask For Help
Topic: Ask if a control is active vs a window
Replies: 19
Views: 224

Re: Ask if a control is active vs a window

Well, the questions you asked were good ones, the code didn't take me very long, because I have lots of templates, and, you've led me to discover some quite interesting things about Excel: re. workbooks and controls, and workbooks and objects. Good content for my eventual Excel tutorial, some good f...
by jeeswg
Yesterday, 12:36
Forum: Ask For Help
Topic: Copy Html text, modify it (ex change color of text), paste it back
Replies: 5
Views: 59

Re: Copy Html text, modify it (ex change color of text), paste it back

- For tips with RTF, open WordPad, get the text to look the way you want it (bold, colours etc), then save as an RTF file, and open that file with Notepad. - What I meant was, can an HTML editor actually handle formatted text? When you edit code or html, it's plaintext, so it sort of, doesn't make s...
by jeeswg
Yesterday, 11:46
Forum: Ask For Help
Topic: Copy Html text, modify it (ex change color of text), paste it back
Replies: 5
Views: 59

Re: Copy Html text, modify it (ex change color of text), paste it back

- Did you try putting RTF on the clipboard, but *not* putting HTML on the clipboard, for use with the HTML editor? I don't know if that if that would work but it's worth a try. - Maybe the HTML editor thinks that it serves you better by treating HTML on the clipboard literally. But then, can the HTM...
by jeeswg
Yesterday, 11:44
Forum: Ask For Help
Topic: RegEx problem Topic is solved
Replies: 2
Views: 28

Re: RegEx problem Topic is solved

Sometimes using \Q and \E makes escaping easier.

Code: [Select all] [Expand]GeSHi © Codebox Plus

by jeeswg
Yesterday, 11:09
Forum: Scripts and Functions
Topic: Press Alt Command and then digits Y01 and next Y14
Replies: 2
Views: 35

Re: Press Alt Command and then digits Y01 and next Y14

{Alt down} {Alt up} perhaps? Although 'hit' alt, implies you don't need to hold it down, is this for a menu bar?
by jeeswg
Yesterday, 11:01
Forum: Ask For Help
Topic: Find and Replace in multiple documents?
Replies: 10
Views: 148

Re: Find and Replace in multiple documents?

- I would copy and paste the lists from Excel into a txt file. E.g. if the text was stored in two adjacent columns in Excel. Then in the txt file you would get lines of text of the form: 'word TAB word'. Tab-separated text. - You could read the text into AutoHotkey using FileRead, and parse it using...
by jeeswg
Yesterday, 10:49
Forum: Ask For Help
Topic: Ask if a control is active vs a window
Replies: 19
Views: 224

Re: Ask if a control is active vs a window

- The two scripts with q hotkeys are completely separate. To put them both in the same script, comment out or change the hotkeys. - The Excel_Get function needs to be in your script, or included via #Include (or placed in the Lib folder), for the first one to work. The Acc functions need to be in yo...
by jeeswg
Yesterday, 09:01
Forum: Ask For Help
Topic: Help with exclude folders from loop
Replies: 6
Views: 78

Re: Help with exclude folders from loop

- How about this? q:: ;list number/size of files on C drive vDir1 := "C:" vList := "" Loop, Files, % vDir1 "\*", D { if !(A_LoopFileName = "Windows") && !InStr(A_LoopFileName, "Program Files") vList .= A_LoopFileFullPath "|" } vList...
by jeeswg
Yesterday, 07:59
Forum: Ask For Help
Topic: Enumerate windows 10 action center list?
Replies: 1
Views: 41

Re: Enumerate windows 10 action center list?

Since no-one's answered, I thought I'd mention in case any tray icon scripts can retrieve related text. Or you could try with AccViewer.

Acc library (MSAA) and AccViewer download links - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=26201
by jeeswg
Yesterday, 03:04
Forum: Gaming
Topic: Hotkey for Mu Online
Replies: 2
Views: 26

Re: Hotkey for Mu Online

Try NumpadIns, for when NumLock is off.
by jeeswg
Yesterday, 02:43
Forum: Gaming
Topic: AHK
Replies: 3
Views: 39

Re: AHK

- Hotkeys can use tilde, ~, to make them not consume the key press that triggered the hotkey, that way both scripts can receive the hotkey, but that may be undesirable for your script. - You could have a hotkey subroutine in Script A that uses PostMessage to send a message to Script B, Script B rece...
by jeeswg
Yesterday, 02:38
Forum: Ask For Help
Topic: Extended NumPad keys on Microsoft Keyboard
Replies: 2
Views: 30

Re: Extended NumPad keys on Microsoft Keyboard

In the main window for an AutoHotkey script, go to 'View, Key history and script info'. Try pressing the keys and see if it shows anything.
by jeeswg
Yesterday, 02:25
Forum: Ask For Help
Topic: Find and Replace in multiple documents?
Replies: 10
Views: 148

Re: Find and Replace in multiple documents?

- @anime: re. case, see StringCaseSense for StrReplace. RegExReplace has an i option for case sensitivity. I provided some code to handle lower/title/upper case in my post above. You can use the Format function or StringUpper/StringLower. - I would seriously consider the RegEx approach using \b, i.e...

Go to advanced search