Search found 47 matches

by func
18 Apr 2022, 18:03
Forum: Ask for Help (v1)
Topic: Change one color of any window (Removing all white for eyestrain)
Replies: 5
Views: 556

Re: Change one color of any window (Removing all white for eyestrain)

Replacing white with light gray still gives all the benefits of dark characters on lighter background, it just reduces the eyestrain from glaring white screens. It's not a 'dark theme', it's just a 'sane light theme'.
by func
18 Apr 2022, 11:25
Forum: Ask for Help (v1)
Topic: Change one color of any window (Removing all white for eyestrain)
Replies: 5
Views: 556

Change one color of any window (Removing all white for eyestrain)

Goal: Change the default, eye-shattering white background color of most old apps or windows controls (most listviews, tree views, etc) to be light grey instead of white, to prevent eye strain. Currently using WinSet, Transcolor, FFFFFF, A you can change a color of any active window, it becomes trans...
by func
16 Apr 2022, 18:11
Forum: Scripts and Functions (v2)
Topic: WebView2
Replies: 139
Views: 33838

Re: 2.0-beta.1 - WebView2

Thank you thqby, that was the problem. I thought since I had windows 10 and edge it was already installed but it wasn't
For others, you may need to download the webview2 runtime installer from here
https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section
by func
16 Apr 2022, 02:37
Forum: Scripts and Functions (v2)
Topic: WebView2
Replies: 139
Views: 33838

Re: 2.0-beta.1 - WebView2

How do I get this to work? First I downloaded AutoHotkey_2.0-beta.1.zip from https://www.autohotkey.com/download/2.0/ Then I extracted that to a folder. I extracted WebView2.ahk to the same folder, along with the subfolders 32bit and 64bit which contain WebView2Loader.dll to the same folder. I also ...
by func
15 Apr 2022, 19:42
Forum: Ask for Help (v2)
Topic: [Autohotkey-jk] How to launch an internet explorer comobject?
Replies: 1
Views: 425

[Autohotkey-jk] How to launch an internet explorer comobject?

The following works for AHKv2 ie := ComObject("InternetExplorer.Application") ie.Visible := true ie.Navigate("https://www.autohotkey.com/") I converted this to the syntax for Autohotkey-jk, shared below, but it doesn't work, it gives an error that parameter #1 of comObject requires a number, not a s...
by func
13 Apr 2022, 01:13
Forum: Ask for Help (v2)
Topic: [Autohotkey-jk] winGetControls returns an array that can't be iterated over? Topic is solved
Replies: 2
Views: 443

[Autohotkey-jk] winGetControls returns an array that can't be iterated over? Topic is solved

I have a really strange result from using winGetControls in autohotkey-jk, on various windows, so for example in notepad, it will find 2 controls. Controls = winGetControls("Notepad") msgBox(Controls.length) // outputs: 2 msgBox(JSON.stringify(Controls)) // outputs: {} So it seems to be working, but...
by func
12 Apr 2022, 15:17
Forum: Ask for Help (v2)
Topic: [AutoHotkey-jk] How to use hotIf() Topic is solved
Replies: 3
Views: 1356

Re: [AutoHotkey-jk] How to use hotIf() Topic is solved

Accepted it just doesn't work in AHK-JK, had the correct syntax, it's just not working. Found a much more important problem anyway
by func
11 Apr 2022, 21:30
Forum: Ask for Help (v2)
Topic: [AutoHotkey-jk] How to use hotIf() Topic is solved
Replies: 3
Views: 1356

[AutoHotkey-jk] How to use hotIf() Topic is solved

How to use hotIf() with this? Note: I'm not actually trying to just detect if winActive("A"), it's for debugging only, I really need hotIf() instead of hotIfWinActive() Everything I'm trying with hotIf() is getting an error "Parameter 1 must match an existing #HotIf expression." hotIf(winActive("A")...
by func
11 Apr 2022, 13:29
Forum: Ask for Help (v2)
Topic: [Autohotkey-jk] How to send a variable to my ElectronJS app from Autohotkey-JK? Topic is solved
Replies: 2
Views: 685

