
bartekd
Active Members-
Posts
156 -
Joined
-
Last visited
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by bartekd
-
Yes, I am sending the code from post 4. When the image opens, it is always really faint and its a grey color.
-
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?
-
Active Directory UDF - Help & Support (II)
bartekd replied to water's topic in AutoIt General Help and Support
Thanks Water. -
Active Directory UDF - Help & Support (II)
bartekd replied to water's topic in AutoIt General Help and Support
$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? -
Active Directory UDF - Help & Support (II)
bartekd replied to water's topic in AutoIt General Help and Support
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 -
Active Directory UDF - Help & Support (II)
bartekd replied to water's topic in AutoIt General Help and Support
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 -
Active Directory UDF - Help & Support (II)
bartekd replied to water's topic in AutoIt General Help and Support
Ya, I am using SamAccountName -- The username of the person Im trying to delete. -
Active Directory UDF - Help & Support (II)
bartekd replied to water's topic in AutoIt General Help and Support
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") -
Active Directory UDF - Help & Support (II)
bartekd replied to water's topic in AutoIt General Help and Support
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) -
Active Directory UDF - Help & Support
bartekd replied to water's topic in AutoIt General Help and Support
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 -
Can Autoit convert a text file from ansi to utf-8/unicode?
bartekd replied to somh's topic in AutoIt General Help and Support
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. -
Can Autoit convert a text file from ansi to utf-8/unicode?
bartekd replied to somh's topic in AutoIt General Help and Support
Sorry guys, next time I will create a new thread. Anyone know of any solutions for my question? -
Can Autoit convert a text file from ansi to utf-8/unicode?
bartekd replied to somh's topic in AutoIt General Help and Support
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? -
Can Autoit convert a text file from ansi to utf-8/unicode?
bartekd replied to somh's topic in AutoIt General Help and Support
Sorry to bring up this old subject, but is this possible? -
OK Thanks Firefox
-
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?
-
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]', "")
-
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")
-
that was it, thanks.
-
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?
-
Thanks again Water. ill try and let you know.
-
Ill take a look and see what I can find. The OutlookEX script is compatible with outlook 2000?
-
hmm, thats too bad. No I can't upgrade to 2007 because we don't have the license for it. Any other solutions?
-
-
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?