Sign in to follow this  
Followers 0
gsb

ControlID problem -- $ID = GUICtrlCreateObj(...)

1 post in this topic

This does not work:

$mySWF = ObjCreate("ShockwaveFlash.ShockwaveFlash")

$ID = GUICtrlCreateObj($mySWF, 0, 0, 500, 500 )

...

ControlSend( $Background, "", $ID, "{SPACE}" )

...but this does:

$mySWF = ObjCreate("ShockwaveFlash.ShockwaveFlash")

$ID = GUICtrlCreateObj($mySWF, 0, 0, 500, 500 )

...

ControlSend( $Background, "", 19083264, "{SPACE}" )

...where the '19083264' is the controlID obtained from the Au3Info.exe utility.

How can I find that number from within my script? ...is it possible?

Thanks again.

gsb


"Did you ever stop to think? ...and forget to restart!"

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