topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 7:33 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Problems with Ghoster  (Read 63858 times)

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Problems with Ghoster
« Reply #25 on: October 10, 2005, 09:07 AM »
 :) That should do it, but I don't know if I need to activate the taskbar, it was just to be on the safe side. I'll look into it.

Skrommel

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #26 on: November 05, 2005, 01:09 PM »
Ghoster is really cool, even if I have to activate the active window again when I disable Ghoster.  :Thmbsup:

Another reason why everyone should try AutoHotkey!
« Last Edit: November 25, 2005, 12:27 PM by brotherS »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #27 on: November 25, 2005, 12:30 PM »
Hi skrommel,

I have a new problem with the external on/off script in my main AHK script. This is the code:

^+p::
Process, Exist, Ghoster.exe
pid=%ErrorLevel%
If pid=0
  Run,D:\Downloads\Ghoster.exe
Else
  WinClose, Ghoster
Return

Today I found out it still works to enable Ghoster, but not to disable it anymore. It tried several things, then I just moved it to the very top of my AHK script - and it works again! What other command(s) (that I probably added to new scripts above that one) could stop this from working?
« Last Edit: November 25, 2005, 06:16 PM by brotherS »

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Problems with Ghoster
« Reply #28 on: November 25, 2005, 02:45 PM »
 :huh: I'm blank.

Skrommel

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #29 on: November 29, 2005, 10:55 AM »
:huh: I'm blank.

Skrommel
You don't want to know what I am... this is really frustrating.

