can i have mlsever do a cntrol + alt +f ?

If you have created a unique MLServeCmd that performs a unique task, please post it here so others can learn from them.
collegeboyslive
Intermediate
Intermediate
Posts: 354
Joined: Mon Feb 10, 2003 9:32 pm
Contact:

can i have mlsever do a cntrol + alt +f ?

Postby collegeboyslive » Tue Oct 14, 2008 3:35 pm

can i have mlsever do a cntrol + alt +f ?

i need this in a script

User avatar
Evja
New Member
New Member
Posts: 30
Joined: Fri Apr 10, 2009 6:52 am
Location: Netherlands
Contact:

Postby Evja » Fri Apr 24, 2009 7:46 am

Have a look at this post

http://www.cinemaronlineforums.com/foru ... highlight=

Cheers

Evja

User avatar
bhiga
Expert
Expert
Posts: 854
Joined: Tue Mar 08, 2005 10:28 pm
Location: San Jose, CA
Contact:

Postby bhiga » Mon Apr 27, 2009 4:45 pm

For MLScript...

Code: Select all

set WshShell = WScript.CreateObject("WScript.Shell")

WshShell.AppActivate "name-of-your-app"
WScript.Sleep 100
WshShell.SendKeys "^%f"


The ^ is Control
The % is Alt
and for reference, Shift is +

See http://msdn.microsoft.com/en-us/library/8c6yea83(VS.85).aspx

The keystroke syntax is used for MLWindowFunctions SendKeys, so you could use that too.
- Brandon
My MainLobby stuff (plug-ins, screenshots, etc)


Return to “MLServeCmd Examples”

Who is online

Users browsing this forum: No registered users and 1 guest