Jump to content

Anvil Studio help :)


Recommended Posts

Hello,

I'm trying to do a script to change track names in anvil studio (free fersion). I'm using the latest beta on xp sp2.

After I load the mid file I need to left click on the track name control. This should not be difficult, but I can't get it to work :)

I tried to use $pos=ControlGetPos("{ACTIVE}","","ThunderRT5PictureBox3") and $pos=ControlGetPos("{ACTIVE}","",43) but when I MouseClick("left",$pos[0]+25,$pos[1]+25) I get an error (subscript used with non-array variable). The @error is set to 0 so the $pos variable should contain data. If I try to _ArrayDisplay($pos) I get nothing :)

Probably it's a dumb error but I can't figure what is it... As now I'm using absolute coordinates to move the mouse but it's not a clean solution.

Another question about the "strange" ThunderRT5PictureBox control... Is it possible to count (and loop) through all the lines in it ? I have no ideas on how to do this as it's not a standard windows control

thanks

giuliano

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...