Search found 103 matches

by x32
05 Apr 2018, 04:05
Forum: Ask For Help
Topic: Identify monitors and add to context menu
Replies: 2
Views: 306

Re: Identify monitors and add to context menu

1. Yes, it's possible. You just need to change registry for this puprose. I see, Thanks. 2. See function SysGet I went back and looked at SysGet again but I don't see anything that will identify the monitors when in mirrored mode. In fact, when in mirrored mode, SysGet only sees one monitor. Even i...
by x32
05 Apr 2018, 00:20
Forum: Ask For Help
Topic: Identify monitors and add to context menu
Replies: 2
Views: 306

Identify monitors and add to context menu

These are two unrelated questions other then they both involve invoking a Windows command. These are not even for the same project but both have come up recently and peaked my interest. I haven't found anything by searching so hopefully someone here will know. 1. Is it possible to use AHK to edit co...
by x32
24 Mar 2018, 19:54
Forum: Ask For Help
Topic: Change Screen Resolution Question
Replies: 0
Views: 139

Change Screen Resolution Question

In this script, what is ClrDep? I always use 32 and it works fine but I'm curious as to what it is. Thanks ChangeDisplaySettings( (ClrDep:=32) , (Wid:=1920) , (Hei:=1080) , (Hz:=60) ) ChangeDisplaySettings( cD, sW, sH, rR ) { VarSetCapacity(dM,156,0), NumPut(156,dM,36) DllCall( "EnumDisplaySettingsA...
by x32
17 Mar 2018, 08:11
Forum: Scripts and Functions
Topic: PotPlayer x64 Function Library
Replies: 15
Views: 2369

Re: PotPlayer x64 Function Library

- Media Player Classic is one of most powerful media players out there, and plays very nicely with AutoHotkey for automation, anybody who uses a media player or AutoHotkey should try it out. I do have MPC HC but still prefer VLC. I wrote a MPCHC library quite a while back and just reposted on these...
by x32
17 Mar 2018, 08:08
Forum: Scripts and Functions
Topic: Media Player Classic Home Cinema Library
Replies: 7
Views: 1133

Media Player Classic Home Cinema Library

Since it was brought up in another thread I thought I would repost my Media Player Classic Home Cinema library from the old forums. Uses SendMessage so the player does not need to be active to receive commands. A list of all available commands, at least at the time it was written, are located at the...
by x32
13 Mar 2018, 09:09
Forum: Scripts and Functions
Topic: Yocto-Knob: 5 Channel, USB input library.
Replies: 0
Views: 366

Yocto-Knob: 5 Channel, USB input library.

Going along with my USB Relay library, I'm reviving my post, from the old forums , for capturing USB inputs. Yocto-Knob: 5 Channel, USB, resistive sensing, analog-to-digital converter. HTML Library. The Yocto-Knob device provides easy reading of 5 input buttons, contacts, switches or potentiometers ...
by x32
13 Mar 2018, 07:53
Forum: Scripts and Functions
Topic: USB Controlled Relay library
Replies: 0
Views: 917

USB Controlled Relay library

A function library for USB Relay boards. See this post for capturing USB input. https://www.banggood.com/5V-2-Channel-USB-Relay-Module-Programmable-Computer-Control-p-910097.html https://img.banggood.com/thumb/view/upload/2012/lidanpo/SKU100388h.JPG It only has one function, turn the relays on or of...
by x32
12 Mar 2018, 14:51
Forum: Scripts and Functions
Topic: PotPlayer x64 Function Library
Replies: 15
Views: 2369

Re: PotPlayer x64 Function Library

Unfortunately VLC doesn't respond to SendMessage commands. I made a HTTP interface library for VLC a few years ago, as user Specter333, but I can't get it to work with the latest version. If yours is working can you post it?
by x32
12 Mar 2018, 10:32
Forum: Scripts and Functions
Topic: PotPlayer x64 Function Library
Replies: 15
Views: 2369

Re: PotPlayer x64 Function Library

Actually, searching for 0x5004 potplayer brings up the page I was talking about. Knock yourself out! :) Yes, I found a page (in Japanese) with some more functions. I'm trying to add a few to the current library. Trying to use the "get current position" and " set current position" functions to add "...
by x32
12 Mar 2018, 07:54
Forum: Scripts and Functions
Topic: PotPlayer x64 Function Library
Replies: 15
Views: 2369