After spending a loooooong time with it I managed to get it working again but now have the old problem that the window in which Ghoster.exe is started from (by using the hotkey) is set to "always in foreground" again :( (I downloaded Ghoster.exe again from your page)

Also, could you please check the code to see if you can optimize it for lower CPU usage? The peaks shown below result only from switching between different windows while Ghoster.exe is running. It even causes the DSP plugin I use for Winamp to act up.

http://img317.imageshack.us/img317/1558/scwindowstaskmanager051129ver0.png
Problems with Ghoster



skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Problems with Ghoster
« Reply #30 on: December 01, 2005, 01:08 PM »
 :tellme: The CPU usage is caused by the WinSetRegion which punches a hole in the ghosted image.

I've uploaded a new verision of Ghoster where I've changed how often a new hole is punched, and the way it exits. Please let me know if it works OK.

Skrommel

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #31 on: December 01, 2005, 02:21 PM »
https://www.donation.../Skrommel/index.html still says "Ghoster v1.1" - I downloaded it and CPU performance really is better, thanks!

Problems:
- it now has the AHK tray icon and not its own icon anymore
- I still experience that "makes windows to stay front-most only" bug when I start and quit it with my remote script! :( :( :( Is there a way to make Ghoster.exe check for a running copy of itself when it's started so one would just have to run the exe to start AND to quit it?

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Problems with Ghoster
« Reply #32 on: December 08, 2005, 05:43 PM »
 :tellme: Do you kill it or close it?

 :-[ Not so pretty without it's icon... Corrected.

Skrommel.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #33 on: December 09, 2005, 02:54 AM »
Thanks skrommel, I'll download that.

Last night I started the old one and when I woke up my desktop was completely black!  :o
When I moved the mouse around and used Alt-TAB it started to flash, then I found out there were ALMOST A HUNDRED Ghoster.exe instances running!!  :o :o :o

All were using 0 to 3% CPU, causing 100% CPU load and it took me almost an hour to kill so many that I was able to send you a screenshot of how it then looked:

http://img213.imageshack.us/img213/8327/ghosterpanic12ver0028cj.png
Problems with Ghoster


skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Problems with Ghoster
« Reply #34 on: December 09, 2005, 03:25 AM »
 ;D You really should send me that script of yours, there must be some very clever things going on in there!

Skrommel

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #35 on: December 09, 2005, 03:29 AM »
;D You really should send me that script of yours, there must be some very clever things going on in there!
Err, I forgot to mention that - because of the problems I didn't use that script last night, I just double-clicked the Ghoster.exe (once).  :tellme:

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Problems with Ghoster
« Reply #36 on: December 09, 2005, 09:07 AM »
hahhhhaaa love that screenshot. kinda looks like you are playing a game of simcity and you're building hospitals :)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #37 on: December 09, 2005, 10:07 AM »
It was less funny when it happened...

LuckMan212

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 137
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #38 on: December 31, 2005, 06:33 PM »
hahhhhaaa love that screenshot. kinda looks like you are playing a game of simcity and you're building hospitals :)
LOL!!! :D

urlwolf

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,837
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #39 on: May 16, 2006, 07:15 AM »
Just found ghoster, and I love it.
one little thing though. Is it possible to keep the taskbar in a permanent non-faded state? sometimes I need to look at it :D

Thanks a lot skrommel.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Problems with Ghoster
« Reply #40 on: May 18, 2006, 03:59 PM »
 :) Try changing to showontop=1 in the ini-file.

Skrommel

urlwolf

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,837
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #41 on: June 20, 2006, 06:32 PM »
Thanks a lot skrommel.

I think this idea is a huge improve in usability of any OS.
Unfortunately in my system (dell 600, crappy video card) the screen redraw is too slow to make it work. It takes maybe .5 seconds. I do alt/tab a lot so I need snappy windows changes. A pity...

AutoHotYomm

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #42 on: November 21, 2006, 09:33 AM »
Hi Skrommel & Other HotKey luvin' Script scrambling folks out there !

When I was Using Ghoster i coulnd't help thinking that it would be AWESOME if you could enable several Specific Apps or Windows to remain "always on top" so you could have , for example only have the VLC openGL overlay window , and your MSN chat window active & on top , and your other 7000 :-) windows would  remain nicely dimmed !

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Problems with Ghoster
« Reply #43 on: December 19, 2006, 11:23 AM »
 :) Try changing the showontop setting in the ini-file.

I've also removed the "hole punching", so the latest version should perform better on slow systems!

Skrommel

mbraca

  • Participant
  • Joined in 2008
  • *
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #44 on: March 12, 2008, 06:28 PM »
Just installed Ghoster.  :( Sadly, multimon does not work, only the primary monitor gets dimmed.

vermeulen

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #45 on: March 19, 2008, 12:03 PM »
I'm having trouble getting this to work properly with 2 monitors. The main is 1400x1050 (Dell D610 with Intel integrated video), and the secondary monitor is 1280x1024.  The main monitor works great, but nothing dims on the other one. Windows that are partially in both windows dim on the main monitor. TransOther works great on both monitors. My INI setting look like this:
[Settings]
backcolor=000000
image=
x=
y=
width=
height=
stretchwidth=1
stretchheight=1
keepaspect=1
transparency=175
jump=1
showdesktop=0
showontop=0
multimon=1

Even working like this, this is a great app. Thanks!

threeboy.net

  • Participant
  • Joined in 2011
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #46 on: March 30, 2011, 11:16 AM »
Great app but doesn't work with triple monitors in Windows 7.

ylavi

  • Participant
  • Joined in 2011
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #47 on: August 02, 2011, 10:54 AM »
I also had problems with Ghoster on multiple screens. My issue was due to the fact that my secondary monitor is to the left of my primary monitor, and I would guess that vermeulen and threeboy.net also have monitors to the left of their primary monitor.

The AHK script can be corrected to work better with multiple screens. Here's a diff-style patch for the AHK script currently on this site. (my full AHK file is attached)
It adds another option (2) to multimon which fixes the problem for me. Everything should work exactly the same way if you don't use that option.

80c80,94
< Gui,Show,X0 Y0 W%A_ScreenWidth% H%A_ScreenHeight%,%applicationname%Window
---
>
> topleftx=0
> toplefty=0
> screenwidth=%A_ScreenWidth%
> screenheight=%A_ScreenHeight%
> If multimon=2
> {
>   SysGet,screenwidth,78
>   SysGet,screenheight,79
>   SysGet,topleftx,76
>   SysGet,toplefty,77
> }
> ;Gui,Show,X0 Y0 W%A_ScreenWidth% H%A_ScreenHeight%,%applicationname%Window
> Gui,Show,X%topleftx% Y%toplefty% W%screenwidth% H%screenheight%,%applicationna
me%Window
>
96c110,111
<       WinMove,%A_ScreenWidth%,%A_ScreenHeight%,,,%applicationname%Window
---
> ;      WinMove,%A_ScreenWidth%,%A_ScreenHeight%,,,%applicationname%Window
>       WinMove,%screenwidth%,%screenheight%,,,%applicationname%Window
147c162
<   ini=%ini%`n`;multimon=1 or 0            Dim all monitors in a multimonitor system
---
>   ini=%ini%`n`;multimon=1 or 0 or 2       Dim all monitors in a multimonitor system - 2 uses alternative method for sizing
223c238
< Gui,99:Add,Text,x+10 yp+10,%applicationname% v1.2
---
> Gui,99:Add,Text,x+10 yp+10,%applicationname% v1.3-yl
226a242
> Gui,99:Add,Text,y+10,- With multi-monitor fix by yl

I'm sure there are people out there who would appreciate skrommel (or anyone else) updating the downloads with new AHK and EXE incorporating this fix.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Problems with Ghoster
« Reply #48 on: August 02, 2011, 11:18 AM »
thanks for sharing ylavi :up:

threeboy.net

  • Participant
  • Joined in 2011
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Problems with Ghoster
« Reply #49 on: November 13, 2011, 08:46 PM »
That fix works great for multiple monitors but it stops working after a few window jumps :(