Sign in to follow this  
Followers 0
toxicvn

get avatar yahoo !

3 posts in this topic

:) help me ,

image don't show

when I use it Koda report error:

JPEG error #53

Exception Address: 0052EBCF

Information about Source of Exception

Unit: jpeg

Method: JpegError

Line: 0

code:

#cs ----------------------------------------------------------------------------

AutoIt Version: 3.2.12.1

Author: Dai ca TOXICVN

Script Function:

get avatar yahoo

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here

#include <GUIConstants.au3>

#include <Misc.au3>

$iChecker = GUICreate("get avatar by toxicvn", 211, 135, 221, 209)

$on_off=GUICtrlCreatePic("",190,73,20,20)

$ID = GUICtrlCreateInput("", 16, 72, 169, 21)

$Check = GUICtrlCreateButton("Get !", 16, 104, 65, 25, 0)

$Exit = GUICtrlCreateButton("Exit", 112, 104, 73, 25, 0)

GUICtrlCreateLabel("Enter the Yahoo ! ID here :", 32, 53, 131, 17)

GUISetState(@SW_SHOW)

While 1

$nMsg = GUIGetMsg()

Select

Case $nMsg=$Check or _IsPressed("0D")

If GuiCtrlRead($ID)="" Then

MsgBox(0,"Error !", "Please enter an ID !")

Else

InetGet("http://img.msg.yahoo.com/avatar.php?yids=" & GuiCtrlRead($ID),"avatar.JPG", 1)

Exitloop

EndIf

EndSelect

WEnd

GUICreate("My GUI picture", 350, 300, -1, -1) ; will create a dialog box that when displayed is centerGUISetBkColor(0xE0FFFF)

$n = GUICtrlCreatePic(@scriptdir & "\avatar.gif", 50, 50, 200, 50)

GUISetState()

; Run the GUI until the dialog is closed

While 1

$msg2 = GUIGetMsg()

If $msg2 = $GUI_EVENT_CLOSE Then ExitLoop

WEnd

who is wirite code ? : Check yahoo invisible by autoitscript

contact me netvn102@yahoo.com

getavatar_yh.au3

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

:) help me ,

image don't show

when I use it Koda report error:

JPEG error #53

Exception Address: 0052EBCF

Information about Source of Exception

Unit: jpeg

Method: JpegError

Line: 0

code:

#cs ----------------------------------------------------------------------------

AutoIt Version: 3.2.12.1

Author: Dai ca TOXICVN

Script Function:

get avatar yahoo

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here

#include <GUIConstants.au3>

#include <Misc.au3>

$iChecker = GUICreate("get avatar by toxicvn", 211, 135, 221, 209)

$on_off=GUICtrlCreatePic("",190,73,20,20)

$ID = GUICtrlCreateInput("", 16, 72, 169, 21)

$Check = GUICtrlCreateButton("Get !", 16, 104, 65, 25, 0)

$Exit = GUICtrlCreateButton("Exit", 112, 104, 73, 25, 0)

GUICtrlCreateLabel("Enter the Yahoo ! ID here :", 32, 53, 131, 17)

GUISetState(@SW_SHOW)

While 1

$nMsg = GUIGetMsg()

Select

Case $nMsg=$Check or _IsPressed("0D")

If GuiCtrlRead($ID)="" Then

MsgBox(0,"Error !", "Please enter an ID !")

Else

InetGet("http://img.msg.yahoo.com/avatar.php?yids=" & GuiCtrlRead($ID),"avatar.JPG", 1)

Exitloop

EndIf

EndSelect

WEnd

GUICreate("My GUI picture", 350, 300, -1, -1) ; will create a dialog box that when displayed is centerGUISetBkColor(0xE0FFFF)

$n = GUICtrlCreatePic(@scriptdir & "\avatar.gif", 50, 50, 200, 50)

GUISetState()

; Run the GUI until the dialog is closed

While 1

$msg2 = GUIGetMsg()

If $msg2 = $GUI_EVENT_CLOSE Then ExitLoop

WEnd

who is wirite code ? : Check yahoo invisible by autoitscript

contact me netvn102@yahoo.com

Your script is not working.

You should post in General Help and Support if your script doesn't work.

Anyway, check this example:

http://www.autoitscript.com/forum/index.ph...st&p=548586

Edited by Andreik

When the words fail... music speaks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0