4 posts in this topic
This topic is now closed to further replies.
Hello AutoIT community.
I am attempting to make a script that will login to my bank account and retrieve one of my account balances and display it in a MsgBox, however it am having some difficulty getting the correct value.... The MsgBox keep displaying a value of "0" instead of the actual string in between the source code I'm looking for.... Any help would be greatly appreciated!
$readtext = InetRead("https://www.xxxbanksitexxx.com/das/cgi-bin/session.cgi?screenid=SIGNON_PORTAL_PAUSE&LOB=CONS",1)
$source = BinaryToString($readtext)
$text = _StringBetween($source,'CHECKING XXXXXXXXXX ', ' "> ')
MsgBox(0,"balance",$text) ;This keeps returning a value of "0"
* Sorry for my many questions,
i use that and it's true and fine,
Local $dData = InetRead("http://example.com/my.html",1) $my = BinaryToString(StringReplace($dData, "0A", "0D0A"), 4) now how can i add functions in "my.html" and autoit run that function,
it's meant when ever "Read" data from website, use that serve as "Autoit Function",
something like that :
In "my.html" we have this :
MsgBox (1,"This is from website","this is from website") In script we have this :
#include <GUIConstantsEx.au3> $hGUI = GUICreate("Test", 500, 500) GuiSetState() Local $dData = InetRead("http://example.com/my.html",1) $my = BinaryToString(StringReplace($dData, "0A", "0D0A"), 4) ;this place is for MsgBox from "my.html" While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Thanks Alot,
After i use that, all of thing is good and perfect,
Local $dData = InetRead("http://example.com/my.html",1) $my = BinaryToString(StringReplace($dData, "0A", "0D0A"), 4) but now how can i reload that after x time ?!
by this ( top script ) , i need to relunch the script to see modified,
now! how can i update data after X time !?
for example :
in "my.html" we have number "3" , i try to change it to "5", now we need to relunch script to see "3" => "5",
how we can use that without relunch script.
thanks alot and sorry for my bad english & too long question.
Inetget and InetRead don't recognize IE cookies on Windows 10 and so can't be used on password-protected sitesBy morganlove
Ever since I upgraded to Windows 10, scripts using Inetget and InetRead no longer seem to recognize Internet Explorer cookies. This makes them useless for websites that require you to be logged in to. Has there been some sort of change to IE cookies because of the upgrade and new Edge browser? Is there a way around this?
i have one question ! ,
how we can use a "inetread" without any changes in doc,
it's meant :
for example in this address we have this source : (Address : http://example.com)
<!doctype html> <!-- i have <br/> ( Enter ) --> <html> <!-- i have enter too --> <head> <!-- i have too --> <title>i am in autoit :) </title> <meta charset="utf-8"> </head> <body> <p> i want to go in autoit :( </p> <a href="http://autoitscript.com">autoit</a> </body> </html> in this source you see many "Enter", now how we can have this (source) by "inetread" or "inetget" or something like that,
i try to use that with "inetread" but it have not any "enter"!
*sorry for my many questions,