Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/17/2012 in all areas

  1. OK! See a simple example of using the binary return (without writing the file in HDD) BinarySoundTest.zip The same can be done with images, use your imagination Regards, João Carlos.
    1 point
  2. @ guinness I know not all the functions and commands. Until now I always used to put GUICtrlSendMsg after an action, the Description field. The set color is valid only for the message to the input field. When you click in the Texfeld for input, get out of the description and the text entry box is empty. That was the question here. EM_SETCUEBANNER I did not know yet. Thank you, I'm going to test my scripts.
    1 point
  3. I confess I always question why Random($n, $n, 1) fails to return $n. Mostly since, YES, there exists one (unique) integer between 10 and 10. Mathematically speaking, [10, 10] = {10} As Warpi says, it's trivial to test for equality of bounds and code accordingly, but fixing Random to behave logically would be preferable in my view to making the help file clearer on this point, and that won't break any script.
    1 point
  4. You can put the list into an Array: Sites.txt: http://www.yahoo.com http://www.bing.com http://www.google.com #include <file.au3> Dim $aSite If Not _FileReadToArray("Sites.txt",$aSite) Then MsgBox(4096,"Error", " Error reading file to Array error:" & @error) Exit EndIf $x = Random(1, $aSite[0], 1) ShellExecute($aSite[$x]) ; Msgbox(0,'Random Site', $aSite[$x])
    1 point
  5. For fuck's sake use Google. The very first Google result for LNK1120 takes you to MSDN which directs you to LNK2001. You were given both of those errors. USE THEM, THAT'S WHY THEY ARE THERE. Look them up. Learn what they mean and how to fix them. You don't need to ask us. THIS IS DOCUMENTED.
    1 point
  6. Valik

    Possible to code in linux?

    I write Python code in SciTE. :: shrugs ::
    1 point
  7. Those aren't Linux specific.
    1 point
  8. There are Linux versions: Python. Perl. Ruby.
    1 point
  9. Ontosy, $a=InputBox("aaa","bbb","ccc", "*", 200, 120, Default, Default, 60) M23
    1 point
  10. #include <GuiConstants.au3> GuiCreate("MyGUI", 392, 316,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Radio_1 = GuiCtrlCreateRadio("Radio1", 30, 40, 160, 40) $Radio_2 = GuiCtrlCreateRadio("Radio2", 30, 100, 160, 40) $Radio_3 = GuiCtrlCreateRadio("Radio3", 30, 170, 160, 40) GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Radio_1 MsgBox (0,"Checked", "Radio button 1") Case $msg = $Radio_2 MsgBox (0,"Checked", "Radio button 2") Case $msg = $Radio_3 MsgBox (0,"Checked", "Radio button 3") Case Else ;;; EndSelect WEnd Exit
    1 point
×
×
  • Create New...