# Path: pywinauto/win32defines.py
# WM_COMMAND = 273 # Variable c_int


import sys
    import os.path
    from pywinauto import application
    from pywinauto import application
from pywinauto.win32defines import WM_COMMAND
"""Send some commands to media player - you need to look at the code!!

Media Player needs to be running - note - this has not been tested well :)
"""


try:
except ImportError:
    pywinauto_path = os.path.abspath(__file__)
    pywinauto_path = os.path.split(os.path.split(pywinauto_path)[0])[0]
    sys.path.append(pywinauto_path)


def myMediaFunc(getFunc):
 app = application.Application()
 if getFunc=="next":
  app.WindowsMediaPlayer.TypeKeys("%PN")
 elif getFunc=="next2":
  app.WindowsMediaPlayer.TypeKeys("^f")
 elif getFunc=="next3":

# Path: pywinauto/win32defines.py
# WM_COMMAND = 273 # Variable c_int


# Path: examples/media_player.py
import sys
    import os.path
    from pywinauto import application
    from pywinauto import application
from pywinauto.win32defines import WM_COMMAND

"""Send some commands to media player - you need to look at the code!!

Media Player needs to be running - note - this has not been tested well :)
"""


try:
except ImportError:
    pywinauto_path = os.path.abspath(__file__)
    pywinauto_path = os.path.split(os.path.split(pywinauto_path)[0])[0]
    sys.path.append(pywinauto_path)


def myMediaFunc(getFunc):
 app = application.Application()
 if getFunc=="next":
  app.WindowsMediaPlayer.TypeKeys("%PN")
 elif getFunc=="next2":
  app.WindowsMediaPlayer.TypeKeys("^f")
 elif getFunc=="next3":

  app.WindowsMediaPlayer.SendMessage(WM_COMMAND, 18811, 0)