I have tested any conditions that I could invent and hope there is no such situation, when it would handle other than anticipated.
Once again I ask You not only to see for bugs/errors - please let me know any tips for programming of this.
HowTo make menu is in plugin's description.
Anyways while there are no know bugs I finish it and continue to work on my goal, wich is to have customized size on screen file browser window, wich would let me see filenames from the other side of my room. I don't like current way of switching display resolutions and playing with open dialog's positions. You could see how I make my MPC open file right now:
Code: Select all
<Macro Name="Quick Open File" id="161">
<Action>MediaPlayerClassic.QuickOpen()</Action>
<Action>EventGhost.Wait(2.0)</Action>
<Action>Window.FindWindow(u'mplayerc.exe', u'Open', u'#32770', u'FolderView', u'SysListView32', 1, False, 0.5, 0)</Action>
<Action>System.ChangeDisplaySettings(2, (480L, 360L), 60L, 32L, False, False)</Action>
<Action>Window.MoveTo(-500, -420)</Action>
<Action>Window.BringToFront()</Action>
<Action>Window.SendKeys(u'{Shift+Tabulator}{Down}{Up}', True)</Action>
<Action>EventGhost.EnableExclusive(XmlIdLink(160))</Action>
<Action>EventGhost.EnableItem(XmlIdLink(172))</Action>
<Action Name="New Enable: Plugin: Task Create/Switch Events">EventGhost.EnableItem(XmlIdLink(4))</Action>
</Macro>Code: Select all
<Macro Name="Quick Open File" id="161">
<Action>OSBrowser.Browse('/any location/', 'myPlayerBinarie', 'parameterToAdd')</Action>
</Macro>