Jump to content

maximusgoliath

Members
  • Content Count

    5
  • Joined

  • Last visited

About maximusgoliath

  • Rank
    Newbie
  1. Any Idea why it's not working? macOS 10.13.5, German MacBook-Pro:~ Maximus$ hi=0; ho=$(date '+%H%M'); while test $hi == '0'; do if { $ho == 1 }; then osascript -e "set Volume 9" && open "https://www.youtube.com/watch?v=dQw4w9WgXcQ" ; hi=1; fi; ho=$(date '+%H%M'); sleep 1; done & disown -bash: syntax error near unexpected token `then' Added Language Setting to the Script: ATTACKMODE HID VID_0X05AC PID_0X021E DUCKY_LANG de time=1 LED R 200 Q GUI SPACE Q DELAY 200 Q STRING terminal Q DELAY 100 Q ENTER Q DELAY 1000 Q GUI n Q DELAY 1000 Q STRING hi=0\; ho=\$\(date \'+%H%M\'\)\; while test \$hi == \'0\'\; do if [ \$ho == $time ]\; then osascript -e \"set Volume 9\" \&\& open \"https://www.youtube.com/watch?v=dQw4w9WgXcQ\" \; hi=1\; fi\; ho=\$\(date \'+%H%M\'\)\; sleep 1\; done \& disown # close up shop Q DELAY 1000 Q ENTER Q GUI W Q ENTER LED G Kind Regards
×
×
  • Create New...