Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

OnScreen Menu 0.1.0

If you have a question or need help, this is the place to be.
Post Reply
easy
Posts: 46
Joined: Wed Dec 05, 2007 10:05 pm

OnScreen Menu 0.1.0

Post by easy »

Please find attached the plugin wich lets You compose and show menus on screen. I have revisited it once again to get rid of any possible bugs and make as foolproof as posible.
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>
I'd like to have something like this:

Code: Select all

<Macro Name="Quick Open File" id="161">
  <Action>OSBrowser.Browse('/any location/', 'myPlayerBinarie', 'parameterToAdd')</Action> 
</Macro>
Attachments
OSDMenu.zip
(11.96 KiB) Downloaded 277 times
Post Reply