Essbaumer Posted October 12, 2005 Share Posted October 12, 2005 (edited) Hi @ all!(First, sorry for my bad english)I write this script to Check the Spool Service.It's running fine as Script. But after compileing the script dont run.Whats the problem? $i = 1 $oShell=ObjCreate("shell.application") Do if NOT $oShell.IsServiceRunning("Spooler") then $oShell.ServiceStart("Spooler",false) TrayTip("Windows Dienst Checker", "Der Spool Dienst wurde neu gestartet.", 5, 1) EndIf Sleep(10000) Until $i = 10Error:Line 0 (File "Spool-Check.exe"):$oShell=ObjCreate("shell.application")$oShell=^ ERRORError: Unknown function name. Edited October 12, 2005 by Essbaumer CURalf Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 12, 2005 Share Posted October 12, 2005 you have compiled it with autoit you have to betacompile it, because this function doesn't exist in autoit my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Essbaumer Posted October 12, 2005 Author Share Posted October 12, 2005 Thanx! CURalf Link to comment Share on other sites More sharing options...
stev379 Posted October 13, 2005 Share Posted October 13, 2005 (edited) you have compiled it with autoityou have to betacompile it, because this function doesn't exist in autoitI know I'll feel stupid after I get the answer...But what do you mean by "betacompile"? Edited October 13, 2005 by stev379 Link to comment Share on other sites More sharing options...
BigDod Posted October 13, 2005 Share Posted October 13, 2005 (edited) I know I'll feel stupid after I get the answer...But what do you mean by "betacompile"?By Beta compile he means compile it with the compiler found in "program/AutoIT/Beta"EDITThis does not belong in this forum, it belongs in the Support forum Edited October 13, 2005 by BigDod Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
stev379 Posted October 13, 2005 Share Posted October 13, 2005 (edited) By Beta compile he means compile it with the compiler found in "program/AutoIT/Beta"EDITThis does not belong in this forum, it belongs in the Support forumCool Thanks! But I don't have "Beta" in my AutoIT folder under Programs. My currently installed version is from the autoit-v3-setup.exe download. Is there a Beta version somewhere I've missed?EDIT:I forgot to mention. I get that same error in testing. I haven't compiled it yet.$objApp = ObjCreate("Shell.Application")$objApp = ^ ERROREDITThis does not belong in this forum, it belongs in the Support forumI wasn't the original poster, but I'll keep this in mind for future new posts.Thanks!! Edited October 13, 2005 by stev379 Link to comment Share on other sites More sharing options...
BigDod Posted October 13, 2005 Share Posted October 13, 2005 Cool Thanks! But I don't have "Beta" in my AutoIT folder under Programs. My currently installed version is from the autoit-v3-setup.exe download. Is there a Beta version somewhere I've missed?EDIT:I forgot to mention. I get that same error in testing. I haven't compiled it yet.$objApp = ObjCreate("Shell.Application")$objApp = ^ ERROREDITI wasn't the original poster, but I'll keep this in mind for future new posts.Thanks!! You will find the Beta versions Here Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
stev379 Posted October 13, 2005 Share Posted October 13, 2005 You will find the Beta versions HereGood deal! Thank you BigDod!! 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