Jump to content

Recommended Posts

Posted

My method of getting the caret position just uses an API function along with AttachThreadInput to get it from whichever program is on top (I tried allowing the user to specify a window, but this was a way bad idea and returned... odd results).

That being said, the column is probably something that's calculated internally. I don't see any glaring "Hey I return the column of the caret" functions when I took a look at the API. It might be possible to write a function that could calculate it, but I think the time and effort would be wasted since it would only work on Microsoft controls. I think you're finding out the hard way that a lot of editors don't always respond correctly to those...

Posted

I forgot to mention that reading the statusbar is a decent workaround.

Anyway, thanks for trying, Valik

I thought of that until I used Au3_Spy on TextPad. :whistle:

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
  • Recently Browsing   0 members

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