Logging Windows operations? Moving application to virtual desktop?

If you have a question or need help, this is the place to be.
User avatar
kgschlosser
Site Admin
Posts: 4763
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Logging Windows operations? Moving application to virtual desktop?

Post by kgschlosser » Tue Aug 06, 2019 9:49 pm

ok so here is a test run of a plugin. I have not even tried to load this thing yet.

https://github.com/kdschlosser/WindowsVirtualDesktop
If you like the work I have been doing then feel free to Image

dan Edens
Posts: 42
Joined: Mon Sep 24, 2018 7:57 pm

Re: Logging Windows operations? Moving application to virtual desktop?

Post by dan Edens » Tue Aug 06, 2019 10:01 pm

kgschlosser wrote:
Tue Aug 06, 2019 9:49 pm
ok so here is a test run of a plugin. I have not even tried to load this thing yet.

https://github.com/kdschlosser/WindowsVirtualDesktop
This is what i got. Wasn't sure where to put everything so i included pics of what I did. in lib27 and site packages.

mostly just rushing out the door at work, I'll dig tomorrow!

Code: Select all

      Error starting plugin: WindowsVirtualDesktop
      Traceback (most recent call last) (WIP):
        File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginInstanceInfo.py", line 196, in Start
          self.instance.__start__(*self.args)
        File "C:\Program Files (x86)\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 212, in __start__
          import pyWinVirtualDesktop as _pyWinVirtualDesktop
        File "C:\Program Files (x86)\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\__init__.py", line 9, in <module>
          import libWinVirtualDesktop as _libWinVirtualDesktop
      ImportError: DLL load failed: %1 is not a valid Win32 application.
2019-08-06 16_58_43-Window.png
Attachments
2019-08-06 16_59_48-Window.png
2019-08-06 16_59_48-Window.png (10.74 KiB) Viewed 147 times

User avatar
kgschlosser
Site Admin
Posts: 4763
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Logging Windows operations? Moving application to virtual desktop?

Post by kgschlosser » Tue Aug 06, 2019 10:08 pm

OYE!!!

I have to compile it as 32 bit.. sorry about that. forgot..
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 4763
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Logging Windows operations? Moving application to virtual desktop?

Post by kgschlosser » Tue Aug 06, 2019 10:09 pm

I also see I need to fix an issue with the location of the pyd file.
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 4763
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Logging Windows operations? Moving application to virtual desktop?

Post by kgschlosser » Tue Aug 06, 2019 10:20 pm

OK both of those are now fixed.

you only need to put the WindowsVirtualDektop folder into %programdata%\EventGhost\plugins folder. then add the plugin to your tree.
If you like the work I have been doing then feel free to Image

dan Edens
Posts: 42
Joined: Mon Sep 24, 2018 7:57 pm

Re: Logging Windows operations? Moving application to virtual desktop?

Post by dan Edens » Wed Aug 07, 2019 2:18 pm

kgschlosser wrote:
Tue Aug 06, 2019 10:20 pm
OK both of those are now fixed.

you only need to put the WindowsVirtualDektop folder into %programdata%\EventGhost\plugins folder. then add the plugin to your tree.
Got it working!
Okay tried this a few ways.
When I place it in programdata/eg/plugins it doesn't show up.
Shows up when I have it in the programfiles(x86)/eg/plugins but everything gives not enough arg errors.

Code: Select all

   Error in Action: "WindowsVirtualDesktop: Get Desktop Name From Number"
   Traceback (most recent call last) (WIP):
     File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 116, in CallWrapper
       return self(*args)
   TypeError: __call__() takes exactly 2 arguments (1 given)
Get Desktops(from programfiles/eg/plugins) works!! but the rest are as above.

User avatar
kgschlosser
Site Admin
Posts: 4763
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Logging Windows operations? Moving application to virtual desktop?

Post by kgschlosser » Wed Aug 07, 2019 8:11 pm

hmmmm ok.. let me have a look see at what is going on.
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 4763
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Logging Windows operations? Moving application to virtual desktop?

Post by kgschlosser » Wed Aug 07, 2019 8:27 pm

ok dumb question here..

you are letting the plugin load the actions into your tree automatically yes??

are you configuring those actions before executing them?
If you like the work I have been doing then feel free to Image

dan Edens
Posts: 42
Joined: Mon Sep 24, 2018 7:57 pm