Re: PotPlayer x64 Function Library

Nice project! I love Potplayer :) Thank you :) Is it possible to add a function that gets current time of played video? Thanks. I just added the function provided by Guest and one to convert the milliseconds to h:m:s, provided by Odlanir, to the library in the original post. Now you can call the fu...
by x32
12 Mar 2018, 07:25
Forum: Ask For Help
Topic: Convert milliseconds to HH:MM:SS
Replies: 7
Views: 855

Re: Convert milliseconds to HH:MM:SS

Works great, thank you. This is math I never would have figured out on my own. I made this into a lib function on my system.
by x32
12 Mar 2018, 07:00
Forum: Scripts and Functions
Topic: PotPlayer x64 Function Library
Replies: 15
Views: 2369

Re: PotPlayer x64 Function Library

Guest wrote:

Code: Select all

SendMessage, 0x0400, 0x5004,,, ahk_class PotPlayer64
MsgBox %ErrorLevel%
Nice. If it's not too much trouble, would you mind educating me on how this works? 0x0400 is WM_USER, what does this actually do? And I can't find anything on 0x5004 what is it's function?
by x32
12 Mar 2018, 06:36
Forum: Ask For Help
Topic: Convert milliseconds to HH:MM:SS
Replies: 7
Views: 855

Convert milliseconds to HH:MM:SS

Best way to convert milliseconds to hours, minutes, seconds? I'm betting there's a built in function or one someone has already written that I'm just not finding. If there is one can someone point me to it. I'm sure I could figure out the math and write my own but if it's already been done I'd rathe...
by x32
10 Mar 2018, 17:14
Forum: Scripts and Functions
Topic: PotPlayer x64 Function Library
Replies: 15
Views: 2369

Re: PotPlayer x64 Function Library

But i think every thing here can be sent by using media keys, if there was rewind,fast forward,etc... that would be useful but as it is i prefer to use mediakeys,they work with any media player(for the most part)...\ The media keys won't work if the player doesn't have focus, which is why I prefer ...
by x32
09 Mar 2018, 23:27
Forum: Scripts and Functions
Topic: PotPlayer x64 Function Library
Replies: 15
Views: 2369

PotPlayer x64 Function Library

Function library for the short list of available commands for the new(ish) PotPlayer media player. Updated with new functions 3/12/18. https://potplayer.daum.net/ I prefer using SendMessage over Hotkeys because the player does not need to have focus or even be showing to receive the messages. This l...
by x32
20 Feb 2018, 13:54
Forum: Ask For Help
Topic: Enttec Open DMX DLL call
Replies: 3
Views: 693

Re: Enttec Open DMX DLL call

I don't know why I didn't see these replies when you left them but thank you. I had given up after a few days as this is just way beyond my capabilities. I'm trying again as I found a dll call tutorial video on YouTube, AhkTuts . However this is still way over my head so I'm looking for a significan...
by x32
04 Feb 2018, 18:44
Forum: Ask For Help
Topic: Double clicking picture adds control to clipboard.
Replies: 2
Views: 288

Re: Double clicking picture adds control to clipboard.

YES, that works great. Thank you.
by x32
04 Feb 2018, 17:30
Forum: Ask For Help
Topic: Double clicking picture adds control to clipboard.
Replies: 2
Views: 288

Double clicking picture adds control to clipboard.

I'm getting some strange response to this script. When I double click the picture it puts the control's name in the clipboard, in this case "b1.png". If i single click the pic the clipboard doesn't change but when I double click it the clipboard changes to b1.png. Any idea as to why and how I can st...
by x32
03 Nov 2017, 13:33
Forum: Scripts and Functions
Topic: X10 Activehome automation. CM15a and CM19a Interfaces
Replies: 2
Views: 646

Re: X10 Activehome automation. CM15a and CM19a Interfaces

You're welcome. Glad I could help.
by x32
03 Nov 2017, 12:18
Forum: Scripts and Functions
Topic: X10 Activehome automation. CM15a and CM19a Interfaces
Replies: 2
Views: 646

X10 Activehome automation. CM15a and CM19a Interfaces

X10 CM15a and CM19a Function Libaray I just purchased an Activehome CM19a computer interface and was happy to find out my old CM15a library, located on the old forums, still works even after moving from Win XP to Win10 64. There are some changes such as the download links and install directory for ...

Go to advanced search