Search found 496 matches

by BGM
29 Oct 2020, 09:53
Forum: Ask For Help
Topic: gui that allows cmdline executions
Replies: 4
Views: 132

Re: gui that allows cmdline executions

Funny, this code works on my own computer, but doesn't work on others. I tried it on another computer and it keeps the gui from launching the first time, not the second.
by BGM
23 Oct 2020, 08:38
Forum: Ask For Help
Topic: script for treeview of a folder structure?
Replies: 3
Views: 142

Re: script for treeview of a folder structure?

The docs have an example of how to make tree items and sub-tree items. Anyway, I spent the time. loop, files, %rootfolder%\*, D { parentfolder := a_loopfilename parentitem := tv_add(a_loopfilename) loop, files, %a_loopfilefullpath%\*, D { tv_add(a_loopfilename,parentitem) } }
by BGM
22 Oct 2020, 16:15
Forum: Ask For Help
Topic: script for treeview of a folder structure?
Replies: 3
Views: 142

script for treeview of a folder structure?

Is there a script already made for a treeview to load a folder structure? I don't want to re-invent a wheel. I want to choose a folder and have it and it's subfolders appear as items in the tree. I can probably figure out how to do this, but was hoping to save some time with kindly-already-existing ...
by BGM
22 Oct 2020, 13:51
Forum: Ask For Help
Topic: gui that allows cmdline executions
Replies: 4
Views: 132

Re: gui that allows cmdline executions

Hmmm, I think I might have figured it out (always happens after I post). I only need to kill the second instance of the gui. If I do this, then it leaves any first instance alone, but if I call it with parameters, it allows the hidden instance to run. #singeinstance, off if not %0% { winget, windowc...
by BGM
22 Oct 2020, 13:31
Forum: Ask For Help
Topic: gui that allows cmdline executions
Replies: 4
Views: 132

gui that allows cmdline executions

My app is a commandline application with a GUI for its settings. If you run the program without parameters it opens the GUI. But if you run it with parameters, it runs the script without any GUI. I have the script set to look for commandline parameters and if there are none, it will launch the GUI, ...
by BGM
06 Oct 2020, 16:49
Forum: Ask For Help
Topic: Special Keyboard Keys on Win 10
Replies: 2
Views: 90

Re: Special Keyboard Keys on Win 10

Hey! That did the trick! I disabled both the power and sleep buttons in Power Settings, and now the keyboard special buttons work without turning off the computer. Thanks! I never thought of that. Actually, I must have had them disabled on my Win7, because I figure the same thing would have happened...
by BGM
06 Oct 2020, 10:40
Forum: Ask For Help
Topic: Special Keyboard Keys on Win 10
Replies: 2
Views: 90

Special Keyboard Keys on Win 10

On my keyboard, I have a Power button and a Standby button next to the media keys. When I set up hotkeys, the media keys work and get intercepted properly. However, if I use the Sleep hotkey, and attach a messagebox to it, the computer goes to sleep, and when I wake it up, I can see the messagebox t...
by BGM
25 May 2020, 21:36
Forum: Scripts and Functions
Topic: Screen clipping
Replies: 186
Views: 69572

Re: Screen clipping

I tried this. I used the win+Lbutton to make a clipping, then tried ctrl+x. It gives me an error box saying the file 24630312 does not exist. Strange. I figured out it happens on this line: Clipboard := ocr(pIRandomAccessStream, "en") Now, Using the win+Lbutton, we have created no files - only paste...
by BGM
10 Mar 2020, 11:20
Forum: Wish List
Topic: Prevent Win+Ctrl+Alt+Shift hotkeys from opening the Office dialog in Windows 1903
Replies: 13
Views: 14749

Re: Prevent Win+Ctrl+Alt+Shift hotkeys from opening the Office dialog in Windows 1903

You know what? I think something else is going on here. Since win+k kept launching the office app, I tried changing the hotkey to other combinations. Every single hotkey I tried to use to send the global hotkey ctrl+alt+shift+k to open keypass would launch the office app. However, if I try to use ct...
by BGM
07 Mar 2020, 21:08
Forum: Ask For Help
Topic: commandline parameter issues
Replies: 3
Views: 400

