bosteso Posted November 9, 2007 Share Posted November 9, 2007 Good morning for all, in simple words:i need validate if $swfObj = ObjCreate("ShockwaveFlash.ShockwaveFlash") is created, or if the plugin exist on machine, and if is NOT of FALSE the answer, alert with message box and launch install plugin.currently i´m work with one script that i find in this forum, and i´ll post here#include <guiconstants.au3> $mGUI = GUICreate("Tutorials", 790, 120, 0, 0, -1 ) GUISetBkColor (0x000000) GUISetState(@SW_SHOW) ; Create Flash Object $swfObj = ObjCreate("ShockwaveFlash.ShockwaveFlash") $swfActiveX = GUICtrlCreateObj( $swfObj, 0, 0 , 790, 120) ; Configure Flash Object (Make as Function) With $swfObj .Movie = @ScriptDir & '\testfile.swf' .ScaleMode = 2;0 showall, 1 noborder, 2 exactFit, 3 noscale .bgcolor = "#FFFFFF" .Loop = False .WMode = "transparent" .allowScriptAccess = "Always" EndWith ; MAIN LOOP While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop EndSwitch Sleep(10) WEndThanks in advanced Link to comment Share on other sites More sharing options...
Danny35d Posted November 9, 2007 Share Posted November 9, 2007 Out of the help file IsObj(variable) AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Link to comment Share on other sites More sharing options...
bosteso Posted November 9, 2007 Author Share Posted November 9, 2007 Danny35d, many thanks, this really a good news for me, and again thanks for ur help. have a nice day!. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now