Jump to content

semedboy

Active Members
  • Posts

    22
  • Joined

  • Last visited

About semedboy

  • Birthday 05/03/1991

Recent Profile Visitors

252 profile views

semedboy's Achievements

Seeker

Seeker (1/7)

1

Reputation

  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.
×
×
  • Create New...