|
Post by crazybot on Feb 4, 2010 12:51:40 GMT
First I'm sory about my bad grammar
I use Z-Bot 7.6 The .exe was fine & work for me But when I try to launch bot.au3 I get this error
Error line 167.... $sExt = StringUpper (_GDIPlus_ExtractFileExt($sFileName)) $sExt = StringUpper (^ERROR
can somebody tell me how to fix this please...
|
|
|
Post by fleetfanatic on Feb 4, 2010 13:18:37 GMT
edit line 167 in screencapturefixed.au3 to this:
$sExt = StringUpper (__GDIPlus_ExtractFileExt($sFileName))
it is because you have the newest version of autoit, it just needs the extra _
I have to do this every time a new bot is released.
you will find the au3 file in includes\vendor\screencapture folder
|
|
|
Post by kozkon on Feb 4, 2010 13:32:40 GMT
Hum. Perhaps ill get the newest version and this shouldn't be a problem? Wasn't there something else i have to edit if i get the latest version?
|
|
|
Post by crazybot on Feb 4, 2010 13:35:09 GMT
Thanks for helping me fix this It's work now thanks again
|
|
|
Post by crazybot on Feb 4, 2010 13:37:27 GMT
Hum. Perhaps ill get the newest version and this shouldn't be a problem? Wasn't there something else i have to edit if i get the latest version? He was right kozkon I do what he tell me & it works now
|
|
|
Post by fleetfanatic on Feb 4, 2010 13:37:35 GMT
Hum. Perhaps ill get the newest version and this shouldn't be a problem? Wasn't there something else i have to edit if i get the latest version? I dont mind, depends who is using what version I guess. By the time I attached dj barnes gui, the room chooser..... editing line 167 isnt much effort lol
|
|
|
Post by fleetfanatic on Feb 4, 2010 13:38:04 GMT
Hum. Perhaps ill get the newest version and this shouldn't be a problem? Wasn't there something else i have to edit if i get the latest version? He was right kozkon I do what he tell me & it works now Glad to help
|
|
|
Post by djbarnes on Feb 5, 2010 11:47:27 GMT
This function should be renamed, then put inside the screencapturefixed file so that we no longer have these problems...
Func _GDIPlus_ExtractFileExt($sFileName, $fNoDot = True) Local $iIndex = __GDIPlus_LastDelimiter(".\:", $sFileName) If ($iIndex > 0) And (StringMid($sFileName, $iIndex, 1) = '.') Then If $fNoDot Then Return StringMid($sFileName, $iIndex + 1) Else Return StringMid($sFileName, $iIndex) EndIf Else Return "" EndIf EndFunc ;==>_GDIPlus_ExtractFileExt
|
|