home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Detect recording in progress from external script (AHK)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rob Hexenmeister" data-source="post: 1242706" data-attributes="member: 113164"><p>Interesting post CyberSimian.</p><p></p><p>That wouldn't work for me though as that would shut down the computer on idle, no matter how it was switched on. The method I am using detects whether it was a wake timer or the power button that woke the computer. If it was the power button, it will not try to shut down. I will post the whole script when it is done.</p><p></p><p>Meanwhile a little progress on the principle of accessing functions within DLLs - as per this AHK test script:</p><p></p><p>DllCall ("C:\Program Files (x86)\Team Media Portal\MediaPortal TV Server\Hauppauge.dll\GetAudBitRate", "double", Recording)</p><p>MsgBox %Recording%</p><p>MsgBox %ErrorLevel%</p><p></p><p>Now... unfortunately I cannot seem to find the function I want despite Edalex's helpful pointers above. Looking for IsAnyCardRecording in TVControl.dll generated a not found error code, which has baffled me for the time being.</p></blockquote><p></p>
[QUOTE="Rob Hexenmeister, post: 1242706, member: 113164"] Interesting post CyberSimian. That wouldn't work for me though as that would shut down the computer on idle, no matter how it was switched on. The method I am using detects whether it was a wake timer or the power button that woke the computer. If it was the power button, it will not try to shut down. I will post the whole script when it is done. Meanwhile a little progress on the principle of accessing functions within DLLs - as per this AHK test script: DllCall ("C:\Program Files (x86)\Team Media Portal\MediaPortal TV Server\Hauppauge.dll\GetAudBitRate", "double", Recording) MsgBox %Recording% MsgBox %ErrorLevel% Now... unfortunately I cannot seem to find the function I want despite Edalex's helpful pointers above. Looking for IsAnyCardRecording in TVControl.dll generated a not found error code, which has baffled me for the time being. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Detect recording in progress from external script (AHK)
Contact us
RSS
Top
Bottom