spy686 сказал(а):как вот такой код:
Код:ShellExecute('http://klout.com/logout') Sleep(1000) ShellExecute('https://twitter.com') Sleep(1000)
заставить работать в FF, а не в браузере по умолчанию Google Chrome ?
#Include <FF.au3>
If _FFConnect() Then
_FFOpenURL("https://by.e-konsulat.gov.pl/default.aspx")
_FFLoadWait()
_FFFormOptionSelect("ctl00_tresc_cbListaPlacowek", "id", "1", "index")
Else
MsgBox(64,"Error","Can't connect to FireFox")
EndIf
Send("{F5}")
#Include <FF.au3>
_FFStart ()
__FFStartProcess ==> General Error: Error reading registry entry for FireFox.
HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\*CurrentVersion*\Main\PathToExe
Error from RegRead: 1
+>12:57:46 AutoIT3.exe ended.rc:0
>Exit code: 0 Time: 2.12
FF.au3 (3907) : ==> Missing separator character after keyword.:
Return StringRegExp($IP, $sStart & '(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])' & $sEnd) Or_
Return StringRegExp($IP, $sStart & '(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])' & $sEnd) Or_^ ERROR
->01:09:55 AutoIT3.exe ended.rc:1
>Exit code: 1 Time: 4.393
#Include <FF.au3>
_FFStart("http://ff-au3-example.thorsten-willert.de/")
msgbox(0,"","")