Re: commandline parameter issues

Thanks for the explanation.

I did run the fsutil command already after I made my last post, but didn't realize I had to recreate the files to get it to work.
by BGM
07 Mar 2020, 14:36
Forum: Ask For Help
Topic: commandline parameter issues
Replies: 3
Views: 400

Re: commandline parameter issues

Ah, okay, so maybe 8-dot-3 names are turned off on my system? It works if I compile the script, though.

Aside from this, is there any reason NOT to enable the 8-dot-3 filenames on Win10?
by BGM
07 Mar 2020, 14:32
Forum: Ask For Help
Topic: commandline parameter issues
Replies: 3
Views: 400

commandline parameter issues

I'm having a problem with the commandline. Here is the simple script: #singleinstance force #noenv Loop, %0% ; For each parameter: { param := %A_Index% ; Fetch the contents of the variable whose name is contained in A_Index. MsgBox, 4,, Parameter number %A_Index% is %param%. Continue? IfMsgBox, No b...
by BGM
05 Mar 2020, 11:10
Forum: Ask For Help
Topic: win+K and don't launch office app
Replies: 8
Views: 1007

Re: win+K and don't launch office app

So, I can run this: Get-AppxPackage *officehub* | Remove-AppxPackage and it runs. But win+k still opens that office app; it says "Welcome to Office; Sign in to use free web apps...." I do have Office365 Pro Plus installed, but it's a desktop application, not an app, and I can't remove *that* since I...
by BGM
04 Mar 2020, 17:45
Forum: Wish List
Topic: Prevent Win+Ctrl+Alt+Shift hotkeys from opening the Office dialog in Windows 1903
Replies: 13
Views: 14749

Re: Prevent Win+Ctrl+Alt+Shift hotkeys from opening the Office dialog in Windows 1903

I'm just trying to get win+K to work without opening the office app.
https://www.autohotkey.com/boards/viewtopic.php?t=72503#p316266

I don't care about any office apps at all. I'd like to disable them all but leave winkeys like win+R and win+E for run and explorer.
by BGM
04 Mar 2020, 15:55
Forum: Ask For Help
Topic: win+K and don't launch office app
Replies: 8
Views: 1007

Re: win+K and don't launch office app

Thanks for answering!
by BGM
03 Mar 2020, 23:19
Forum: Ask For Help
Topic: win+K and don't launch office app
Replies: 8
Views: 1007

Re: win+K and don't launch office app

I guess nobody has any clues for me. hmmph. I love to use win+k but I can't get rid of that MS office app. And ahk doesn't seem to completely override the hotkey like it should. Can someone else try it on their win 10? Just assign win+k to notepad and see if it opens the office app. Then try to make...
by BGM
26 Feb 2020, 14:54
Forum: Ask For Help
Topic: win+K and don't launch office app
Replies: 8
Views: 1007

Re: win+K and don't launch office app

When we assign a hotkey with autohotkey, isn't it supposed to override any existing hotkeys of the same designation? What I *think* is happening is that the win+k hotkey is bound to Windows Explorer and that application launches the Office app. I've tried uninstalling the Office app but it keeps com...
by BGM
13 Feb 2020, 12:00
Forum: Ask For Help
Topic: win+K and don't launch office app
Replies: 8
Views: 1007

win+K and don't launch office app

I want to use Win+K to open Keypass, so I set a hotkey in keypass (won't accept win key, so I set it to alt+shift+control+k) and use autohotkey to send the key command. This works, but it *also* launches the windows 10 Office app (the red one). I uninstalled it with Geek uninstaller, but win+k reins...
by BGM
20 Jan 2020, 20:01
Forum: Scripts and Functions
Topic: [WinAPI] IP Helper functions
Replies: 7
Views: 1354

Re: [WinAPI] IP Helper functions

Thanks again, jNizM - that's awesome. The docs say that it finds the best route to the interface for ipv4. I didn't even know this existed.

Go to advanced search