AutoHotkey Community

It is currently May 24th, 2012, 1:59 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: August 26th, 2008, 5:18 pm 
Offline

Joined: November 19th, 2007, 4:59 pm
Posts: 144
Hi,

Can anyone figure out how to set the settings for Magnifixer
programmatically? I tried an ahk context menu reader for
PostMessage, and WinSpector Spy does not seem to give me
anything for this program.

It's a neat magnifier that shows the cursor very correctly in the
display, and works for W98 and XP. I have it programmed already
in my app but I would like to auto set it either each time I "run" it
or maybe when I first run my app.

I could probably even just do a series of right-clicks and access the
context menu directly, but a few items just toggle, so I would need
to be able to detect their state. For example the Show Cursor, which
I need to set to Show.

So I guess one question could be, how can I tell if an item on a context
menu is checked or not ?


I would prefer of course to be able to send Postmessages that would
set the settings for the running instance of the process without altering
the settings that may be stored in the users registry (if the program was
installed) or somewhere, I don't know where, if the program's exe was
simply "run" as part of my apps included files.

Here is a link to the Freeware program:
http://www.blacksunsoftware.com/screenmagnifier.html

Thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 26th, 2008, 6:15 pm 
http://www.autohotkey.com/forum/topic33435.html


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 26th, 2008, 10:39 pm 
Offline

Joined: November 19th, 2007, 4:59 pm
Posts: 144
Thanks Guest, but that only tells if a menu item is greyed out or not.
I need to know if it is checked of not. The menu items I am checking
never get greyed out, just Checked or not.

I also tried the links on that page but no go there, and they are quite
long anyway. I think I need to get the Postmessage codes to change
the settings directly.

A little context menu sniffer I adapted from some code here gave me
this for the Show Cursor of Magnifixer's context menu:

7 : 46 S&how Cursor
PostMessage, 0x111, 46, 0, , ahk_class TForm1 ;S&how Cursor

but it does seem to work. The codes I gets from it usually do.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Albireo, batto, fragman, jyloup, Pulover and 23 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group