Jump to content

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


 Share

Recommended Posts

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