Sign in to follow this  
Followers 0
crislivinitup

ControlCommand to access Toolbarwin32 class in MS Journal

2 posts in this topic

I'm using AutoIt to try and make a little hotkey app to work with Windows Journal so I can quickly select different colors.

It seems I'm very close and yet very far to getting the desired result. I've used the AutoIt tool to determine that the CommandID of the toolbar and the ID of the colors.

Here is my code:

ControlCommand("[CLASS:JournalApp]","",113,"SendCommandID", 40178)

My problem is that the color will not be selected. It will be selected to the degree that the color will have the "selection" brackets around it, but the color that I draw with will still be the last color I've selected myself.

So I tried messing around and found that this

ControlCommand("[CLASS:JournalApp]","",113,"Check","")

Will indeed select the color, but it will ONLY select the light blue color. I don't know why, but that is the color that is ALWAYS being selected. I mean even I have not found a way to combine the selecting ability of "SendCommandID" with the checking ability of "Check"

Also, it is a ToolbarWin32 Control.

Any help IS appreciated. Thanks

 

Share this post


Link to post
Share on other sites



I found a solution. I explained what I did at StackOverFlow here. Hope this helps somebody.

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  
Followers 0