Comments (4)
Small Update:
Sometimes it works, but most of the time it doesn't.
HOWEVER - The icon for the App "flashes" when SetForegroundWindow(...) is called - just no other indication of why the window cannot be selected.
from mcec.
In case it helps anyone else: On further investigation, this seems to be a general problem in that Windows doesn't like apps to push themselves forward automagically. Which is the use we NEED ;-)
The solution was to FIRST set focus to MCEC, and then it can request a new window:
<setforegroundwindow cmd="goPres" enabled="true" appname="MCEControl">
<setforegroundwindow enabled="true" appname="POWERPNT" />
<sendmessage enabled="true" msg="274" lparam="0" wparam="61488" />
</setforegroundwindow>
I hope that helps.
from mcec.
Thanks for tracking this down.
Yes, somewhere around Win7 the behavior changed to prevent apps from spamming users.
Glad my decision to nest commands turned out useful ;-).
from mcec.
It's great! Many thanks for the hard work.
from mcec.
Related Issues (20)
- Middle Mouse Button HOT 2
- Enabling Commands HOT 3
- Disable Auto Update Notification HOT 3
- Feature Request: Removing TCP/IP Server & Client Monitoring HOT 6
- Passing URL via RS-232 with MCEC HOT 1
- Overriding TimeOut on Shutdown Command doesn't seem to work HOT 1
- Windows 7 support HOT 1
- The .commands file is getting corrupted HOT 20
- Disable update notification HOT 1
- SendMessage command won't accept classname parameter HOT 2
- Verify latest InputSimulator
- SerialServer not working on Windows 10 and logs are flooded with exceptions HOT 1
- MCEC Client Host is failing on an IP address HOT 4
- Option to disable automatic update check HOT 1
- Media commands Win10 HOT 5
- Run MCEControl.exe as Windows Service?
- How to use Home Assistant to send shutdown command to MCE
- Hi ! I love the MCEC controller, but is not a BUG, I just need to know if is possible to have some feedback to the client.....for example I send the command, but I don't know if is esecuted. In my application I'm increasing the volume level....the must could be to receve the feedback with the number of the volume level.... HOT 1
- feature suggestion: fast mouse movement HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcec.