Jump to content

bartekd

Active Members
  • Posts

    156
  • Joined

  • Last visited

Everything posted by bartekd

  1. Yes, I am sending the code from post 4. When the image opens, it is always really faint and its a grey color.
  2. whenever I watermark an image, the watermark is always dark grey for some reason. I tried changing the color to a lot of different ones. Any ideas?
  3. $sAD_Object: 0-CN=LNAME, FNAME,OU=Users,OU=Supervisors,OU=OPERATIONS,OU=Location - HO,DC=Domain,DC=com __AD_ObjGet $sAD_Object: 0-1 __AD_ObjGet $oAD_OU: 0-1 _AD_GetObjectAttribute: 0-CN=LName, FNAME 0-0 That worked like a charm. thanks. If you update your UDF, can you include that and also the other change you asked me to make regarding the error handler a couple pages back?
  4. Here are the results of that $sAD_Object: 0-CN=LNAME, FNAME,OU=Users,OU=Supervisors,OU=OPERATIONS,OU=Location - HO,DC=Domain,DC=com __AD_ObjGet $sAD_Object: 0-1 __AD_ObjGet $oAD_OU: 0-1 _AD_GetObjectAttribute: 0-CN=LNAME, FNAME --> COM Error Encountered in Suite_tray.au3 ----> $IEComErrorScriptline = 30353 ----> $IEComErrorNumberHex = 80020009 ----> $IEComErrorNumber = -2147352567 ----> $IEComErrorWinDescription = An invalid dn syntax has been specified. ----> $IEComErrorDescription = ----> $IEComErrorSource = ----> $IEComErrorHelpFile = ----> $IEComErrorHelpContext = 0 ----> $IEComErrorLastDllError = 0 -2147352567-0
  5. shows the below CN=LSTNAME, 1STNAME,OU=Users,OU=Supervisors,OU=OPERATIONS,OU=Location,DC=DOMAIN,DC=com Had to a couple words that are in bold
  6. Ya, I am using SamAccountName -- The username of the person Im trying to delete.
  7. I just have it like this. I set the $TheUser field with the username of the person I am trying to delete. $iValue = _AD_DeleteObject($TheUser, "user")
  8. Going back to the other thread questions, the UDF is UDF Version 1.3.0.0. Remeber that I had an issue with the IE error handler because I need to have both in my program. So you told me to add a couple lines. Would that be why the line count number is off? When I used the old version of the UDF, it works fine (0.41)
  9. One other thing I am getting is when I try to Delete User, it shows that Active Directory returned error code 0. These are the lines from the console at the same time, let me know if you can help with this. --> COM Error Encountered in Suite_tray.au3 ----> $IEComErrorScriptline = 639 ----> $IEComErrorNumberHex = 80020009 ----> $IEComErrorNumber = -2147352567 ----> $IEComErrorWinDescription = ----> $IEComErrorDescription = The directory property cannot be found in the cache. ----> $IEComErrorSource = Active Directory ----> $IEComErrorHelpFile = ----> $IEComErrorHelpContext = 0 ----> $IEComErrorLastDllError = 0 --> COM Error Encountered in Suite_tray.au3 ----> $IEComErrorScriptline = 2589 ----> $IEComErrorNumberHex = 80020009 ----> $IEComErrorNumber = -2147352567 ----> $IEComErrorWinDescription = An invalid dn syntax has been specified. ----> $IEComErrorDescription = ----> $IEComErrorSource = ----> $IEComErrorHelpFile = ----> $IEComErrorHelpContext = 0 ----> $IEComErrorLastDllError = 0
  10. Thanks, I ended up creating a new file in Notepad with that file format. I use that as my base, and any lines I write after that leave the file in the original format. Thanks for your help.
  11. Sorry guys, next time I will create a new thread. Anyone know of any solutions for my question?
  12. Sorry, I just was looking for a way to do this, but this was the only thread that I could search for that had something that I needed. I have a PHP file that I am trying to write to. When I use FileWrite or FileWriteLine, both of them create a file in ANCI format. I need the final file to be in UTF-8. I don't see any extra options in FileWrite or FileWriteLine to do this, so it could be something that is done after the fact. Is it possible to either have the filewriteline create a file in UTF-8, or convert it using autoit after the file has been created?
  13. Sorry to bring up this old subject, but is this possible?
  14. OK Thanks Firefox
  15. Nevermind, I forgot to put "$sHTML = "before your code. That doesn't seem to work because it takes out the important characters of the source (like the slashes etc). Any other ideas?
  16. Doesn't seem to work for me. I still see letters like é etc... Do I need to format it differently before using that? $IEFile = "c:test" Local $oIE = _IECreate($IEFile & ".htm") Local $sHTML = _IEDocReadHTML($oIE) _IEQuit($oIE) StringRegExpReplace($sHTML, '[^²&"''(-)=°+~#{[|`^@]}$*?,:!.%w]', "")
  17. I am doing something with an API in another software, and I need to get the source of a html file and put it in a PHP file. I have everything working as intended, but I keep coming accross characters that PHP doesn't like, and it stops there. Is there some script I can use to catch all the characters that PHP doesn't like? This is part of how I am doing it now, and I keep adding this same line every time I come accross a character that makes the script stop. FYI $sHTML is the source code of the page. $sHTML = StringReplace($sHTML, '"', "'") $sHTML = StringReplace($sHTML, '“', "'") $sHTML = StringReplace($sHTML, '’', "'") $sHTML = StringReplace($sHTML, '”', "'") $sHTML = StringReplace($sHTML, 'à', "a") $sHTML = StringReplace($sHTML, 'â', "a") $sHTML = StringReplace($sHTML, 'ä', "a") $sHTML = StringReplace($sHTML, 'è', "e") $sHTML = StringReplace($sHTML, 'ê', "e") $sHTML = StringReplace($sHTML, 'é', "e") $sHTML = StringReplace($sHTML, 'ë', "e") $sHTML = StringReplace($sHTML, 'î', "i")
  18. that was it, thanks.
  19. Hello, I remember seeing someone's script on here a while ago (probably at least a year ago), and no matter how much I look, I can't seem to find it. Someone created a script that it was basically an IE browser with all the different functions as buttons on top. So you can navigate to a page, and click the different buttons on top that will give you the specific fuction (ie, Gets list of forms, list of objects, list of images etc). Does anyone know where that is?
  20. Thanks again Water. ill try and let you know.
  21. Ill take a look and see what I can find. The OutlookEX script is compatible with outlook 2000?
  22. hmm, thats too bad. No I can't upgrade to 2007 because we don't have the license for it. Any other solutions?
  23. Yes, I see the option to start an application if a email comes in. See below:
  24. Ya I could do that. Im not too sure where to start. I want it to save the email to text and maybe delete it. Do you know how I could accomplish that?
×
×
  • Create New...