Re: Logging Windows operations? Moving application to virtual desktop?

Post by dan Edens » Tue Aug 13, 2019 8:25 pm

kgschlosser wrote:
Wed Aug 07, 2019 8:27 pm
ok dumb question here..

you are letting the plugin load the actions into your tree automatically yes??

are you configuring those actions before executing them?
Sorry I've had a hell of a week.

I should of been more clear about that.

I'm not configuring them because that is when it errors out, when i try to open config. I'll make a list of which ones do it one sec
edit:
I think I set it up incorrectly. I'll get back to you

dan Edens
Posts: 42
Joined: Mon Sep 24, 2018 7:57 pm

Re: Logging Windows operations? Moving application to virtual desktop?

Post by dan Edens » Tue Aug 13, 2019 8:48 pm

Okay now I got it working from the program data location instead of EG's plugin folder.

Nothing has changed, This is running "is app pinned" without find window, than with find window. Not sure if thats helpful but it was diffrent.

Code: Select all

Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 311, in Configure
    window_ctrl = wx.Choice(self, -1, choices=sorted(choices))
  File "wx\_controls.pyc", line 501, in __init__
TypeError: in method 'new_Choice', expected argument 1 of type 'wxWindow *'
Keyboard.LCtrl
Keyboard.LShift+LCtrl
Keyboard.LShift+LCtrl+A
Keyboard.RCtrl
Keyboard.RCtrl+Return
Is App Pinned
   Find Window: sublime_text.exe
   WindowsVirtualDesktop: Is App Pinned
      Error in Action: "WindowsVirtualDesktop: Is App Pinned"
      Traceback (most recent call last) (WIP):
        File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 116, in CallWrapper
          return self(*args)
      TypeError: __call__() takes exactly 2 arguments (1 given)


Here is a list of which ones will configure and which ones error, aswell as the total error log from giving them all a go.
canconfig.png

Code: Select all

Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 241, in Configure
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 241, in <genexpr>
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\__init__.py", line 599, in name
    return pyWinVirtualDesktop.config.get_name(self.id)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\config.py", line 56, in get_name
    desktop_ids = pyWinVirtualDesktop.desktop_ids
  File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 50, in __getattr__
    mod = __import__("eg.Classes." + name, None, None, [name], 0)
ImportError: No module named desktop_ids
TaskMonitorPlus.Deactivated.EventGhost <title='[EventGhost]', window_class=u'wxWindowNR',...>
TaskMonitorPlus.Activated.mspaint <title=u'Untitled - Paint', window_class=u'MSPaintApp',...>
TaskMonitorPlus.Deactivated.mspaint <title=u'Untitled - Paint', window_class=u'MSPaintApp',...>
TaskMonitorPlus.Activated.EventGhost <title='[EventGhost]', window_class=u'wxWindowNR',...>
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 241, in Configure
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 241, in <genexpr>
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\__init__.py", line 599, in name
    return pyWinVirtualDesktop.config.get_name(self.id)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\config.py", line 56, in get_name
    desktop_ids = pyWinVirtualDesktop.desktop_ids
  File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 50, in __getattr__
    mod = __import__("eg.Classes." + name, None, None, [name], 0)
ImportError: No module named desktop_ids
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 241, in Configure
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 241, in <genexpr>
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\__init__.py", line 599, in name
    return pyWinVirtualDesktop.config.get_name(self.id)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\config.py", line 56, in get_name
    desktop_ids = pyWinVirtualDesktop.desktop_ids
  File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 50, in __getattr__
    mod = __import__("eg.Classes." + name, None, None, [name], 0)
ImportError: No module named desktop_ids
TaskMonitorPlus.Deactivated.EventGhost <title='[EventGhost]', window_class=u'wxWindowNR',...>
TaskMonitorPlus.Activated.mspaint <title=u'Untitled - Paint', window_class=u'MSPaintApp',...>
TaskMonitorPlus.Deactivated.mspaint <title=u'Untitled - Paint', window_class=u'MSPaintApp',...>
TaskMonitorPlus.Activated.EventGhost <title='[EventGhost]', window_class=u'wxWindowNR',...>
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 264, in Configure
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 264, in <genexpr>
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\__init__.py", line 599, in name
    return pyWinVirtualDesktop.config.get_name(self.id)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\config.py", line 56, in get_name
    desktop_ids = pyWinVirtualDesktop.desktop_ids
  File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 50, in __getattr__
    mod = __import__("eg.Classes." + name, None, None, [name], 0)
