theguy0000 Posted September 24, 2006 Share Posted September 24, 2006 #include-once Global $oPlayerApp = ObjCreate ("MediaPlayer.PlayerApplication") If @error Then ConsoleWrite ("failed."&@LF) Else ConsoleWrite ("success."&@LF) EndIfIt always gives me failed.here is the documentation for PlayerApplication: http://msdn.microsoft.com/library/default....ationobject.aspI have a feeling that I am putting the wrong thing before the dot, but I'm not sure what it should be... The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
AceLoc Posted September 24, 2006 Share Posted September 24, 2006 (edited) #include <FILE-YOU-WANNA-INCLUDE.au3> Edited September 24, 2006 by aceloc [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
GaryFrost Posted September 24, 2006 Share Posted September 24, 2006 #include <FILE-YOU-WANNA-INCLUDE.au3> ???????? Might try WMPlayer.OCX SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
theguy0000 Posted September 25, 2006 Author Share Posted September 25, 2006 @aceloc: what the heck? @gafrost: uh, what do i do with that? where can i get it? The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
AceLoc Posted September 25, 2006 Share Posted September 25, 2006 what are you tryin to include?#include-once [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
GaryFrost Posted September 25, 2006 Share Posted September 25, 2006 @aceloc: what the heck? @gafrost: uh, what do i do with that? where can i get it? You have Media Player installed? #include-once Global $oPlayerApp = ObjCreate ("WMPlayer.OCX") If @error Then ConsoleWrite ("failed."&@LF) Else ConsoleWrite ("success."&@LF) EndIf Look in scripts and scraps, it's been done more than once. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
theguy0000 Posted September 25, 2006 Author Share Posted September 25, 2006 @aceloc: it means that if the file is included in other files, it can't be included more than once...gah i can't explain it, just look it up in the help file @gafrost: ohhh lol, thanks a bunch. The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
AceLoc Posted September 25, 2006 Share Posted September 25, 2006 @aceloc: it means that if the file is included in other files, it can't be included more than once...gah i can't explain it, just look it up in the help file@gafrost: ohhh lol, thanks a bunch.ah thanks. [quote name='AceLoc']I gots new sunglasses there cool.[/quote] 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