Jump to content
Sign in to follow this  

Anvil Studio help :)

Recommended Posts



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



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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.