ImportError: No module named desktop_ids
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 264, in Configure
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 264, in <genexpr>
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\__init__.py", line 599, in name
    return pyWinVirtualDesktop.config.get_name(self.id)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\config.py", line 56, in get_name
    desktop_ids = pyWinVirtualDesktop.desktop_ids
  File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 50, in __getattr__
    mod = __import__("eg.Classes." + name, None, None, [name], 0)
ImportError: No module named desktop_ids
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 241, in Configure
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 241, in <genexpr>
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\__init__.py", line 599, in name
    return pyWinVirtualDesktop.config.get_name(self.id)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\config.py", line 56, in get_name
    desktop_ids = pyWinVirtualDesktop.desktop_ids
  File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 50, in __getattr__
    mod = __import__("eg.Classes." + name, None, None, [name], 0)
ImportError: No module named desktop_ids
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 241, in Configure
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 241, in <genexpr>
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\__init__.py", line 599, in name
    return pyWinVirtualDesktop.config.get_name(self.id)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\config.py", line 56, in get_name
    desktop_ids = pyWinVirtualDesktop.desktop_ids
  File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 50, in __getattr__
    mod = __import__("eg.Classes." + name, None, None, [name], 0)
ImportError: No module named desktop_ids
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 241, in Configure
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 241, in <genexpr>
    list(desktop.name for desktop in pyWinVirtualDesktop)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\__init__.py", line 599, in name
    return pyWinVirtualDesktop.config.get_name(self.id)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\pyWinVirtualDesktop\config.py", line 56, in get_name
    desktop_ids = pyWinVirtualDesktop.desktop_ids
  File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 50, in __getattr__
    mod = __import__("eg.Classes." + name, None, None, [name], 0)
ImportError: No module named desktop_ids
TaskMonitorPlus.Deactivated.EventGhost <title='[EventGhost]', window_class=u'wxWindowNR',...>
TaskMonitorPlus.Activated.mspaint <title=u'Untitled - Paint', window_class=u'MSPaintApp',...>
TaskMonitorPlus.Deactivated.mspaint <title=u'Untitled - Paint', window_class=u'MSPaintApp',...>
TaskMonitorPlus.Activated.EventGhost <title='[EventGhost]', window_class=u'wxWindowNR',...>
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 311, in Configure
    window_ctrl = wx.Choice(self, -1, choices=sorted(choices))
  File "wx\_controls.pyc", line 501, in __init__
TypeError: in method 'new_Choice', expected argument 1 of type 'wxWindow *'
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 311, in Configure
    window_ctrl = wx.Choice(self, -1, choices=sorted(choices))
  File "wx\_controls.pyc", line 501, in __init__
TypeError: in method 'new_Choice', expected argument 1 of type 'wxWindow *'
TaskMonitorPlus.Deactivated.EventGhost <title='[EventGhost]', window_class=u'wxWindowNR',...>
TaskMonitorPlus.Activated.mspaint <title=u'Untitled - Paint', window_class=u'MSPaintApp',...>
TaskMonitorPlus.Deactivated.mspaint <title=u'Untitled - Paint', window_class=u'MSPaintApp',...>
TaskMonitorPlus.Activated.EventGhost <title='[EventGhost]', window_class=u'wxWindowNR',...>
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 311, in Configure
    window_ctrl = wx.Choice(self, -1, choices=sorted(choices))
  File "wx\_controls.pyc", line 501, in __init__
TypeError: in method 'new_Choice', expected argument 1 of type 'wxWindow *'
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 311, in Configure
    window_ctrl = wx.Choice(self, -1, choices=sorted(choices))
  File "wx\_controls.pyc", line 501, in __init__
TypeError: in method 'new_Choice', expected argument 1 of type 'wxWindow *'
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 311, in Configure
    window_ctrl = wx.Choice(self, -1, choices=sorted(choices))
  File "wx\_controls.pyc", line 501, in __init__
TypeError: in method 'new_Choice', expected argument 1 of type 'wxWindow *'
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 311, in Configure
    window_ctrl = wx.Choice(self, -1, choices=sorted(choices))
  File "wx\_controls.pyc", line 501, in __init__
