Jump to content
Sign in to follow this  
Damastah

Have script decifer between two window states

Recommended Posts

Damastah

I writing a script that makes use of the Control Panel. The script has different commands depending on whether the Control Panel window is in Classic View or Category View. The only difference I see so far is that in Category View, under basic control info, the Window Info tool shows "DirectUIHWND" and in Classic View, it shows "SysListView32" How can I tell the script: if(in this view) do this...

Share this post


Link to post
Share on other sites
zorphnog

What exactly are you trying to do in the control panel? If you are just trying to open an applet, there are better ways to do that than going through the control panel.

Share this post


Link to post
Share on other sites
Damastah

If you are just trying to open an applet, there are better ways to do that than going through the control panel.

This is exactly what I need. I want to (E.G.) open up network connections. I just noticed that the icon location changes with the window size. How can I go straight to network connections and all the others?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.