class name, how to aquire it for a given .exe?

Information related to the pre-release commercial version of xlobby

class name, how to aquire it for a given .exe?

Postby vaporhat on Mon Aug 04, 2008 12:55 pm

Does anyone know what the class name for PandorasBox? or how to find it?
vaporhat
 
Posts: 208
Joined: Tue Nov 27, 2007 11:56 pm
Location: CT, U.S.A.

Re: class name, how to aquire it for a given .exe?

Postby rembetis on Mon Aug 04, 2008 4:48 pm

There are a number of small apps that can glean this info from an open instance of a given application.

One of them is DCC by Powerhome.

Basically you need both apps open and you run your cursor over the main header of the window of the target app, and the classname should show up in DCC.
rembetis
 
Posts: 493
Joined: Thu Jul 28, 2005 10:27 pm

Re: class name, how to aquire it for a given .exe?

Postby vaporhat on Mon Aug 04, 2008 5:17 pm

rembetis wrote:There are a number of small apps that can glean this info from an open instance of a given application.

One of them is DCC by Powerhome.

Basically you need both apps open and you run your cursor over the main header of the window of the target app, and the classname should show up in DCC.


thank you. I will give it a try tonight and post my results.
vaporhat
 
Posts: 208
Joined: Tue Nov 27, 2007 11:56 pm
Location: CT, U.S.A.

Re: class name, how to aquire it for a given .exe?

Postby vaporhat on Mon Aug 04, 2008 9:10 pm

what am I doing wrong?

It appears to be running although I am not getting a response from anything I am trying..

there are Eval and Spy buttons??
vaporhat
 
Posts: 208
Joined: Tue Nov 27, 2007 11:56 pm
Location: CT, U.S.A.

Re: class name, how to aquire it for a given .exe?

Postby rembetis on Tue Aug 05, 2008 12:45 am

Sorry, click the Spy button.
rembetis
 
Posts: 493
Joined: Thu Jul 28, 2005 10:27 pm

Re: class name, how to aquire it for a given .exe?

Postby vaporhat on Tue Aug 05, 2008 2:18 pm

rembetis wrote:Sorry, click the Spy button.


I press the button, then place the cursor over the window but nothing is recoded int he output window of DCC. I tried with a other application as well. Do I have to change any port settings or anything? I notice it's sending data to port 8500 I believe?

:( not a lot of information on the web about this .. should I be searching for something other then 'class name'?
vaporhat
 
Posts: 208
Joined: Tue Nov 27, 2007 11:56 pm
Location: CT, U.S.A.

Re: class name, how to aquire it for a given .exe?

Postby Jay on Tue Aug 05, 2008 2:51 pm

Looks like you need PowerHome.

"The first section to be setup is the [SocketServer] section. Set the SOCKETSERVERPORT to the port you wish to use. The default is 8500. Next set the SOCKETSERVERUSERID that you wish to use. Follow this with the SOCKETSERVERPASSWORD. Since the SOCKETSERVERPASSWORD is an encrypted value, you must first derive this value using PowerHome. This can be achieved by opening the PowerHome Explorer and navigating to Setup->Socket Server. On this screen, type in the password that you wish to use in the DCC and save your changes. Next, open the pwrhome.ini file and locate the [SocketServer] section. Copy the SOCKETSERVERPASSWORD value from your pwrhome.ini file to your DCC.INI file's SOCKETSERVERPASSWORD. ..."
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: class name, how to aquire it for a given .exe?

Postby rembetis on Tue Aug 05, 2008 2:53 pm

When you click the Spy button does another small window open called Window Spy, with fields for "Handle", "Class Name", "Window Text" etc. Make whatever screen you're trying to Spy (Pandora) not full screen and then place the cursor over the blue bar at the top of the window (next to the minimize and close buttons). That should propagate the fields in the Window Spy box.

p.s. my DCC starts minimized to the system tray, so you may need to click on it get the Window Spy window active, though it sounds like you see the Eval and Spy buttons, so you should be good.

p.p. s. With regards to Jay's post above, I don't have PowerHome installed.
Last edited by rembetis on Tue Aug 05, 2008 2:58 pm, edited 2 times in total.
rembetis
 
Posts: 493
Joined: Thu Jul 28, 2005 10:27 pm

Re: class name, how to aquire it for a given .exe?

Postby rembetis on Tue Aug 05, 2008 2:56 pm

Here's another handle grabber app if you can't get DCC working for some reason.
rembetis
 
Posts: 493
Joined: Thu Jul 28, 2005 10:27 pm

Re: class name, how to aquire it for a given .exe?

Postby vaporhat on Tue Aug 05, 2008 3:24 pm

My DCC does start minimized, it does open to a small window where I can see the two buttons, one of them being Spy.
When I hit 'Spy', another window does NOT open.

I will try the other utility and maybe I will have better luck there..

In regards to Jay's post, when you say PowerHome, are you talking about DCC?
vaporhat
 
Posts: 208
Joined: Tue Nov 27, 2007 11:56 pm
Location: CT, U.S.A.

Re: class name, how to aquire it for a given .exe?

Postby Jay on Tue Aug 05, 2008 3:30 pm

Yes, but Rembetis corrected me.
The readme said you had to get a username and PW from PH.
Maybe that's for another function/s.
Curious now. I'll try it.
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: class name, how to aquire it for a given .exe?

Postby rembetis on Tue Aug 05, 2008 3:31 pm

vaporhat wrote:When I hit 'Spy', another window does NOT open.


That's really odd. FWIW, I run that app on a system with dual output and the Spy window opens on my primary display, just in case you are also running two displays...
rembetis
 
Posts: 493
Joined: Thu Jul 28, 2005 10:27 pm

Re: class name, how to aquire it for a given .exe?

Postby vaporhat on Tue Aug 05, 2008 3:41 pm

rembetis wrote:
vaporhat wrote:When I hit 'Spy', another window does NOT open.


That's really odd. FWIW, I run that app on a system with dual output and the Spy window opens on my primary display, just in case you are also running two displays...


OMG, I am going to feel stupid if that's it. I guess it didn't occur to me since the minimized window came up in the intended display. I will check.. thanks!
vaporhat
 
Posts: 208
Joined: Tue Nov 27, 2007 11:56 pm
Location: CT, U.S.A.

Re: class name, how to aquire it for a given .exe?

Postby Jay on Tue Aug 05, 2008 3:58 pm

Very nice :)
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: class name, how to aquire it for a given .exe?

Postby vaporhat on Wed Aug 06, 2008 1:11 am

All set :)


fyi, the class name for PandorsBox is ThunderRT6FormDC, who would have guessed?. lol
vaporhat
 
Posts: 208
Joined: Tue Nov 27, 2007 11:56 pm
Location: CT, U.S.A.