TypeError: in method 'new_Choice', expected argument 1 of type 'wxWindow *'
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 311, in Configure
    window_ctrl = wx.Choice(self, -1, choices=sorted(choices))
  File "wx\_controls.pyc", line 501, in __init__
TypeError: in method 'new_Choice', expected argument 1 of type 'wxWindow *'
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 311, in Configure
    window_ctrl = wx.Choice(self, -1, choices=sorted(choices))
  File "wx\_controls.pyc", line 501, in __init__
TypeError: in method 'new_Choice', expected argument 1 of type 'wxWindow *'
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 311, in Configure
    window_ctrl = wx.Choice(self, -1, choices=sorted(choices))
  File "wx\_controls.pyc", line 501, in __init__
TypeError: in method 'new_Choice', expected argument 1 of type 'wxWindow *'
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 311, in Configure
    window_ctrl = wx.Choice(self, -1, choices=sorted(choices))
  File "wx\_controls.pyc", line 501, in __init__
TypeError: in method 'new_Choice', expected argument 1 of type 'wxWindow *'
Traceback (most recent call last) (WIP):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
    self.Configure(*args, **kwargs)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 112, in Configure
    treeItem.Configure(*args)
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
    return self.executable.Configure(*args)
  File "C:\ProgramData\EventGhost\plugins\WindowsVirtualDesktop\__init__.py", line 311, in Configure
    window_ctrl = wx.Choice(self, -1, choices=sorted(choices))
  File "wx\_controls.pyc", line 501, in __init__
TypeError: in method 'new_Choice', expected argument 1 of type 'wxWindow *'
Keyboard.LCtrl
Keyboard.LShift+LCtrl

get Desktops returns eg.result to

Code: Select all

[<eg.UserPluginModule.WindowsVirtualDesktop.pyWinVirtualDesktop.Desktop object at 0x0A295150>, <eg.UserPluginModule.WindowsVirtualDesktop.pyWinVirtualDesktop.Desktop object at 0x0A2E8C50>]
which is super cool! lol

User avatar
kgschlosser
Site Admin
Posts: 4763
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Logging Windows operations? Moving application to virtual desktop?

Post by kgschlosser » Wed Aug 14, 2019 6:46 am

are you configuring the the actions.. double click on the actions!!!!! just about all of them have settings to them.


****** EDIT ***** sorry about that I'm a dumb ass and didn't read your entire post. I will fix the issue. have to change the self in alot of those controls to panel is all.. I will do it now. I will also add in support for find window.
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 4763
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Logging Windows operations? Moving application to virtual desktop?

Post by kgschlosser » Wed Aug 14, 2019 6:49 am

the find window action is a slow pig... and any of the desktop stuff can only be done on top level windows so for me to enumerate those and then check and see if it is visible (shown) and see if it is attached to a virtual desktop is a whole mess faster then the find window action. the find window action is geared to all window sub classed items. and not just top level windows.

I will add in support for using find window as well only because it gives the option of stopping the macro and also wildcarding
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 4763
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Logging Windows operations? Moving application to virtual desktop?

Post by kgschlosser » Wed Aug 14, 2019 7:20 am

OK i fixed the actions so the config dialogs for them should work now.

I also added in support for the FindWindow action being used ahead of one of the actions that support it. You will need to configure the action to use the FindWindow action..
Okay now I got it working from the program data location instead of EG's plugin folder.
now what do you mean by this?? it should work easily in both locations. copy the folder that has the __init__.py in it right into either the plugins folder in program files or into the one in programdata. you do not want to have a copy in both locations.
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 4763
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Logging Windows operations? Moving application to virtual desktop?

Post by kgschlosser » Wed Aug 14, 2019 7:31 am

I also believe i fixed the other traceback errors. the ones that are not related to wxPython.
If you like the work I have been doing then feel free to Image

dan Edens
Posts: 42
Joined: Mon Sep 24, 2018 7:57 pm

Re: Logging Windows operations? Moving application to virtual desktop?

Post by dan Edens » Mon Aug 19, 2019 10:39 pm

kgschlosser wrote:
Wed Aug 14, 2019 7:31 am
I also believe i fixed the other traceback errors. the ones that are not related to wxPython.
Ah awesome, thanks dude your the best.

Post Reply