
Rickname
Active Members-
Posts
100 -
Joined
-
Last visited
Everything posted by Rickname
-
Since I don't know Java (yet:) ) I don't know the command to enable/disable an addon, but the idea is this : send a javascript command to mozrepl to do it via _FFCmd
-
Yea I have tried the function without calling __FFSetTopDocument and it works with no difference ! Also I have tried alone the __FFSetTopDocument function on a visible down-scrolled webpage, and absolutely no effect it has ! It doesn't scroll the page up to the top. Thats why I was asking here about it, since I see its so useless..lol
-
Hey, thanks for replying I saw it is an internal function, but I dont understand what it does more exactly, why is it needed there ? For example in the _FFLoadWait function : Func _FFLoadWait($iTimeOut = $_FF_LOADWAIT_TIMEOUT, $bStop = $_FF_LOADWAIT_STOP) Local Const $sFuncName = "_FFLoadWait" Local $iLoadingTime = 0 If $iTimeOut < 1000 Then $iTimeOut = 1000 Local $bTrace = $_FF_COM_TRACE $_FF_COM_TRACE = False If Not $_FF_COM_TRACE Then ConsoleWrite("_FFLoadWait: ") Local $TimeOutTimer = TimerInit() While TimerDiff($TimeOutTimer) < $iTimeOut If Not $_FF_COM_TRACE Then ConsoleWrite(".") If _FFCmd("FFau3.tmp=window.getBrowser().webProgress;FFau3.tmp.isLoadingDocument && FFau3.tmp.busyFlags ? false: true;") Then $iLoadingTime = Round(TimerDiff($TimeOutTimer)) ConsoleWrite(" loaded in " & $iLoadingTime & "ms" & @CRLF) Sleep($_FF_CON_DELAY * 1.4) __FFSetTopDocument() $_FF_COM_TRACE = $bTrace Return SetError(0, $iLoadingTime - $_FF_CON_DELAY * 1.4, 1) EndIf Sleep(250) WEnd If $bStop Then _FFAction("stop") __FFSetTopDocument() $_FF_COM_TRACE = $bTrace ConsoleWrite(@CRLF & @CRLF) Return SetError(__FFError($sFuncName, $_FF_ERROR_Timeout, "Can not check site status."), $iLoadingTime, 0) EndFunc ;==>_FFLoadWait Im asking because I import line of code by line of code those functions in my program and I want to be as less complicated, practical, and small as possible, so I want to get rid of those useless calls of this __FFSetTopDocument() function, but Im not sure if is it vital or not >.< Thanks in advance !
-
Does anybody knows what this function does ?? : __FFSetTopDocument() I have seen it appearing many times in the FF.au3 UDF >.< and has no visual effect when run !
-
How to Find if Link is HTTP or other protocol ?
Rickname replied to Rickname's topic in AutoIt General Help and Support
Ok my mistake if I wasn't explicit enough -
How to Find if Link is HTTP or other protocol ?
Rickname replied to Rickname's topic in AutoIt General Help and Support
Ok so I open hidden IE window running the stub link, and I will read the address bar with the AutoIt methods... seems it would do the job.. But I can't also find if its http or https from the source code of the page ? -
How to Find if Link is HTTP or other protocol ?
Rickname replied to Rickname's topic in AutoIt General Help and Support
This method doesn't work as I said, if you try this example, I mean with the "autoitscript.com" link, this link WON'T APPEAR in the listed links ! So even if I search for it, it will find nothing ! : ; Open browser with basic example, get link collection, ; loop through items and display the associated link URL references #include <IE.au3> #include <MsgBoxConstants.au3> Local $oIE = _IECreate( "autoitscript.com" ) Local $oLinks = _IELinkGetCollection($oIE) Local $iNumLinks = @extended Local $sTxt = $iNumLinks & " links found" & @CRLF & @CRLF For $oLink In $oLinks $sTxt &= $oLink.href & @CRLF Next MsgBox($MB_SYSTEMMODAL, "Link Info", $sTxt) -
How to Find if Link is HTTP or other protocol ?
Rickname replied to Rickname's topic in AutoIt General Help and Support
Omg dude, Ive said I don't have the FULL link, only the stub of it ! If I would had the FULL link ofcourse I wouldn't ask this, pls read carefully -
How to Find if Link is HTTP or other protocol ?
Rickname replied to Rickname's topic in AutoIt General Help and Support
Yes, but this gives all the links which some are HTTP and others are HTTPS. How can I find the state for my specific link ? -
So lets say I have the link : "autoitscript.com/forum/" How can I find if its HTTP or HTTPS secured or maybe other protocol ? I would prefer via the _IE UDFs if possible... Thanks in advance !
-
Theres no special function in the UDF to do this, but I think you can command Firefox to do this via the _FFCmd() function. But since I don't know Javascript language, I don't know whats the command to make the browser to disable/enable/install/remove the addon. Sure someone will know !
-
Exactly. I had this problem like since long time ago, and I see noone fixed it >.< I will try to fix the function myself and post it here if I resolve something...
-
Well _FFStart returns only the PID of the process who has the new window. I can do a thing to find the handle by listing all the associated windows of the process by PID, but Im not sure if this will work when the window is started hidden... Good luck at your office tho
-
I have tried, it works but if I start the window hidden or without being activated, it results in 0 Im wondering if you have the same problem. Have you tried it ? Is it showing in the Console the handle of the opened window ?
-
Yes I tested it now and its returning 0 for me but the browser window appears and is working well but it doesn't retrieveing the handle o.O Anyways if its a problem only for me but it works good for the others... I will investigate further...
-
The problem with the private Window I have resolved. But the function _FFWindowOpen still doesn't returns the Handle of the opened window. Just 0x000000 #include "FF.au3" _FFConnect(default,Default,6000) _FFWindowOpen("http://www.youtube.com", True, True)
-
I can't retrieve the Handle of the window ive opened with the _FFWindowOpen function. The function works, the window starts, but everytime in console it says : What can I do ?
-
How to get the Description of a website ?
Rickname replied to Rickname's topic in AutoIt General Help and Support
It was a Facebook link, like the link of someones profile, but I observed that its something strange with facebook links, the description appears translated in my foreign country language in the HTML source no matter what, even in the browsers, but when I view the page, the Description appears displayed on the page in english lol ( when Im not logged into Facebook ). But for other websites I discovered it works Unicode EDIT : Ok this problem WAS ONLY with the first method The method with _IE works flawlessly even with Facebook or anything ! Thankyou a million times dude ! And to the others who still tried to help me I will mark the above resolvation as the best one Thanks ! -
I will post the source code showing the problem, but is a well know problem of AutoIt this thing, I will post the source code showing it after I will be back from work !
-
Please fix the problem with the Listviews -> the problem when it can't display the icons for every item in the Listview !!
-
How to get the Description of a website ?
Rickname posted a topic in AutoIt General Help and Support
How can via AutoIt get the Description of a link ? I know how to retrieve the Title of a website, but I can't find in any way how to retrieve the Description data Could I accomplish this via the _FF.au3 UDF for Firefox ? Could I accoumplish this via any _IE UDF from the Help File ? Pls help me -
Is AutoIt compatible with Windows 8.1 ?
Rickname replied to Rickname's topic in AutoIt General Help and Support
Oke, thanks But why don't you update the Documentation page. many people can get confused with this- 3 replies
-
- windows
- windows 8.1
-
(and 2 more)
Tagged with:
-
I want to switch from Windows 7 to Windows 8.1 ( x86 ) but I still want to code in AutoIt. Now I saw in the Description file that is only compatible upto Windows 7, but will it work also on 8 ? And yes Im referring to the latest Autoit version available !
- 3 replies
-
- windows
- windows 8.1
-
(and 2 more)
Tagged with:
-
How to add a value in a cell in Excel ?
Rickname replied to Rickname's topic in AutoIt General Help and Support
Ok sry coz I posted this, I managed to find finally So here it is the func : _Excel_RangeWrite ! -
I saw in the Help File, the UDF for managing Excel 2013 and on Windows 7, but I can't manage how can I add silently a specific value in a specific cell in a specific Excel file Pls help me And yes I updated to the last version of Autoit...