Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/05/2020 in all areas

  1. Moved to the appropriate forum, as the Developer General Discussion forum very clearly states: Moderation Team
    1 point
  2. Hi, Just looking at the tokens I don't know if having only one token for [ and ] for example will not make the use of the token more complicated. more why not have a token for Integer different from the float (ex 1.2e+4) more how do you plan to support unicode Good luck for the next steps
    1 point
  3. oh my god thank you, i wished i knew that yesterday. I appreciated the help.
    1 point
  4. The Tools menu is built dynamically based on the extension of the file you are editing. Open an .au3 file in the editor and then look to see what tools are available.
    1 point
  5. you need to have $STDOUT_CHILD + $STDIN_CHILD + $STDERR_CHILD in your run function...
    1 point
  6. Yes I used StdInWrite($iPID, "Q" & @CRLF) but nothing Example: Local $cmd = "" $cmd_string = "ffmpeg -f gdigrab -i desktop -framerate 10 -vcodec libx264 YOUR_NAME_HERE.mp4" Local $iPID = Run($cmd_string, @ScriptDir, @SW_HIDE, $STDOUT_CHILD) Local $max = 100000 Local $count = 0 While ProcessExists ( $iPID ) $sStderrRead = StderrRead ( $iPID ) If Not @error And $sStderrRead <> '' Then ConsoleWrite ( "! STDERR read : " & $sStderrRead & @Crlf ) EndIf $sStdoutRead = StdoutRead ( $iPID ) If Not @error And $sStdoutRead <> '' Then $sOutput &= $sStdoutRead ConsoleWrite ( "+ STDOUT read : " & $sStdoutRead & @Crlf ) EndIf $count += 1 If $count > $max Then ConsoleWrite ( "+ $count > $max: " & @Crlf ) StdInWrite($iPID, "Q" & @CRLF) EndIf Wend
    1 point
  7. I've revisited and modified a bit this funny toy. Added some ANSI color renditions (4, 8, 24 bit colors allowed), Added possibility to print big letters using Figlet-Fonts, and also added a script that allows you to quickly 'grab' ascii-arts, (copied from a web page for example) and past into your script in the form of a variable so that can be easily printed on the 'terminal'. (still presence of some flaws) The new stuff is in the vdt folder (I will port asap also the example from the first post to this zip) hope you have fun and ... happy new year everybody! vdt.zip
    1 point
  8. I made a HotKeySet() Example (I was bored ^^) Source: #comments-start Made by: AlmarM Example Script for: HotKeySet() Hope u enjoy ^^ #comments-end $Site_1 = InputBox("Site 1", "Witch site you want to bind on SHIFT + 1 ?") $Site_2 = InputBox("Site 2", "Witch site you want to bind on SHIFT + 2 ?") $Site_3 = InputBox("Site 3", "Witch site you want to bind on SHIFT + 3 ?") $Site_4 = InputBox("Site 4", "Witch site you want to bind on SHIFT + 4 ?") $Site_5 = InputBox("Site 5", "Witch site you want to bind on SHIFT + 5 ?") HotKeySet("{ESC}", "_Exit") ;If you press ESC the script will stop HotKeySet("+{F1}", "_ShowSite") ;If you press SHIFT + F1, the script will show witch sites you have on witch keys HotKeySet("+1", "_Site1") ;If you press SHIFT + 1, the script activates _Site1() HotKeySet("+2", "_Site2") ;If you press SHIFT + 2, the script activates _Site2() HotKeySet("+3", "_Site3") ;If you press SHIFT + 3, the script activates _Site3() HotKeySet("+4", "_Site4") ;If you press SHIFT + 4, the script activates _Site4() HotKeySet("+5", "_Site5") ;If you press SHIFT + 5, the script activates _Site5() While 1 Sleep(100) WEnd Func _Exit() Sleep(100) Exit EndFunc ;==> _Exit() Func _ShowSite() TrayTip("Sites:", "SHIFT + 1: " & $Site_1 & @CRLF & "SHIFT + 2: " & $Site_2 & @CRLF & "SHIFT + 3: " & $Site_3 & @CRLF & "SHIFT + 4: " & $Site_4 & @CRLF & "SHIFT + 5: " & $Site_5, 5) EndFunc ;==> _ShowSite() Func _Site1() Run("cmd /c start " & $Site_1, "", @SW_HIDE) EndFunc ;==> _Site1 Func _Site2() Run("cmd /c start " & $Site_2, "", @SW_HIDE) EndFunc ;==> _Site2 Func _Site3() Run("cmd /c start " & $Site_3, "", @SW_HIDE) EndFunc ;==> _Site3 Func _Site4() Run("cmd /c start " & $Site_4, "", @SW_HIDE) EndFunc ;==> _Site4 Func _Site5() Run("cmd /c start " & $Site_5, "", @SW_HIDE) EndFunc ;==> _Site5
    1 point
×
×
  • Create New...