Search found 85 matches
- 23 Jan 2024, 16:04
- Forum: Scripts and Functions (v1)
- Topic: auto-install: Automatically unpack archives and silently run installers in Downloads folder
- Replies: 0
- Views: 855
auto-install: Automatically unpack archives and silently run installers in Downloads folder
Features: - Listen for archives and installers to appear in Downloads folder (as well as any subfolders) - Auto-unpack .zip, .rar, .7z and .iso archives - Auto-run .msi installers silently (will also uninstall first) - Auto-detect installer type and run .exe installers silently (currently supports N...
- 23 Jan 2024, 15:38
- Forum: Ask for Help (v1)
- Topic: changing an application icon
- Replies: 8
- Views: 1004
Re: changing an application icon
any solution to this? small icon works but not big
Code: Select all
SendMessage, WM_SETICON:=0x80, ICON_SMALL:=0, % LoadPicture(A_WorkingDir "\icon.ico", "Icon1", isIcon),, ahk_id %id%
SendMessage, WM_SETICON:=0x80, ICON_BIG:=1, % LoadPicture(A_WorkingDir "\icon.ico", "Icon2", isIcon),, ahk_id %id%
- 27 Apr 2020, 08:37
- Forum: Scripts and Functions (v1)
- Topic: [class][v1/v2] taskbar ornaments and controls
- Replies: 18
- Views: 6896
Re: [class][v1/v2] taskbar ornaments and controls
Great script. Would it be possible to set overlay icons on external apps? That would be awesome.
- 27 Aug 2019, 16:03
- Forum: Scripts and Functions (v1)
- Topic: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
- Replies: 13
- Views: 4584
Re: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
CHANGELOG
v0.14 alpha - 28 Aug 19:
- Feature: Added option to reload graphics card driver on switch (sometimes helps with HDR or display problems when switching)
v0.13 alpha - 27 Aug 19:
- Fix: Convert forwardslash '/' to backwardsslash '\' (uplay uses this)
v0.14 alpha - 28 Aug 19:
- Feature: Added option to reload graphics card driver on switch (sometimes helps with HDR or display problems when switching)
v0.13 alpha - 27 Aug 19:
- Fix: Convert forwardslash '/' to backwardsslash '\' (uplay uses this)
- 26 Feb 2019, 10:18
- Forum: Scripts and Functions (v1)
- Topic: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
- Replies: 13
- Views: 4584
Re: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
no problem, glad to hear someone else found it useful
- 25 Feb 2019, 16:06
- Forum: Scripts and Functions (v1)
- Topic: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
- Replies: 13
- Views: 4584
Re: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
ok, I tried updating the code (but unable to test at the moment). let me know if it works
- 25 Feb 2019, 12:12
- Forum: Scripts and Functions (v1)
- Topic: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
- Replies: 13
- Views: 4584
Re: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
awesome!
you can close it to tray (bottom right)
I think you can create a startup shortcut and tell it to run minimized:
https://i.imgur.com/7bMupiz.png
if not I can add a feature to remember to startup as tray (if tray was last state). just gotta fix my computer first (ssd is breaking down).
you can close it to tray (bottom right)
I think you can create a startup shortcut and tell it to run minimized:
https://i.imgur.com/7bMupiz.png
if not I can add a feature to remember to startup as tray (if tray was last state). just gotta fix my computer first (ssd is breaking down).
- 06 Feb 2019, 11:43
- Forum: Scripts and Functions (v1)
- Topic: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
- Replies: 13
- Views: 4584
Re: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
A little bit. It uses about 1% for me. Most games don't use 100% cpu, so it's worth it for me, but I'm happy to hear suggestions on how to optimize the code. You can comment out processmatch lines in the code if you only use 'if winexist' boolean. ;Processmatch for process in ComObjGet("winmgmts:")....
- 06 Feb 2019, 11:20
- Forum: Scripts and Functions (v1)
- Topic: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
- Replies: 13
- Views: 4584
Re: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
That is correct, using CommandLine in Win32_Process class.
InStr has to be = 1, so you can type any folder containing games you want to appear on your TV (from any launcher).
It also supports AutoHotkeys 'if winexist' boolean (ahk_*). Steam Big Picture example included above.
InStr has to be = 1, so you can type any folder containing games you want to appear on your TV (from any launcher).
It also supports AutoHotkeys 'if winexist' boolean (ahk_*). Steam Big Picture example included above.
- 05 Feb 2019, 13:56
- Forum: Scripts and Functions (v1)
- Topic: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
- Replies: 13
- Views: 4584
Re: Autoswitch - App that triggers when games are launched: Automatically sets default audio device/primary monitor
CHANGELOG
v0.12 alpha - 5 Feb 19:
- Feature: Turn off/on night light
- Fix: Do not activate GUI when updating titlebar (messes with Steam Big Picture focus)
v0.12 alpha - 5 Feb 19:
- Feature: Turn off/on night light
- Fix: Do not activate GUI when updating titlebar (messes with Steam Big Picture focus)
- 29 Jan 2019, 14:24
- Forum: Scripts and Functions (v1)
- Topic: Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
- Replies: 13
- Views: 4584
Autoswitch - Automatically sets default audio device/primary monitor when games/apps are started
AUTOSWITCH https://i.imgur.com/9NSH3qi.png Based on if a process (command line) is running or not/window existing, Autoswitch can: Automatically set default audio playback device Automatically set primary monitor Automatically black out unused screens I made this so I could open Metal Gear Solid V ...
- 21 Dec 2018, 07:54
- Forum: Ask for Help (v1)
- Topic: Dump process based on PID (must also work with services)
- Replies: 0
- Views: 595
Dump process based on PID (must also work with services)
Hi, anyone know how to get this script working (or MiniDumpWriteDump)?: https://autohotkey.com/boards/viewtopic.php?p=22226#p22226 https://docs.microsoft.com/en-us/windows/desktop/api/minidumpapiset/nf-minidumpapiset-minidumpwritedump I am currently using procdump to do this, but it seems to be bloc...
- 12 Nov 2018, 15:41
- Forum: Scripts and Functions (v1)
- Topic: [Class] eAutocomplete - Custom word completion for (Rich)Edit controls
- Replies: 33
- Views: 15232
Re: [Class] eAutocomplete - Custom word completion for (Rich)Edit controls
Great work!
Any chance this can be modified to work with any/specific windows (window hwnd ahk_id)?
Any chance this can be modified to work with any/specific windows (window hwnd ahk_id)?
- 14 Oct 2018, 07:00
- Forum: Ask for Help (v1)
- Topic: Splitpath with command line parameters
- Replies: 2
- Views: 989
Re: Splitpath with command line parameters
Thanks. I ended up with this: SplitPath(ProcessPath="",byref Directory="",byref Process="",byref Parameters="",byref Extension="",byref ProcessNoExt="") { Static SplitPath if !IsObject(SplitPath) SplitPath:={} if IsObject(SplitPath[ProcessPath]) ;already indexed { Directory:=SplitPath[ProcessPath,"D...
- 14 Oct 2018, 05:03
- Forum: Ask for Help (v1)
- Topic: Convert .NET DateTime ticks to AHK YYYYMMDDHH24MISS timestamp
- Replies: 10
- Views: 4787
Re: Convert .NET DateTime ticks to AHK YYYYMMDDHH24MISS timestamp
@just me: This works great. Sorry for late reply. Thanks so much
- 27 Jul 2018, 04:59
- Forum: Ask for Help (v1)
- Topic: Splitpath with command line parameters
- Replies: 2
- Views: 989
Splitpath with command line parameters
Hi, Is there a splitpath function that supports command line parameters? I tried to make my own but it fails on certain paths. ;Working = C:\Program Files\Test\Test.exe -title someprogram ;Not working = C:\Program Files (x86)\Test\Test\Test.exe -inifile "C:\ProgramData\Test\Test\Config\Test.ini" Spl...
- 05 May 2018, 05:03
- Forum: Bug Reports
- Topic: FileGetShortcut: Wrong 'OutTarget' for 64 bit program files
- Replies: 6
- Views: 3277
Re: FileGetShortcut: Wrong 'OutTarget' for 64 bit program files
Thanks for the workaround @malcev.
And thanks for all the hard work you do @lexikos
And thanks for all the hard work you do @lexikos
- 30 Apr 2018, 10:24
- Forum: Bug Reports
- Topic: FileGetShortcut: Wrong 'OutTarget' for 64 bit program files
- Replies: 6
- Views: 3277
FileGetShortcut: Wrong 'OutTarget' for 64 bit program files
;requires a 64 bit windows system ;1 - create .lnk shortcut 'C:\test.lnk' ;2 - set target to an executable in 'C:\Program Files', for example: 'C:\Program Files\test.exe' ;3 - run this script: FileGetShortcut, c:\test.lnk, OutTarget, OutDir msgbox % OutTarget ;wrong 'C:\Program Files (x86)\test.exe...
- 04 Oct 2017, 18:27
- Forum: Scripts and Functions (v1)
- Topic: Socket.ahk
- Replies: 41
- Views: 30312
Re: Socket.ahk
Thanks for the 'socket.ahk' script GeekDude. It's beyond awesome, and a great improvement upon the original.
Do you think you could make an example where you copy a file from client to server? I have yet to figure it out.
Do you think you could make an example where you copy a file from client to server? I have yet to figure it out.
- 27 Feb 2017, 18:34
- Forum: Ask for Help (v1)
- Topic: Retrieve all ID/HWNDs for a specific process with parameters
- Replies: 0
- Views: 1395
Retrieve all ID/HWNDs for a specific process with parameters
I'm trying to list all open windows for a specific process with parameters. Can anyone help me out with this code? Much appreciated. :) ProcessList() { ;This is the correct order for when the apps were started PL := new ObjectOrder() for process in ComObjGet("winmgmts:").ExecQuery("Select * from Win...