Search found 36 matches

by func
04 Nov 2018, 12:43
Forum: Ask For Help
Topic: While prevents mouse button hotkeys from working
Replies: 1
Views: 113

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
Topic: While prevents mouse button hotkeys from working
Replies: 1
Views: 113

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: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 325
Views: 150019

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: 927

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
Topic: How to run shortcut files?
Replies: 0
Views: 148

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
Topic: PopupFolder
Replies: 3
Views: 781

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: 927

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
Topic: Most unusual bug ever - Run command
Replies: 3
Views: 319

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
Topic: Most unusual bug ever - Run command
Replies: 3
Views: 319

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...
by func
06 Aug 2017, 10:04
Forum: Ask For Help
Topic: How to add a submenu to notepad's menubar?
Replies: 2
Views: 232

Re: How to add a submenu to notepad's menubar?

jeeswg, thank you so much for the solution!! 10/10 ign I actually already have a way to notify ahk when a menu item is selected using hook.dll, I stripped it out to make the original question simpler for people looking through the code here is the implementation with hook.dll #SingleInstance Force R...
by func
06 Aug 2017, 08:02
Forum: Ask For Help
Topic: How to add a submenu to notepad's menubar?
Replies: 2
Views: 232

How to add a submenu to notepad's menubar?

The following script runs notepad, finds notepad's hwnd, appends a menuitem to notepad's menubar and titles it "Foo", and adds two menu items, "Apple" and "Banana". I'm trying to add a submenu, which may also be called a popup menu, to the "Foo" menu. #SingleInstance Force Run, Notepad,,, pid WinWai...
by func
03 Aug 2017, 16:24
Forum: Ask For Help
Topic: Add a menu item to a third party standard toolbar?
Replies: 2
Views: 147

Re: Add a menu item to a third party standard toolbar?

I found a script which sort of does this, but how can I get it to add submenu items in a dropdown when the top-level menu item is clicked? Code requires hook.dll in same directory as AppendMenu.ahk: https://www.autoitscript.com/forum/applications/core/interface/file/attachment.php?id=7166 Run, Notep...
by func
03 Aug 2017, 04:44
Forum: Ask For Help
Topic: Add a menu item to a third party standard toolbar?
Replies: 2
Views: 147

Add a menu item to a third party standard toolbar?

Is it possible to add a new menu item to a third party application's standard windows toolbar? Re-stated in more context: I can add a menu to a third party application's standard windows toolbar using visual studio or resource hacker on the dll, but the problem is the application disables all menu i...
by func
28 Jul 2017, 02:07
Forum: Scripts and Functions
Topic: AHK-Windows-Enhancement - Better windows 10 functionality
Replies: 0
Views: 572

AHK-Windows-Enhancement - Better windows 10 functionality

This is a work in a progress, some scripts have been completed, others are still on the to-do list. I'm looking for more script ideas and/or help in writing the scripts. I hope they are useful. The scripts will be made for windows 10, if they work for other versions, it's pure luck. https://github.c...
by func
23 Jul 2017, 18:28
Forum: Ask For Help
Topic: Modifier key hotkeys on single press only
Replies: 1
Views: 71

Re: Modifier key hotkeys on single press only

Figured it out, if there's a better solution please post it

Code: Select all

#SingleInstance Force
#InstallKeybdHook

~LWin Up::
if (A_PriorKey = "Lwin") {
	msgbox Lwin
}
Return

~LControl Up::
if (A_PriorKey = "LControl") {
msgbox LControl
}
Return
by func
23 Jul 2017, 18:13
Forum: Ask For Help
Topic: Modifier key hotkeys on single press only
Replies: 1
Views: 71

Modifier key hotkeys on single press only

Is there a way to utilize modifier keys, such as CTRL, WIN, SHIFT, ALT as single-press hotkeys without blocking their functionality when used in key-combinations ? For example: Press LeftControl once, msgbox is displayed because of AHK hotkey Press LeftControl+S, nothing happens via AHK script (but ...
by func
23 Jul 2017, 18:09
Forum: Ask For Help
Topic: Enable/disable external menuitem
Replies: 3
Views: 500

Re: Enable/disable external menuitem

Thank you, that's perfect, guess I just didn't understand the conversion of MF_ENABLED from the 0x00000001L to 0x0 thing
by func
23 Jul 2017, 16:40
Forum: Ask For Help
Topic: Enable/disable external menuitem
Replies: 3
Views: 500

Enable/disable external menuitem

I'm trying to enable/disable/grey out menu items for default windows style menus, in external programs, such as notepad.exe in the example below but for some reason it's not working. I think my "EnableMenuItem" dllcall has wrong parameters, such as the 0x00000001L part, or maybe my "GetSubMenu" dllc...
by func
26 Mar 2017, 05:21
Forum: Bug Reports
Topic: Joystick problems with Windows 10 anniversary update
Replies: 16
Views: 10176

Re: Joystick problems with Windows 10 anniversary update

I'm having this same problem with a new xbox pc controller. It looks like an xbox one controller. The test joystick script works when I press the buttons on the controller if the script's main window (double click tray icon) is active. But it doesn't work when it's not active. Why is this? Is there ...
by func
03 Mar 2017, 11:08
Forum: Other Programming Languages
Topic: Pharo
Replies: 0
Views: 3331

Pharo

Pharo is a new take on Smalltalk and comes with a development environment that makes programming easy. Here is all of the syntax of Pharo (just as an overview) on two pages: http://files.pharo.org/media/pharoCheatSheet.pdf That is all there is to it, it's extremely simple. Everything is an object. I...

Go to advanced search