Jump to content

ControlCommand to access Toolbarwin32 class in MS Journal


Recommended Posts

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

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...