Search found 494 matches

by BGM
23 Oct 2020, 08:38
Forum: Ask For Help
Topic: script for treeview of a folder structure?
Replies: 3
Views: 83

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

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: 2
Views: 58

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: 2
Views: 58

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

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

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: 184
Views: 67161

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

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

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

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

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

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

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

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

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

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

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

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.
by BGM
18 Jan 2020, 12:08
Forum: Scripts and Functions
Topic: [WinAPI] IP Helper functions
Replies: 7
Views: 1234

Re: [WinAPI] IP Helper functions

I want to find the information about the network adapter that is in use. I found that if I just used this: adaptersinfo := GetAdaptersInfo() msgbox % adaptersinfo[1].ipaddresslist that it would try and get the ipaddress of the first adapter even if it was bluetooth. So I wrote this wrapper which wil...
by BGM
17 Jan 2020, 15:25
Forum: Scripts and Functions
Topic: AHK - WMI - Snippets
Replies: 30
Views: 20741

Re: AHK - WMI - Snippets

Ahhhh! Much better! Thanks, jNizM!
What did you change, by the way, so I know what to look for with other things? pointer size, no?

Go to advanced search