
semedboy
Active Members-
Posts
22 -
Joined
-
Last visited
Everything posted by semedboy
-
[solved] $string=_StringBetween....
semedboy replied to Maximus1's topic in AutoIt General Help and Support
Hi, you can't use "return" unless you have a function.... #include <IE.au3> #include <String.au3> #include <Array.au3> #include <INet.au3> $a="000001" $file="temp.txt" $Stringleft = "<title>" $Stringright = "</title>" $source=INetGet("http://www.heise.de",""& $file,0,0) $string=_StringBetween($file,$Stringleft,$Stringright) MsgBox(0,"",$string[0]) *semedboy -
anyone know free FTP servers??
-
nice job....
-
Nice job, thanks for sharing
-
Exit code: -1073741819, NOT WORKING
-
i was using the build in function _ScreenCapture_Capture and it seems that it fails to capture my taskbar.... so i did this UDF #include-once #include <gdiplus.au3> #include <ClipBoard.au3> ; #FUNCTION# ==================================================================================================================== ; Name...........: _ScreenCapture ; Description ...: Captures screen from clipboard ; Syntax.........: _ScreenCapture($iFile) ; Parameters ....: ; Return values .: Success - True ; Failure - False ; Author ........: Semedboy (Abdulselam) ; E-mail ........: semedboy@gmail.com ; Related .......: _GDIPlus_Startup,_GDIPlus_BitmapCreateFromHBITMAP,_ClipBoard_GetData,_GDIPlus_ImageSaveToFile ; Example .......; Yes ; =============================================================================================================================== Func _ScreenCapture($ifile) Local $Clip_image,$save If $ifile<>"" Then Send("{PRINTSCREEN}") _GDIPlus_Startup() $Clip_image=_GDIPlus_BitmapCreateFromHBITMAP(_ClipBoard_GetData ($CF_BITMAP)) $Save=_GDIPlus_ImageSaveToFile($Clip_image,$ifile) Return $save Else ConsoleWrite("Function syntax == _ScreenCapture($File)"&@CRLF&"==> Error ==> No file specified"&@CRLF) Exit EndIf EndFunc ;==>_ScreenCapture _ScreenCapture(@ScriptDir&"\_ScreenCapture test.bmp") comments are appreciated
-
it hard but nice job..
-
what i needed.... thanks
-
YOU CAN'T
-
don't get me wrong i like Autoit
-
i know 300Kb isn't that BIG but still they could make it smaller btw. 300Kb isn't the original complied size, it is compressed with UPX. the orignial size is 550Kb
-
sorry for the misunderstanding i caused... i was using PE explorer, which has import function viewer that shows all the function an exe calls. so i tried the script MsgBox(0,"hi","test") and complied it, then i used PE explorer's import function viewer and it shows that the complied script calls functions that i didn't use and i think that is why the size is so big
-
Why is the size of complied autoit script is large?? i know for a fact that autoit calls all functions that are not included like Msbox, sleep and more... it doesn't matter if you use the function or not, it is still called.
-
it is way too big download with my dial-up connection , but i like you idea
-
thanks
-
thanks for the comments .... and can anyone tell me how to post on example scripts
-
WOW This is amazing! thanks for sharing
-
nice job...
-
This UDF checks if there is a file in the clipboard or not, it is only tested on windwos xp SP2.... if you find any bugs let me know Func _file_in_clipboard() DllCall("User32.dll", "int", "OpenClipboard", "hwnd", "") $file=DllCall("User32.dll", "int", "EnumClipboardFormats", "int", 49158) DllCall("User32.dll", "int", "CloseClipboard") If $file[0]=49159 Then Return 1 Else Return 0 EndIf EndFunc
-
nice job and thanks for sharing with us... but your gui should be better