Sending multiple commands to zoomplayer

Feature Requests, Comments, Bugs, and Suggestions on the Intelliremote application.

Sending multiple commands to zoomplayer

Postby rn6299 » Tue Dec 29, 2015 6:12 pm

I am trying to send a stop command Then a minimize window command by pressing stop button on my remote.
I entered this in this script box.
1. ControlSend("Zoom Player", "", "", "s", 0)
2. ControlSend("Zoom Player", "", "", "{ALTDOWN}i{ALTUP}", 0)

When I press stop, it stops playing but doesn't minimize. I tried applying the minimize command string to a different button and it does minimize. I would just like it to execute both when pressing stop. Any help appreciated. Thanks
Posts: 3
Joined: Tue Dec 29, 2015 3:09 pm

Re: Sending multiple commands to zoomplayer

Postby Melloware » Thu Dec 31, 2015 11:48 am

I think you want to use the WinSetState command to minimize the window not ControlSend.

Code: Select all
WinSetState "title", "text", flag


title The title of the window to show.
text The text of the window to show.
flag The "show" flag of the executed program:
SW_HIDE = Hide window
SW_SHOW = Shows a previously hidden window
SW_MINIMIZE = Minimize window
SW_MAXIMIZE = Maximize window
SW_RESTORE = Undoes a window minimization or maximization
Melloware Inc.
User avatar
Site Admin
Posts: 11087
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Return to Intelliremote

Who is online

Users browsing this forum: No registered users and 1 guest