Jump to content

YoseMite

Active Members
  • Posts

    163
  • Joined

  • Last visited

Profile Information

  • Location
    The Netherlands

YoseMite's Achievements

Prodigy

Prodigy (4/7)

0

Reputation

  1. Ah big thanks! Just what I looking for.. Great!
  2. Hello, I would like to use the function _IEFormElementRadioSelect() to set the radio values settings. This method is working fine. The get my radio buttons I use this method: $oForm = _IEFormGetObjByName ($oIE, "myFormName"); But now I have the problem, the form does not have a form name! Only class and id parameters. <form class="autologin" id=7> Anyone an idea how the find a form without a name? Thanks!
  3. Hi, I would like to write a system that receives some *.html information and view specific information Example: I download the following file: <html> <head></head> <body> <hr> <b>This is important information</b> </body> </html> Now I use the AutoIT function to read this information, I would like to use the text: "This is important information" How can I search between <b></b> ? If there are more <b></b> tags I would also use them. Thanks! Greetings, YoseMite
  4. Hi! I'm currently working on a project to check the hardware of pc components. Like if the processor has no error, no RAM errors, HDDD check, ... I'f seen many info tools (These are quit good!) But I'm looking for a check function. Is this possible in AutoIT? Or how write I them... Thanks, YoseMite
  5. Hey, For my company I have wrote several project with AutoIT with succes! :-) Only tomorrow I will start with a project but I don't know if it is possible in AutoItscript... My question: I would write a program where I can give some parameters with my ms-dos prompt. (Example: test.exe -start -e -a) Then the program will output some text in the prompt/consule. Is this possible to make this in AutoIT? So not GUI based. Hope you can get my question. Many Thanks! Greetz, YoseMite
  6. Thanks, looks very useful.... I feel a RSS UDF coming ? :-)
  7. Thank you for your script, its interesting and amazing! -I like very the Fade function that you have build in... Can you give me some (small) example how the Fade function exactly works with AutoIT? - I'd look into your code but I can't find them. Thank anyway... Keep on going the good work!
  8. Cool menu, how did you script this? - Are they any progams for? Greetz, YoseMite
  9. This is exactly what I mean! Thank you, it works great! I get some error: Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded.
  10. Hi! I'm working on a subtitle tool so that you easy can synchronise subtitles. The 'problem' is that the subtitle file has a start-stop time. Here's a sample: 1 00:00:33,810 --> 00:00:37,210 This a subtitle 2 00:00:37,811 --> 00:00:41,211 Subtitle2 3 00:00:44,712 --> 00:00:48,212 Another subtitle... Now I would get the start and the end time. But how can I get only the start and end time? I made a sample: While 1 $line = FileReadLine($file) If @error = -1 Then ExitLoop $start = StringLeft($line, 12) $stop = StringRight($line, 12) MsgBox(0, "Start time:", $var) MsgBox(0, "End time:", $var2) Wend The problem is that he also read the other chars. (-->, 1, 2, 3, This a subtitle, Subtitle2, Another subtitle...), ) I hope that you can help me!
  11. Echt TOP dat je het wilt vertalen! Zullen heel veel gebruikers waarderen! Bedankt & succes ermee! P.S Prettige feestdagen
  12. Please, SEARCH before you open a topic! And if you want open a new topic, do it in the correct forum!
  13. Please, read the helpfile! Before you open a topic, specially at the v3 Developers forum! You can call a C++ compiled program with the function Run("cpp_file.exe"). Or with the dllcall() for DLL extensions.
  14. Hi! I'm working on a script that shows how many hours/minutes/secs I'm working on the computer. This works perfect, but now I want save every 5 min to a text file to get the total hours. The problem is that the first 5min work, but then I can't get it work. The timer must save it to 10min but he doesn't do that. Here is the script: #include <GUIConstants.au3> #include <Date.au3> Global $Secs, $Mins, $Hour, $Time ;Create GUI GUICreate("Timer",200, 200) GUICtrlCreateLabel("00:00:00", 10,10) GUISetState() ;Start timer $timer = TimerInit() AdlibEnable("Timer", 50) $StartTicks = _TimeToTicks("00:00:00") While 1 $msg = GUIGetMsg() ;If time is 1 sec -> next time 5 min if ($Time = "00:00:01") Then ;Set time to 5 min $EndTicks = $StartTicks + 5 * 60 * 1000 _TicksToTime($EndTicks,$Hour,$Mins,$Secs) $next = "0" & $Hour & ":0" & $Mins & ":0" & $Secs ;If time is 5min -> show message msgbox(0,"Next time",$next) ;Filewrite now 5 minutes to a txt file ;If time is 10min -> save time EndIf ;FileWriteLine("debug.log",@min & ":" & @sec & " ==> after") Select Case $msg = $GUI_EVENT_CLOSE ;Show the total time of the program msgbox(64,"Total time of this session:",$Time) Exit EndSelect Wend ;Function timer Func Timer() _TicksToTime(Int(TimerDiff($timer)), $Hour, $Mins, $Secs ) Local $sTime = $Time ; save current time to be able to test and avoid flicker.. $Time = StringFormat("%02i:%02i:%02i", $Hour, $Mins, $Secs) If $sTime <> $Time Then ControlSetText("Timer", "", "Static1", $Time) EndFunc ;==>Timer I removed the part that must to +5min because that always sucks. Can anyone please help me? Thanks! YoseMite
×
×
  • Create New...