topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday April 20, 2024, 10:20 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ylavi [ switch to compact view ]

Pages: [1]
1
Skrommel's Software / Re: Problems with Ghoster
« 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.

Pages: [1]