-
Posts
5,125 -
Joined
-
Last visited
-
Days Won
10
FireFox last won the day on September 11 2013
FireFox had the most liked content!
About FireFox
- Birthday 08/27/1993
Profile Information
-
Member Title
It slips through our fingers, like a fist full of sand.
-
Location
Paris, France
-
Interests
Programming (web oriented), Nature
Recent Profile Visitors
2,731 profile views
FireFox's Achievements
-
VAN0 reacted to a post in a topic: How to completely disable minimize and maximize windows?
-
Parsix reacted to a post in a topic: IP Camera stream + record
-
Professor_Bernd reacted to a post in a topic: divide numbers
-
trajtemberg reacted to a post in a topic: IP Camera stream + record
-
VinMe reacted to a post in a topic: Excel XML UDF v1.-1 [UPDATE 19/10/2012]
-
somebadhat reacted to a post in a topic: exit script after a specified time
-
yutijang reacted to a post in a topic: No Context Menu on Header of ListView
-
FireFox reacted to a post in a topic: WebDriver UDF - Help & Support (III)
-
Aelc reacted to a post in a topic: ~ Insert a point in a $ES_NUMBER Input control? (SOLVED)
-
Earthshine reacted to a post in a topic: VLC Media Player
-
ShakeelAhmad reacted to a post in a topic: Filling text input fields in firefox
-
Hi, No unfortunately I've dropped the project. But if anyone knows how to deal with websocket it would be appreciated since I could also use it with the ChromeCast. Now there's a Chrome UDF which I think does the job. Br, FireFox.
-
Updated advanced example, the stream wasn't displaying on GUI, maybe due to a new autoit version.
-
Hi, Try this : #include <MsgBoxConstants.au3> #include <String.au3> Local $num1 = 5.6 Local $num2 = 0 Do Local $Answer = ($num1 / (10 ^ $num2)) $i = StringInStr($Answer, "e", 2) If ($i > 0) Then $Answer = "0." & _StringRepeat("0", Number(StringRight($Answer, 3))-1) & StringReplace(StringTrimRight($Answer, 5), ".", "") EndIf MsgBox($MB_SYSTEMMODAL, "", "The new number is " & $Answer) $num2 = $num2 + 1 Until $num2 = 9 Note that it doesn't support negative numbers, but it's not hard to change the code for it. Br, FireFox.
-
If the window is minimized, you can get its normal position coords with the following : $tRET = _WinAPI_GetWindowPlacement($hWhd) DllStructGetData($tRET, "rcNormalPosition", 1) ;left DllStructGetData($tRET, "rcNormalPosition", 2) ;top DllStructGetData($tRET, "rcNormalPosition", 3) ;right DllStructGetData($tRET, "rcNormalPosition", 4) ;bottom So basically, in your For loop, after the IsVisible function, check if the window is minimized and if it's the case, use the GetWindowPlacement instead of the WinGetPos function.Don't forget that to get the width it's "right-left" and the height it's "top-bottom". Br, FireFox
-
Help needed in SAP UDF _SAPObjValueSet
FireFox replied to sagarphirke's topic in AutoIt General Help and Support
Hi, I'm not familiar with this UDF, but I know that autoit doesn't support string interpolation. Just pass the variable directly instead of enclosing it with quotes. _SAPObjValueSet("usr/txtTERMSCHL-LOW", $sCellValue) Br, FireFox. -
This program is long and complex. <3
FireFox replied to Sori's topic in AutoIt General Help and Support
Hi, Please see the comments : ; assuming $logFile already contains a file handle FileClose($logFile) ; closes the handle FileDelete($logFile) ; that's where the problem is: first of all you are using a closed handle, and secondly the FileDelete function only takes a file path Br, FireFox. -
Hi, InetGet needs a correct url, try this instead : $hDownload = InetGet("http://IP:PORT/snapshot.cgi?rate=0&user=myusername&pwd=mypassword&next_url=tempsnapshot.jpg&count=7", $tempFileName, $INET_FORCERELOAD) Don't forget to replace the IP/PORT etc. I'm wondering what is the "count" parameter for. Br, FireFox.
-
_FileReadToArray is maybe what you're looking for. Btw, I can see a syntax error in the "Recent Files" line, that would be cool if you could post at least a working code.
-
Hi, Looking at the helpfile example will tell you how to create submenus. Put your "map names" into an array and loop through this array to create the submenus. Br, FireFox.