Jump to content

Error reading the file: IE.au3


Recommended Posts

I tried to download a script from this forum, to work whit Internet Explorer. I saw that I needed this include:

http://www.autoitscript.com/forum/index.ph...25629&hl=ie.au3

So I download it and saved (with the name IE.au3) it in the directory "Include".

But when I try to start the script, it give me this error:

Error reading the file: IE.au3

I searched in forum but it seems nobody has had the same problem.

Can someone help me?

Link to comment
Share on other sites

  • Moderators

I tried to download a script from this forum, to work whit Internet Explorer. I saw that I needed this include:

http://www.autoitscript.com/forum/index.ph...25629&hl=ie.au3

So I download it and saved (with the name IE.au3) it in the directory "Include".

But when I try to start the script, it give me this error:

Error reading the file: IE.au3

I searched in forum but it seems nobody has had the same problem.

Can someone help me?

Are you using Beta? Did you include it in the Beta Include Directory?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Are you using Beta? Did you include it in the Beta Include Directory?

I'm using Beta, but I included the file in the Include Directory, and not in Beta Include Directory...Now it works, many many thanks :D

Link to comment
Share on other sites

  • Moderators

I'm using Beta, but I included the file in the Include Directory, and not in Beta Include Directory...Now it works, many many thanks :D

Good deal, I've done that a time or 2 :D

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Good deal, I've done that a time or 2 :D

I've another problem now..I was able (...) to write a script (with a little GUI) that read a web page, search a value and return me this value on a message box. What I can't do is: it's possible to make the scripts return me this value in a part of the GUI and not in a msgbox?

PS: when the scripts finds the value, it save this value on a file; this is the part of code:

FileWrite("C:\1\myfile.txt",$value )

MsgBox(1, "word to search", $value)

Link to comment
Share on other sites

  • Moderators

Well, I'm not a mind reader, have no idea what your GUI is (so the question is rather annoying really)... GUICtrlSetData() would be my answer then.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Well, I'm not a mind reader, have no idea what your GUI is (so the question is rather annoying really)... GUICtrlSetData() would be my answer then.

This is the code:

#include <GuiConstants.au3>
#include <Array.au3>
#include <GuiListView.au3>
#include <GuiTab.au3>

;GUI
GuiCreate("Programma di borsa", 1000, 700,0, 0 , _ 
$WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS )
GuiSetIcon(@SystemDir & "\notepad.exe", 0)

$filemenu = GuiCtrlCreateMenu("File")
$fileitem = GuiCtrlCreateMenuItem("Apri", $filemenu)
$fileitem2 = GuiCtrlCreateMenuItem("Salva", $filemenu)
$fileitem3 = GuiCtrlCreateMenuItem("Salva con nome", $filemenu)
$fileitem4 = GuiCtrlCreateMenuItem("Chiudi", $filemenu)
$fileitem5 = GuiCtrlCreateMenuItem("Esci", $filemenu)
$modificamenu = GuiCtrlCreateMenu("Modifica")
$modificaitem = GuiCtrlCreateMenuItem("Annulla", $modificamenu)
$modificaitem2 = GuiCtrlCreateMenuItem("Taglia", $modificamenu)
$modificaitem3 = GuiCtrlCreateMenuItem("Copia", $modificamenu)
$modificaitem4 = GuiCtrlCreateMenuItem("Incolla", $modificamenu)
$modificaitem5 = GuiCtrlCreateMenuItem("Seleziona tutto", $modificamenu)

$button1 = GuiCtrlCreateButton("1", 0, 0, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 5)
$button2 = GuiCtrlCreateButton("2", 0, 40, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 6)
$button3 = GuiCtrlCreateButton("2", 0, 80, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 2)
$button4 = GuiCtrlCreateButton("2", 0, 120, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 8)
$button5 = GuiCtrlCreateButton("2", 0, 160, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 1)
$button6 = GuiCtrlCreateButton("2", 0, 200, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 10)
$button7 = GuiCtrlCreateButton("2", 0, 240, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 11)
$button8 = GuiCtrlCreateButton("2", 0, 280, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 8)
$button9 = GuiCtrlCreateButton("2", 0, 320, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 2)
$button10 = GuiCtrlCreateButton("2", 0, 360, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 14)