[Autohotkey-jk] How to send a variable to my ElectronJS app from Autohotkey-JK? Topic is solved

I'm using Autohotkey-JK, which is a javascript-language implementation of AHK v2. I'm also making an ElectronJS app alongside it to be the "GUI", while AHK-JK is the "brain" of the app. The problem is how do I communicate between AHK-JK and the ElectronJS front end or back end? In a nutshell I'm try...
by func
04 Nov 2018, 12:43
Forum: Ask for Help (v1)
Topic: While prevents mouse button hotkeys from working
Replies: 1
Views: 659

Re: While prevents mouse button hotkeys from working

Problem solved. Needed to add #MaxThreadsPerHotkey 2 at the top of the script. If anyone can explain why this works please let me (and others) know.
by func
04 Nov 2018, 12:25
Forum: Ask for Help (v1)
Topic: While prevents mouse button hotkeys from working
Replies: 1
Views: 659

While prevents mouse button hotkeys from working

The below example code should work for everyone. Right clicking twice fast should show a popup menu with one entry labeled "Test". Clicking it runs a simple subroutine that sets WaitingForInput to 1, and enters a While loop. For some reason, this prevents my ~RButton:: hotkey from working, but the e...
by func
17 Aug 2017, 10:20
Forum: Old Topics
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 423
Views: 421346

Re: AutoGUI - GUI Designer and Script Editor

Wishlist: 1) Clone A_Variables dialog and rename to User variables, load variables in from current script 2) Add user-defined function list and gosub label list to the Control Types pane as select-able tabs 3) Ability to open multiple instances of autogui by right clicking a tab and selecting 'open ...
by func
13 Aug 2017, 06:05
Forum: Forum Issues
Topic: Can we get a script request /idea forum?
Replies: 7
Views: 2613

Re: Can we get a script request /idea forum?

Well, this is a first, a programming forum that is against sharing ideas, lol
by func
12 Aug 2017, 19:48
Forum: Ask for Help (v1)
Topic: How to run shortcut files?
Replies: 0
Views: 678

How to run shortcut files?

I've tried running shortcut files (.lnk) with AHK's run command, with comspec, and shellexecute, nothing is working. The problem is some shortcuts point to a file (these work) and some don't (these don't work) I checked that both types of shortcut do not work in cmd.exe, but they do in the windows R...
by func
12 Aug 2017, 03:43
Forum: Scripts and Functions (v1)
Topic: PopupFolder
Replies: 10
Views: 4677

PopupFolder

This script is designed to be used like a menu launcher, it's efficient because the GUI you use to build your menu is windows explorer. Simply add .lnk files to add programs, .url files for website shortcuts, and all your favorite folders and files and scripts. Folders can be used to create popup me...
by func
11 Aug 2017, 19:11
Forum: Forum Issues
Topic: Can we get a script request /idea forum?
Replies: 7
Views: 2613

Can we get a script request /idea forum?

Can we get a forum category dedicated to user submitted script ideas? I feel like many people have useful script ideas that probably never get spoken about because they don't feel technically proficient enough to attempt the script yet. Good ideas would probably get a lot of attention/replies and go...
by func
10 Aug 2017, 11:59
Forum: Ask for Help (v1)
Topic: Most unusual bug ever - Run command
Replies: 3
Views: 1332

Re: Most unusual bug ever - Run command

Thanks for the guess, it led me to a partial answer: First of all, the script doesn't even need to be run as admin, that was just a shotgun approach to try and fix it Neither does notepad need to be run as admin, But using everything search by voidtools to search for 'notepad.exe', I discovered ther...
by func
10 Aug 2017, 02:14
Forum: Ask for Help (v1)
Topic: Most unusual bug ever - Run command
Replies: 3
Views: 1332

Most unusual bug ever - Run command

In the following file is a fully working script that will append a new menu item to Notepad's menu bar named "Foo", when selecting items in this "Foo" menu, you will get msgbox alerts. For this to work, you need to download hook.dll from: https://www.autoitscript.com/forum/applications/core/interfac...

Go to advanced search