forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


What does Windows Spy do, what I can't do?
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Sat Dec 28, 2002 8:32 pm    Post subject: Reply with quote

Skit3000 wrote:

Mac, over here all icons have this class name: ToolbarWindow32. Think it's different for all OS or something....

Have ya tried it? You said Window Spy showed a clock
class, so I just thought ya just wanted to know if it was
over the clock... Confused

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sat Dec 28, 2002 8:37 pm    Post subject: Reply with quote

Well, I want to know if the mouse is over the clock or over the icons. But for that, I need the position of them both....
Back to top
View user's profile Send private message
Tsunami1988
Contributor
Contributor


Joined: 15 Aug 2002
Posts: 70
Location: The Netherlands

PostPosted: Sat Dec 28, 2002 8:44 pm    Post subject: Reply with quote

You are a very lucky man Very Happy Windows 98 uses the same class name for the taskbar as XP, so you have very much chance the OS's between them do too. Maybe someone who can verify it on Windows 95? (and other OS's, to make sure Smile)
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Sat Dec 28, 2002 8:59 pm    Post subject: Reply with quote

Windows 95B - OSR2

Clock: TrayClockWClass
SysTray: TrayNotifyWnd
Taskbar: SysTabControl32

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
Tsunami1988
Contributor
Contributor


Joined: 15 Aug 2002
Posts: 70
Location: The Netherlands

PostPosted: Sat Dec 28, 2002 9:14 pm    Post subject: Reply with quote

Mac wrote:
Windows 95B - OSR2

Clock: TrayClockWClass
SysTray: TrayNotifyWnd
Taskbar: SysTabControl32

Cheers, Mac Smile

On Windows 95 4.00.950 (I don't know which version that is Smile) I get the same as 98 and XP.
I see #SysTabControl32, but I'm pretty sure that's not the taskbar.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Sat Dec 28, 2002 9:35 pm    Post subject: Reply with quote

I used the VDS spy tool I wrote. Window Spy
gives the whole family tree... Wink

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 765
Location: Eastman, GA

PostPosted: Tue Jan 07, 2003 5:11 pm    Post subject: Reply with quote

I'm a little late with this. Sorry but I was thinking about this today and came up with a solution!

Code:

%%tray = @winexists(#Shell_TrayWnd)
%%button = @window(%%tray,Child)
%%Notify = @window(%%button,Next)
%%clock = @window(%%Notify,Child)
%%wintext = @wintext(%%clock)
info %%wintext


NodNarb
PS Let me know if it doesn't work with some versions.
Back to top
View user's profile Send private message AIM Address
Tsunami1988
Contributor
Contributor


Joined: 15 Aug 2002
Posts: 70
Location: The Netherlands

PostPosted: Tue Jan 07, 2003 5:14 pm    Post subject: Reply with quote

cnodnarb wrote:
I'm a little late with this. Sorry but I was thinking about this today and came up with a solution!

Code:

%%tray = @winexists(#Shell_TrayWnd)
%%button = @window(%%tray,Child)
%%Notify = @window(%%button,Next)
%%clock = @window(%%Notify,Child)
%%wintext = @wintext(%%clock)
info %%wintext


NodNarb
PS Let me know if it doesn't work with some versions.

It doesn't work for me (WinXP Pro). It goes wrong when the script gets to "%%clock = @window(%%Notify,Child)".
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 765
Location: Eastman, GA

PostPosted: Tue Jan 07, 2003 6:08 pm    Post subject: Reply with quote

This is kind of a guess...tell me if it works or use winspy and see what I'm doing wrong maybe.

Updated 12:15 pm
Code:

%%tray = @winexists(#Shell_TrayWnd)

%%next = @window(%%tray,Child)
if @equal(@winclass(%%next),TrayNotifyWnd)

%%clock = @window(%%next,Child)
%%wintext = @wintext(%%clock)

goto wintext
end

repeat
%%next = @window(%%next,Next)
until @equal(@winclass(%%next,TrayNotifyWnd))

%%clock = @window(%%next,Child)
%%wintext = @wintext(%%clock)

:wintext
info %%wintext


NodNarb
Back to top
View user's profile Send private message AIM Address
Tsunami1988
Contributor
Contributor


Joined: 15 Aug 2002
Posts: 70
Location: The Netherlands

PostPosted: Tue Jan 07, 2003 6:21 pm    Post subject: Reply with quote

cnodnarb wrote:
This is kind of a guess...tell me if it works or use winspy and see what I'm doing wrong maybe.

Code:

%%tray = @winexists(#Shell_TrayWnd)

%%next = @window(%%tray,Child)
if @equal(@winclass(%%next),TrayNotifyWnd)
%%wintext = @wintext(%%next)
goto wintext
end

repeat
%%next = @window(%%next,Next)
until @equal(@winclass(%%next,TrayNotifyWnd))

%%clock = @window(%%next,Child)
%%wintext = @wintext(%%clock)

:wintext
info %%wintext


NodNarb

This doesn't work eather. I think the problem is that you can't use @WINTEXT() (see first post(s)). @WINTEXT(@WINATPOINT(X,Y)) should work.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Wed Jan 08, 2003 7:27 am    Post subject: Reply with quote

cnodnarb wrote:
I'm a little late with this. Sorry but I was thinking about this today and came up with a solution!

Code:

%%tray = @winexists(#Shell_TrayWnd)
%%button = @window(%%tray,Child)
%%Notify = @window(%%button,Next)
%%clock = @window(%%Notify,Child)
%%wintext = @wintext(%%clock)
info %%wintext


NodNarb
PS Let me know if it doesn't work with some versions.


Hey NodNarb. Good thinking on this one. It's runs fine with me - WinXP Home/VDS3.

Greetz
Dr. Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jan 08, 2003 11:31 am    Post subject: Reply with quote

Works fine on XP Professional and VDS 4.5 Wink
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Tsunami1988
Contributor
Contributor


Joined: 15 Aug 2002
Posts: 70
Location: The Netherlands

PostPosted: Wed Jan 08, 2003 2:06 pm    Post subject: Reply with quote

Why does it work for everyone, except me? Crying or Very sad I have WinXP Pro and VDS 3.51.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Jan 08, 2003 3:14 pm    Post subject: Reply with quote

Works for me too... Only thing left is to get the X and Y position of it, and of other trayicons....
Back to top
View user's profile Send private message
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 765
Location: Eastman, GA

PostPosted: Wed Jan 08, 2003 4:12 pm    Post subject: Reply with quote

Fot the clock this works...should be simple mathematics after that I hope...I think taskicons take up a uniform amount of space but I'm not sure about various font size settings and windows systems.

Code:

%%tray = @winexists(#Shell_TrayWnd)
%%button = @window(%%tray,Child)
%%Notify = @window(%%button,Next)
%%clock = @window(%%Notify,Child)
info @winpos(%%clock,TL)
%%wintext = @wintext(%%clock)
info %%wintext


NodNarb
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group