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.

Problem starting explorer.exe / Problem exiting EventGhost

If you have a question or need help, this is the place to be.
Post Reply
Ricbus
Posts: 3
Joined: Thu Jun 23, 2011 3:22 pm

Problem starting explorer.exe / Problem exiting EventGhost

Post by Ricbus »

Hi.

I have an HTPC which runs XBMC as a shell, and used EventGhost to set it up. This means explorer.exe is not loaded at startup.
What I want EventGhost to do step by step is:

1. Start XBMC.
2. When I exit XBMC I want explorer.exe to start.
3. When explorer.exe is running, I want EventGhost to exit.

This is what I have done so far:

- I have set up EventGhost to be launched as a shell. It boots up correctly, and starts XBMC.
- When I exit XBMC it correctly starts explorer.exe, BUT it only shows one folder. In other words, everything is black except for that folder (no start menu etc).
Am i refering to the wrong file? Now I use "C:\Windows\explorer.exe".
- When explorer.exe is executed, EventGhost closes. I did that by making a .bat file with a close program command.

Printscreen of my setup:
Image

So the question is how can I run explorer.exe including the entire shell? I use Windows 7 enterprice edition.

Thanks for your help,
Ricbus
Last edited by Ricbus on Fri Jun 24, 2011 12:26 pm, edited 1 time in total.
Ricbus
Posts: 3
Joined: Thu Jun 23, 2011 3:22 pm

Re: Problem starting explorer.exe

Post by Ricbus »

Update:

I almost found a solution for my problems now.
The reason explorer.exe didn't show the whole explorer shell, was that I used a program called "instantsheller" with recommended settings. To get this to work as intended I had to check "for this user only" and "use a mouse pointer".

The only problem now is how I can exit EventGhost. As stated earlier I made a batch file called "CloseEventGhost" with these commands:

Code: Select all

@echo off
TSKILL /A /V EventGhost
If I double click the batch file, the program works as intended (exits EventGhost). However, when I use "start program: CloseEventGhost.bat" inside EventGhost, it doesn't exit the program. Anyone know why? The processlog shows that it execute the command.

The "close" command is there temporary now, since it will minimize EventGhost.

Image
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Problem starting explorer.exe / Problem exiting EventGho

Post by Pako »

You can use Python Command wx.CallAfter(eg.app.Exit)

Pako
Ricbus
Posts: 3
Joined: Thu Jun 23, 2011 3:22 pm

Re: Problem starting explorer.exe / Problem exiting EventGho

Post by Ricbus »

Thank you. Everything works as I want now :)
fastwalker
Posts: 1
Joined: Sun Apr 15, 2012 8:43 pm

Re: Problem starting explorer.exe / Problem exiting EventGho

Post by fastwalker »

I'm diggin up an old post, only as this is the best google search result about an issue i had running explorer.exe as a start menu \ bar, anyway i found a solution so leaving it here for others...

if i set windows shell to eventghost, when i next try and run explorer.exe it will show a folder view and not load the start bar. i worked out if i change the shell in registry back to explorer.exe just before I run it, then it will load the startbar fine, so just keep changing the registry entry backwards and forwards using the eventghost registry feature and you will be able to start windows normally ;-)
Post Reply