Search found 85 matches

by zotune
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: 813

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...
by zotune
23 Jan 2024, 15:38
Forum: Ask for Help (v1)
Topic: changing an application icon
Replies: 8
Views: 943

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%
by zotune
27 Apr 2020, 08:37
Forum: Scripts and Functions (v1)
Topic: [class][v1/v2] taskbar ornaments and controls
Replies: 18
Views: 6795

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.
by zotune
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: 4522

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)
by zotune
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: 4522

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).
by zotune
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: 4522

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:")....
by zotune
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: 4522

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.
by zotune
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: 4522

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)

Image
by zotune
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: 4522

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 ...
by zotune
21 Dec 2018, 07:54
Forum: Ask for Help (v1)
Topic: Dump process based on PID (must also work with services)
Replies: 0
Views: 589

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...
by zotune
12 Nov 2018, 15:41
Forum: Scripts and Functions (v1)
Topic: [Class] eAutocomplete - Custom word completion for (Rich)Edit controls
Replies: 33
Views: 14899

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)?
by zotune
14 Oct 2018, 07:00
Forum: Ask for Help (v1)
Topic: Splitpath with command line parameters
Replies: 2
Views: 979

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...
by zotune
14 Oct 2018, 05:03
Forum: Ask for Help (v1)
Topic: Convert .NET DateTime ticks to AHK YYYYMMDDHH24MISS timestamp
Replies: 10
Views: 4725

Re: Convert .NET DateTime ticks to AHK YYYYMMDDHH24MISS timestamp

@just me: This works great. Sorry for late reply. Thanks so much :)
by zotune
27 Jul 2018, 04:59
Forum: Ask for Help (v1)
Topic: Splitpath with command line parameters
Replies: 2
Views: 979

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...
by zotune
05 May 2018, 05:03
Forum: Bug Reports
Topic: FileGetShortcut: Wrong 'OutTarget' for 64 bit program files
Replies: 6
Views: 3209

Re: FileGetShortcut: Wrong 'OutTarget' for 64 bit program files

Thanks for the workaround @malcev.

And thanks for all the hard work you do @lexikos
by zotune
30 Apr 2018, 10:24
Forum: Bug Reports
Topic: FileGetShortcut: Wrong 'OutTarget' for 64 bit program files
Replies: 6
Views: 3209

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...
by zotune
04 Oct 2017, 18:27
Forum: Scripts and Functions (v1)
Topic: Socket.ahk
Replies: 41
Views: 29759

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.
by zotune
27 Feb 2017, 18:34
Forum: Ask for Help (v1)
Topic: Retrieve all ID/HWNDs for a specific process with parameters
Replies: 0
Views: 1393

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...

Go to advanced search