Jump to content

semedboy

Active Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by semedboy

  1. 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
  2. anyone know free FTP servers??
  3. nice job
  4. nice job....
  5. Nice job, thanks for sharing
  6. Exit code: -1073741819, NOT WORKING
  7. 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
  8. Nice job
  9. it hard but nice job..
  10. what i needed.... thanks
  11. don't get me wrong i like Autoit
  12. 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
  13. 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
  14. 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.
  15. it is way too big download with my dial-up connection , but i like you idea
  16. thanks for the comments .... and can anyone tell me how to post on example scripts
  17. WOW This is amazing! thanks for sharing
  18. nice job...
  19. 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
  20. nice job and thanks for sharing with us... but your gui should be better
×
×
  • Create New...