rosaz Posted September 8, 2009 Posted September 8, 2009 Hello, I'm not sure exactly what I'm asking I admit, but has anyone else had any trouble with scripts that work for them, but don't seem to work for people you send them to? Just looking for any general advice about issues to watch out for. My script is: Global $g_eventerror = 0 Global $oRemedy Global $iSession = 0 $oMyError = ObjEvent("AutoIt.Error","MyErrFunc") $oRemedy = ObjGet("", "Remedy.User.1") $oRemedyForm = $oRemedy.OpenForm($iSession, "pscars01.ps.net", "Request Management", 1, True) WinWaitActive("Microsoft Excel") #include <Excel.au3> $title = WinGetTitle("[active]") $oExcel = _ExcelBookAttach ($title, "Title") WinActivate("BMC Remedy User") $oAccount = $oRemedyForm.GetField("Account") $oAccount.Value = $account Thank you very much for any suggestions you have!!
1957classic Posted September 8, 2009 Posted September 8, 2009 I'm not an expert, but I would guess that the ones you sent it to do not have AutoIt installed on their computers.I believe if you open your script with SciTE editor, check the box to add constants and compile it, your script should work.Someone can correct me if I'm wrong...
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