GUICtrlCreateLabel("", 41, 0, 960, 700)
GUICtrlSetBkColor(-1, 0x000000)

GuiSetState()




While GuiGetMsg() 
$msg=GuiGetMsg()

Select
Case $msg = $GUI_EVENT_CLOSE or $msg = $fileitem5
        ExitLoop
        
Case $msg = $fileitem
FileOpenDialog("Apri file", @DesktopDir, "All (*.*)")

Case $msg = $button1
    $file2 = FileOpenDialog("Apri file", @DesktopDir, "All (*.*)")

EndSelect


Wend

If FileExists("C:\prova\") Then
    filedelete("C:\prova\*.txt")
    Real()
Else
    filedelete("C:\prova\*.txt")
    Real()
EndIf
Func Real()
    InetGet ( "http://www.borsaitalia.it/bitApp/scheda.bit?target=IndexDetail&isin=IS945&lang=it", "c:\prova\pagina.txt", 1)
$fil = FileRead("C:\prova\pagina.txt", 100000)
$cerca = StringInStr ( $fil, "Ultimo Valore:")
$parti = StringMid ( $fil, $cerca, 42); 
$valore = StringMid($parti, 31, 6)
FileWrite("C:\prova\ultimo.txt",$valore )
MsgBox(1, "Ultimo prezzo", $valore)
filedelete("C:\prova\pagina.txt")
EndFunc
Exit


; GUI MESSAGE LOOP
GuiSetState()
While GuiGetMsg() <> $GUI_EVENT_CLOSE
WEnd
Edited by polto
Link to comment
Share on other sites

  • Moderators

This is the code:

#include <GuiConstants.au3>
#include <Array.au3>
#include <GuiListView.au3>
#include <GuiTab.au3>

;GUI
GuiCreate("Programma di borsa", 1000, 700,0, 0 , _ 
$WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS )
GuiSetIcon(@SystemDir & "\notepad.exe", 0)

$filemenu = GuiCtrlCreateMenu("File")
$fileitem = GuiCtrlCreateMenuItem("Apri", $filemenu)
$fileitem2 = GuiCtrlCreateMenuItem("Salva", $filemenu)
$fileitem3 = GuiCtrlCreateMenuItem("Salva con nome", $filemenu)
$fileitem4 = GuiCtrlCreateMenuItem("Chiudi", $filemenu)
$fileitem5 = GuiCtrlCreateMenuItem("Esci", $filemenu)
$modificamenu = GuiCtrlCreateMenu("Modifica")
$modificaitem = GuiCtrlCreateMenuItem("Annulla", $modificamenu)
$modificaitem2 = GuiCtrlCreateMenuItem("Taglia", $modificamenu)
$modificaitem3 = GuiCtrlCreateMenuItem("Copia", $modificamenu)
$modificaitem4 = GuiCtrlCreateMenuItem("Incolla", $modificamenu)
$modificaitem5 = GuiCtrlCreateMenuItem("Seleziona tutto", $modificamenu)

$button1 = GuiCtrlCreateButton("1", 0, 0, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 5)
$button2 = GuiCtrlCreateButton("2", 0, 40, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 6)
$button3 = GuiCtrlCreateButton("2", 0, 80, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 2)
$button4 = GuiCtrlCreateButton("2", 0, 120, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 8)
$button5 = GuiCtrlCreateButton("2", 0, 160, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 1)
$button6 = GuiCtrlCreateButton("2", 0, 200, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 10)
$button7 = GuiCtrlCreateButton("2", 0, 240, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 11)
$button8 = GuiCtrlCreateButton("2", 0, 280, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 8)
$button9 = GuiCtrlCreateButton("2", 0, 320, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 2)
$button10 = GuiCtrlCreateButton("2", 0, 360, 40, 40, $BS_ICON)
GuiCtrlSetImage (-1, "shell32.dll", 14)

GUICtrlCreateLabel("", 41, 0, 960, 700)
GUICtrlSetBkColor(-1, 0x000000)

GuiSetState()
While GuiGetMsg() 
$msg=GuiGetMsg()

Select
Case $msg = $GUI_EVENT_CLOSE or $msg = $fileitem5
        ExitLoop
        
Case $msg = $fileitem
FileOpenDialog("Apri file", @DesktopDir, "All (*.*)")

Case $msg = $button1
    $file2 = FileOpenDialog("Apri file", @DesktopDir, "All (*.*)")

EndSelect
Wend

If FileExists("C:\prova\") Then
    filedelete("C:\prova\*.txt")
    Real()
Else
    filedelete("C:\prova\*.txt")
    Real()
EndIf
Func Real()
    InetGet ( "http://www.borsaitalia.it/bitApp/scheda.bit?target=IndexDetail&isin=IS945&lang=it", "c:\prova\pagina.txt", 1)
$fil = FileRead("C:\prova\pagina.txt", 100000)
$cerca = StringInStr ( $fil, "Ultimo Valore:")
$parti = StringMid ( $fil, $cerca, 42); 
$valore = StringMid($parti, 31, 6)
FileWrite("C:\prova\ultimo.txt",$valore )
MsgBox(1, "Ultimo prezzo", $valore)
filedelete("C:\prova\pagina.txt")
EndFunc
Exit
; GUI MESSAGE LOOP
GuiSetState()
While GuiGetMsg() <> $GUI_EVENT_CLOSE
WEnd
See, that's much easier...

1. I only glanced but this stuck out:

$fil = FileRead("C:\prova\pagina.txt", 100000)
Since your using Beta you only need
$fil = FileRead(@HomeDrive & "prova\pagina.txt")oÝ÷ Øëaz»aj{ajÒ+y©eʯzz"uæ°êÞÊ°j{m¢­¶¬wè®f­í«¢g¬{h¶Pë¢m7êö¥¢·¬ uæ§znµº1¶­Êjw!jxj̨»¬l»-²Ö­zg§¶+0«HßÙ ¢)àÂ+aêÞB¶¹RzÐÚµ¨Ê­ìاÚ&jGB"Ë^iÚÈ£az|¨ºwvÚ­æ­y©è¶«B"«¥êÚµçîËb¢yb쨺¯y©Ýq©eا¦Vz̲hÅ«­¢+Ø¥¹±Õ±ÐíÕ¥
½¹ÍѹÑ̹ÔÌÐì(¥¹±Õ±ÐíÉÉä¹ÔÌÐì(¥¹±Õ±ÐíÕ¥1¥ÍÑY¥Ü¹ÔÌÐì(¥¹±Õ±ÐíÕ¥Q¹ÔÌÐì((íU$)Õ¥
ÉÑ ÅÕ½ÐíAɽɵµ¤½ÉÍÅÕ½Ðì°ÄÀÀÀ°ÜÀÀ°À°À°|(ÀÌØí]M}=YI1AA]%9=¬ÀÌØí]M}Y%M%    1¬ÀÌØí]M}
1%AM%   1%9L¤)Õ¥MÑ%½¸¡MåÍѵ¥ÈµÀìÅÕ½ÐìÀäÈí¹½ÑÁ¹áÅÕ½Ðì°À¤((ÀÌØí¥±µ¹ÔôÕ¥
Ñɱ
ÉÑ5¹Ô ÅÕ½Ðí¥±ÅÕ½Ðì¤(ÀÌØí¥±¥Ñ´ôÕ¥
Ñɱ
ÉÑ5¹Õ%Ñ´ ÅÕ½ÐíÁɤÅÕ½Ðì°ÀÌØí¥±µ¹Ô¤(ÀÌØí¥±¥Ñ´ÈôÕ¥
Ñɱ
ÉÑ5¹Õ%Ñ´ ÅÕ½ÐíM±ÙÅÕ½Ðì°ÀÌØí¥±µ¹Ô¤(ÀÌØí¥±¥Ñ´ÌôÕ¥
Ñɱ
ÉÑ5¹Õ%Ñ´ ÅÕ½ÐíM±Ù½¸¹½µÅÕ½Ðì°ÀÌØí¥±µ¹Ô¤(ÀÌØí¥±¥Ñ´ÐôÕ¥
Ñɱ
ÉÑ5¹Õ%Ñ´ ÅÕ½Ðí
¡¥Õ¤ÅÕ½Ðì°ÀÌØí¥±µ¹Ô¤(ÀÌØí¥±¥Ñ´ÔôÕ¥
Ñɱ
ÉÑ5¹Õ%Ñ´ ÅÕ½ÐíͤÅÕ½Ðì°ÀÌØí¥±µ¹Ô¤(ÀÌØíµ½¥¥µ¹ÔôÕ¥
Ñɱ
ÉÑ5¹Ô ÅÕ½Ðí5½¥¥ÅÕ½Ðì¤(ÀÌØíµ½¥¥¥Ñ´ôÕ¥
Ñɱ
ÉÑ5¹Õ%Ñ´ ÅÕ½Ðí¹¹Õ±±ÅÕ½Ðì°ÀÌØíµ½¥¥µ¹Ô¤(ÀÌØíµ½¥¥¥Ñ´ÈôÕ¥
Ñɱ
ÉÑ5¹Õ%Ñ´ ÅÕ½ÐíQ±¥ÅÕ½Ðì°ÀÌØíµ½¥¥µ¹Ô¤(ÀÌØíµ½¥¥¥Ñ´ÌôÕ¥
Ñɱ
ÉÑ5¹Õ%Ñ´ ÅÕ½Ðí
½Á¥ÅÕ½Ðì°ÀÌØíµ½¥¥µ¹Ô¤(ÀÌØíµ½¥¥¥Ñ´ÐôÕ¥
Ñɱ
ÉÑ5¹Õ%Ñ´ ÅÕ½Ðí%¹½±±ÅÕ½Ðì°ÀÌØíµ½¥¥µ¹Ô¤(ÀÌØíµ½¥¥¥Ñ´ÔôÕ¥
Ñɱ
ÉÑ5¹Õ%Ñ´ ÅÕ½ÐíM±é¥½¹ÑÕÑѼÅÕ½Ðì°ÀÌØíµ½¥¥µ¹Ô¤((ÀÌØíÕÑѽ¸ÄôÕ¥
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½ÐìÄÅÕ½Ðì°À°À°ÐÀ°ÐÀ°ÀÌØí M}%
=8¤)Õ¥
ÑɱMÑ%µ ´Ä°ÅÕ½ÐíÍ¡±°Ìȹ±°ÅÕ½Ðì°Ô¤(ÀÌØíÕÑѽ¸ÈôÕ¥
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½ÐìÈÅÕ½Ðì°À°ÐÀ°ÐÀ°ÐÀ°ÀÌØí   M}%
=8¤)Õ¥
ÑɱMÑ%µ ´Ä°ÅÕ½ÐíÍ¡±°Ìȹ±°ÅÕ½Ðì°Ø¤(ÀÌØíÕÑѽ¸ÌôÕ¥
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½ÐìÈÅÕ½Ðì°À°àÀ°ÐÀ°ÐÀ°ÀÌØí   M}%
=8¤)Õ¥
ÑɱMÑ%µ ´Ä°ÅÕ½ÐíÍ¡±°Ìȹ±°ÅÕ½Ðì°È¤(ÀÌØíÕÑѽ¸ÐôÕ¥
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½ÐìÈÅÕ½Ðì°À°ÄÈÀ°ÐÀ°ÐÀ°ÀÌØí M}%
=8¤)Õ¥
ÑɱMÑ%µ ´Ä°ÅÕ½ÐíÍ¡±°Ìȹ±°ÅÕ½Ðì°à¤(ÀÌØíÕÑѽ¸ÔôÕ¥
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½ÐìÈÅÕ½Ðì°À°ÄØÀ°ÐÀ°ÐÀ°ÀÌØí M}%
=8¤)Õ¥
ÑɱMÑ%µ ´Ä°ÅÕ½ÐíÍ¡±°Ìȹ±°ÅÕ½Ðì°Ä¤(ÀÌØíÕÑѽ¸ØôÕ¥
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½ÐìÈÅÕ½Ðì°À°ÈÀÀ°ÐÀ°ÐÀ°ÀÌØí M}%
=8¤)Õ¥
ÑɱMÑ%µ ´Ä°ÅÕ½ÐíÍ¡±°Ìȹ±°ÅÕ½Ðì°ÄÀ¤(ÀÌØíÕÑѽ¸ÜôÕ¥
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½ÐìÈÅÕ½Ðì°À°ÈÐÀ°ÐÀ°ÐÀ°ÀÌØí M}%
=8¤)Õ¥
ÑɱMÑ%µ ´Ä°ÅÕ½ÐíÍ¡±°Ìȹ±°ÅÕ½Ðì°ÄĤ(ÀÌØíÕÑѽ¸àôÕ¥
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½ÐìÈÅÕ½Ðì°À°ÈàÀ°ÐÀ°ÐÀ°ÀÌØí M}%
=8¤)Õ¥
ÑɱMÑ%µ ´Ä°ÅÕ½ÐíÍ¡±°Ìȹ±°ÅÕ½Ðì°à¤(ÀÌØíÕÑѽ¸äôÕ¥
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½ÐìÈÅÕ½Ðì°À°ÌÈÀ°ÐÀ°ÐÀ°ÀÌØí M}%
=8¤)Õ¥
ÑɱMÑ%µ ´Ä°ÅÕ½ÐíÍ¡±°Ìȹ±°ÅÕ½Ðì°È¤(ÀÌØíÕÑѽ¸ÄÀôÕ¥
Ñɱ
ÉÑ    ÕÑѽ¸ ÅÕ½ÐìÈÅÕ½Ðì°À°ÌØÀ°ÐÀ°ÐÀ°ÀÌØí M}%
=8¤)Õ¥
ÑɱMÑ%µ ´Ä°ÅÕ½ÐíÍ¡±°Ìȹ±°ÅÕ½Ðì°ÄФ()U%
Ñɱ
ÉÑ1° ÅÕ½ÐìÅÕ½Ðì°ÐÄ°À°äØÀ°ÜÀÀ¤)U%
ÑɱMÑ   ­
½±½È ´Ä°ÁàÀÀÀÀÀÀ¤(ÀÌØí¥¹ÁÕÐôU%
Ñɱ
ÉÑ%¹ÁÕÐ ÌäìÌäì°ÔÀ°ÄÀ°ÄÀÀ°ÈÀ¤()Õ¥MÑMÑÑ ¤)]¡¥±Ä(ÀÌØíµÍõÕ¥Ñ5Í ¤()M±Ð)
ÍÀÌØíµÍôÀÌØíU%}Y9Q}
1=M½ÈÀÌØíµÍôÀÌØí¥±¥Ñ´Ô($%á¥Ñ1½½À($$)
ÍÀÌØíµÍôÀÌØí¥±¥Ñ´)¥±=Á¹¥±½ ÅÕ½ÐíÁɤ¥±ÅÕ½Ðì°Í­Ñ½Á¥È°ÅÕ½Ðí±° ¨¸¨¤ÅÕ½Ðì¤()
ÍÀÌØíµÍôÀÌØíÕÑѽ¸Ä($ÀÌØí¥±Èô¥±=Á¹¥±½ ÅÕ½ÐíÁɤ¥±ÅÕ½Ðì°Í­Ñ½Á¥È°ÅÕ½Ðí±° ¨¸¨¤ÅÕ½Ðì¤()¹M±Ð)]¹()%¥±á¥ÍÑÌ¡!½µÉ¥ÙµÀìÅÕ½ÐìÀäÈíÁɽÙÀäÈìÅÕ½Ðì¤Q¡¸(%¥±±Ñ¡!½µÉ¥ÙµÀìÅÕ½ÐìÀäÈíÁɽÙÀäÈ쨹ÑáÐÅÕ½Ðì¤(%I° ¤)±Í(%¥±±Ñ¡!½µÉ¥ÙµÀìÅÕ½ÐìÀäÈíÁɽÙÀäÈ쨹ÑáÐÅÕ½Ðì¤(%I° ¤)¹%)Õ¹I° ¤(%%¹ÑÐ ÅÕ½Ðí¡ÑÑÀè¼½ÝÝܹ½Éͥѱ¥¹¥Ð½¥ÑÁÀ½Í¡¹¥ÐýÑÉÐõ%¹áÑ¥°µÀí¥Í¥¸õ%LäÐÔµÀí±¹õ¥ÐÅÕ½Ðì°!½µÉ¥ÙµÀìÅÕ½ÐìÀäÈíÁɽÙÀäÈíÁ¥¹¹ÑáÐÅÕ½Ðì°Ä¤(ÀÌØí¥°ô¥±I¡!½µÉ¥ÙµÀìÅÕ½ÐìÀäÈíÁɽÙÀäÈíÁ¥¹¹ÑáÐÅÕ½Ðì¤(ÀÌØíÉôMÑÉ¥¹%¹MÑÈ ÀÌØí¥°°ÅÕ½ÐíU±Ñ¥µ¼Y±½ÉèÅÕ½Ðì¤(ÀÌØíÁÉѤôMÑÉ¥¹5¥ ÀÌØí¥°°ÀÌØíÉ°ÐȤì(ÀÌØíÙ±½ÉôMÑÉ¥¹5¥ ÀÌØíÁÉѤ°Ìİؤ)¥±]ɥѡ!½µÉ¥ÙµÀìÅÕ½ÐìÀäÈíÁɽÙÀäÈíձѥµ¼¹ÑáÐÅÕ½Ðì°ÀÌØíÙ±½É¤)U%
ÑɱMÑÑ ÀÌØí¥¹ÁÕаÀÌØíÙ±½É¤í5Í ½à Ä°ÅÕ½ÐíU±Ñ¥µ¼ÁÉéé¼ÅÕ½Ðì°ÀÌØíÙ±½É¤)¥±±Ñ¡!½µÉ¥ÙµÀìÅÕ½ÐìÀäÈíÁɽÙÀäÈíÁ¥¹¹ÑáÐÅÕ½Ðì¤)¹Õ¹
I didn't change anything other than instead of hard coding the "C:" drive I put @HomeDrive since you were already using @DeskTopDir.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Now it give me this error:

Line 12 (File "C:\Documents and Settings\Proprietario\Desktop\file.au3

GuiCreate("Programma di borsa", 1000, 700, 0, 0,

GuiCreate ("Programma di borsa", 1000, 700, 0, 0^ERROR

Error: Error parsing function call.

I have not change nothing..Why this error?

Other thing..I don't understand what I have to do whit $input...Can you make an example? :">

Edited by polto
Link to comment
Share on other sites

  • Moderators

Now it give me this error:

Line 12 (File "C:\Documents and Settings\Proprietario\Desktop\file.au3

GuiCreate("Programma di borsa", 1000, 700, 0, 0,

GuiCreate ("Programma di borsa", 1000, 700, 0, 0^ERROR

Error: Error parsing function call.

I have not change nothing..Why this error?

You probably copied it wrong, or something, your missing the underscore there "_".

Edit:

Weird that says line 12, that's line 7 off of what you sent me.

Edit2:

You might want to copy that out of FireFox rather than IE.

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Other thing..I don't understand what I have to do whit $input...Can you make an example? :">

Solved...but now the errore became:

Line 86 (File "C:\Documents and Setting........................)

GuiCtrlSetData($input, $valore)

GuiCtrlSetData(^ERROR

Error: Variable used without being declared.

If I understand, this error is present because I used the variable $input, without declare it before. Your "$input" was probably a general example...but I understand what I have to put in that part of code.. :">

Edited by polto
Link to comment
Share on other sites

Add a space before the underscore...

Sorry, ignore that... I don't know what I was looking at...

Dale

Edited by DaleHohm

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

  • Moderators

If I understand, this error is present because I used the variable $input, without declare it before. Your "$input" was probably a general example...but I understand what I have to put in that part of code.. :">

So, I'll assume you understood by that statement and were able to make the proper adjustments? If so, good deal.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...