Hello ,
I tried to use find window with the argument ({(eg.globals.LastTask)})
but it was converted to :
Window.FindWindow(u'({(eg.globals.LastTask)}).exe', u'', None, None, None, None, False, 0.0, 0)
doest any one know how to use a variable in findwindow command
or the python script equivalent ?
Help is appreciated
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.
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.
using Findwindow with a eg.globals variable or a python scri
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: using Findwindow with a eg.globals variable or a python scri
You can try it like this:Pako
Code: Select all
eg.WindowMatcher(u'%s.exe' % eg.globals.LastTask, u'', None, None, None, None, False, 0.0, 0)