Giordano Posted April 3, 2007 Share Posted April 3, 2007 hi there, sorry for my bad english. (i can't explain as well what i need)i have a question, is possible to get a loaded image from internet explorer? i'm not intrested in Inet because it download an image!i have to get and show in GUI an image that contain some characters, but this image evrytime changes!the link to image is: https://www.tim.it/smsdaweb/imagecode.jpgCHECK THE LINK BEFORE POST A REPLY TO UNDERSTAND WHY INET IS NOT USEFUL.when the image is loaded, is possible to get it (to show in a GUI form).Thanks.. [font=courier new, courier, monospace]Una piccola riflessione: [/font] [font=courier new, courier, monospace]Se guardassi la Terra da un pianeta distante 1 anno luce, vedresti la terra 1 anno prima di quell'istante! Quindi se tu potessi arrivare a quella distanza impiegando solo 6 mesi (quindi viaggiando a 2 volte la velocita della luce) vedresti il mondo com'era 6 mesi prima della partenza.. il passato![/font] Link to comment Share on other sites More sharing options...
jvanegmond Posted April 3, 2007 Share Posted April 3, 2007 (edited) CHECK THE LINK BEFORE POST A REPLY TO UNDERSTAND WHY INET IS NOT USEFUL.I will be the judge of that. $url = "https://www.tim.it/smsdaweb/imagecode.jpg" GUICreate("GUI Test", 220, 80) InetGet($url,"temp.jpg",1) GUICtrlCreatePic("temp.jpg",10,10,200,60) FileDelete("temp.jpg") GUISetState() While 1 If GUIGetMsg() = -3 Then ExitLoop WEnd EDIT: RUN THE SCRIPT BEFORE YOU SAY THIS NOT WORK DOES. Edited April 3, 2007 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
Maxtreeme Posted April 3, 2007 Share Posted April 3, 2007 This is an image for a sites security. Before we continue, what exactly do you want to do with it? Link to comment Share on other sites More sharing options...
jvanegmond Posted April 3, 2007 Share Posted April 3, 2007 (edited) This is an image for a sites security. Before we continue, what exactly do you want to do with it?What the hell would you want to know that for? Edited April 3, 2007 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
Maxtreeme Posted April 3, 2007 Share Posted April 3, 2007 What the hell would you want to know that for? couse if he needs it so the script would understant the letters that are written there, and enter them somewhere, now that would be kinda hard to do...that is why i asked Link to comment Share on other sites More sharing options...
Giordano Posted April 3, 2007 Author Share Posted April 3, 2007 (edited) I will be the judge of that. $url = "https://www.tim.it/smsdaweb/imagecode.jpg" GUICreate("GUI Test", 220, 80) InetGet($url,"temp.jpg",1) GUICtrlCreatePic("temp.jpg",10,10,200,60) FileDelete("temp.jpg") GUISetState() While 1 If GUIGetMsg() = -3 Then ExitLoop WEnd EDIT: RUN THE SCRIPT BEFORE YOU SAY THIS NOT WORK DOES. this not work because the char image is evrytime different, and inet shows you a different image! the image is yet loaded in the page using ie.au3 library. this is the problem! i'm looking for the internet explorer temporany internet files to get the loaded image but i'm not sure i can do it, someone has an ideas? This is an image for a sites security. Before we continue, what exactly do you want to do with it? nothing illegal, i need to make a program that send sms automatically from the site www.tim.it but for send it need you read that characters, i'm not able to make a program that read that characters but i can make a GUI thath show character images and the user can write the chars in the image, same thing as using internet, but automatized from an application! Edited April 3, 2007 by Giordy [font=courier new, courier, monospace]Una piccola riflessione: [/font] [font=courier new, courier, monospace]Se guardassi la Terra da un pianeta distante 1 anno luce, vedresti la terra 1 anno prima di quell'istante! Quindi se tu potessi arrivare a quella distanza impiegando solo 6 mesi (quindi viaggiando a 2 volte la velocita della luce) vedresti il mondo com'era 6 mesi prima della partenza.. il passato![/font] Link to comment Share on other sites More sharing options...
Maxtreeme Posted April 3, 2007 Share Posted April 3, 2007 nothing illegal, i need to make a program that send sms automatically from the site www.tim.it but for send it need you read that charactersdidn't say it was illegal, but you answered the question why i asked what does he want do to with iti'm not able to make a program that read that charactersthat would be hard to do... Link to comment Share on other sites More sharing options...
jvanegmond Posted April 3, 2007 Share Posted April 3, 2007 this not work because the char image is evrytime different, and inet shows you a different image! the image is yet loaded in the page using ie.au3 library.this is the problem! i'm looking for the internet explorer temporany internet files to get the loaded image but i'm not sure i can do it, someone has an ideas?If you want that done, then say so! You just said you wanted to get this image...What's the url where the image is displayed? github.com/jvanegmond Link to comment Share on other sites More sharing options...
Giordano Posted April 3, 2007 Author Share Posted April 3, 2007 didn't say it was illegal, but you answered the question why i asked what does he want do to with itno problem, is right to ask it before continue helping that would be hard to do...is not easy to do an OCR when the image is not clean as the security image!i need only to retrieve this loaded image! from temporany files, directly from the web, is not important how to! if someone has ideas plz post it. thanks [font=courier new, courier, monospace]Una piccola riflessione: [/font] [font=courier new, courier, monospace]Se guardassi la Terra da un pianeta distante 1 anno luce, vedresti la terra 1 anno prima di quell'istante! Quindi se tu potessi arrivare a quella distanza impiegando solo 6 mesi (quindi viaggiando a 2 volte la velocita della luce) vedresti il mondo com'era 6 mesi prima della partenza.. il passato![/font] Link to comment Share on other sites More sharing options...
Giordano Posted April 3, 2007 Author Share Posted April 3, 2007 If you want that done, then say so! You just said you wanted to get this image...What's the url where the image is displayed?https://www.tim.it/smsdaweb/imagecode.jpgthis is the url, try to check it and refresh the page... [font=courier new, courier, monospace]Una piccola riflessione: [/font] [font=courier new, courier, monospace]Se guardassi la Terra da un pianeta distante 1 anno luce, vedresti la terra 1 anno prima di quell'istante! Quindi se tu potessi arrivare a quella distanza impiegando solo 6 mesi (quindi viaggiando a 2 volte la velocita della luce) vedresti il mondo com'era 6 mesi prima della partenza.. il passato![/font] Link to comment Share on other sites More sharing options...
jvanegmond Posted April 3, 2007 Share Posted April 3, 2007 https://www.tim.it/smsdaweb/imagecode.jpgthis is the url, try to check it and refresh the page...Just give me the goddamn url of the webpage. Lmao. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Giordano Posted April 3, 2007 Author Share Posted April 3, 2007 (edited) Just give me the goddamn url of the webpage. Lmao.it need to be registered, and to be registered you need an italian TIM number..https://www.tim.it/smsdaweb/smsdaweb.doi think you can't enter if you're not logged insorry for communication problem but my english sux! i need only a thing:1- go to https://www.tim.it/smsdaweb/imagecode.jpg2- store THAT image (loaded) from IE or from temporany internet files or what else... Edited April 3, 2007 by Giordy [font=courier new, courier, monospace]Una piccola riflessione: [/font] [font=courier new, courier, monospace]Se guardassi la Terra da un pianeta distante 1 anno luce, vedresti la terra 1 anno prima di quell'istante! Quindi se tu potessi arrivare a quella distanza impiegando solo 6 mesi (quindi viaggiando a 2 volte la velocita della luce) vedresti il mondo com'era 6 mesi prima della partenza.. il passato![/font] Link to comment Share on other sites More sharing options...
jvanegmond Posted April 3, 2007 Share Posted April 3, 2007 it need to be registered, and to be registered you need an italian TIM number..https://www.tim.it/smsdaweb/smsdaweb.doi think you can't enter if you're not logged insorry for communication problem but my english sux! It's ok, I'm laughing here.. I can't help you any further, because this requires you to log in, and I can't... github.com/jvanegmond Link to comment Share on other sites More sharing options...
Giordano Posted April 3, 2007 Author Share Posted April 3, 2007 It's ok, I'm laughing here.. I can't help you any further, because this requires you to log in, and I can't... if you can1- go to https://www.tim.it/smsdaweb/imagecode.jpg2- store THAT image (loaded) from IE or from temporany internet files or what else... you helped me [font=courier new, courier, monospace]Una piccola riflessione: [/font] [font=courier new, courier, monospace]Se guardassi la Terra da un pianeta distante 1 anno luce, vedresti la terra 1 anno prima di quell'istante! Quindi se tu potessi arrivare a quella distanza impiegando solo 6 mesi (quindi viaggiando a 2 volte la velocita della luce) vedresti il mondo com'era 6 mesi prima della partenza.. il passato![/font] Link to comment Share on other sites More sharing options...
SadBunny Posted April 3, 2007 Share Posted April 3, 2007 (edited) It's ok, I'm laughing here.. I can't help you any further, because this requires you to log in, and I can't... Well that link (https://www.tim.it/smsdaweb/imagecode.jpg) works without any login trouble for me, and I'm Dutch Hell, I don't even know what a TIM number is... But the following script seems to work just fine for me. Is this what you mean? HotKeySet("{ESC}","Exiting") InetGet("https://www.tim.it/smsdaweb/imagecode.jpg",@ScriptDir&"\temp.jpg") $maingui = GUICreate("test",400,200) $picCtrl = GUICtrlCreatePic(@ScriptDir&"\temp.jpg",10,10,300,100) $inputCtrl = GUICtrlCreateInput("Please put of letters from image in here this box",10,150,300,20) GUISetState() While 1 Sleep(50) WEnd Func Exiting() Exit EndFunc /edit: seems you need to get interested in INetGet after all... To answer your initial post Edited April 3, 2007 by SadBunny Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
Giordano Posted April 3, 2007 Author Share Posted April 3, 2007 Well that link (https://www.tim.it/smsdaweb/imagecode.jpg) works without any login trouble for me, and I'm Dutch Hell, I don't even know what a TIM number is... But the following script seems to work just fine for me. Is this what you mean? HotKeySet("{ESC}","Exiting") InetGet("https://www.tim.it/smsdaweb/imagecode.jpg",@ScriptDir&"\temp.jpg") $maingui = GUICreate("test",400,200) $picCtrl = GUICtrlCreatePic(@ScriptDir&"\temp.jpg",10,10,300,100) $inputCtrl = GUICtrlCreateInput("Please put of letters from image in here this box",10,150,300,20) GUISetState() While 1 Sleep(50) WEnd Func Exiting() Exit EndFunc this not work because the char image is evrytime different, and inet shows you a different image! the image is yet loaded in the page using ie.au3 library. this is the problem! CODE#include<IEComp.au3> #include<IET2.au3> #include <GUIConstants.au3> $oIE = _IECreate("https://www.tim.it/smsdaweb/imagecode.jpg") InetGet("https://www.tim.it/smsdaweb/imagecode.jpg","temp.jpg") ;~ This retrieve a different image as the shown! ;~ I need a function that retrieve the loaded image Func GetImage($oIE,$index) ;~ ..... ;~ ..... ;~ ..... ;~ ..... ;~ ..... EndFunc [font=courier new, courier, monospace]Una piccola riflessione: [/font] [font=courier new, courier, monospace]Se guardassi la Terra da un pianeta distante 1 anno luce, vedresti la terra 1 anno prima di quell'istante! Quindi se tu potessi arrivare a quella distanza impiegando solo 6 mesi (quindi viaggiando a 2 volte la velocita della luce) vedresti il mondo com'era 6 mesi prima della partenza.. il passato![/font] Link to comment Share on other sites More sharing options...
SadBunny Posted April 3, 2007 Share Posted April 3, 2007 this not work because the char image is evrytime different, and inet shows you a different image! the image is yet loaded in the page using ie.au3 library.this is the problem!CODE#include<IEComp.au3>#include<IET2.au3>#include <GUIConstants.au3>$oIE = _IECreate("https://www.tim.it/smsdaweb/imagecode.jpg")InetGet("https://www.tim.it/smsdaweb/imagecode.jpg","temp.jpg");~ This retrieve a different image as the shown!;~ I need a function that retrieve the loaded imageFunc GetImage($oIE,$index);~ .....;~ .....;~ .....;~ .....;~ .....EndFuncSorry, you're right, I understand now. Didn't read thoroughly enough. I understand your problem. Then maybe spawn an Internet Explorer page to view the JPG file, then search through the temp internet files to search for the newest .jpg file and view that? (Not tested... ) Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
jvanegmond Posted April 3, 2007 Share Posted April 3, 2007 Giordy, you could try to set the 3rd parameter ('reload') to 0.. It may just get it from the temp files... It's a long shot though. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Giordano Posted April 3, 2007 Author Share Posted April 3, 2007 (edited) Giordy, you could try to set the 3rd parameter ('reload') to 0.. It may just get it from the temp files... It's a long shot though. this not work.. have a look: #include<IEComp.au3> #include<IET2.au3> $oIE = _IECreate("https://www.tim.it/smsdaweb/imagecode.jpg") INetGet("https://www.tim.it/smsdaweb/imagecode.jpg","temp.jpg",0) thank for trying to help me! EDIT: wow you are from NETHERLANDS i like amsterdam!! Edited April 3, 2007 by Giordy [font=courier new, courier, monospace]Una piccola riflessione: [/font] [font=courier new, courier, monospace]Se guardassi la Terra da un pianeta distante 1 anno luce, vedresti la terra 1 anno prima di quell'istante! Quindi se tu potessi arrivare a quella distanza impiegando solo 6 mesi (quindi viaggiando a 2 volte la velocita della luce) vedresti il mondo com'era 6 mesi prima della partenza.. il passato![/font] Link to comment Share on other sites More sharing options...
jvanegmond Posted April 3, 2007 Share Posted April 3, 2007 EDIT: wow you are from NETHERLANDS i like amsterdam!!Yeah, me too. Alkmaar is pretty close to Amsterdam.. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now