Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
3 deleted 59 characters in body
source | link

You can wrap the raw AppleScript in <<EOD... The last EOD signalling the end of input has to come at the first position in the line.

(BTW, your applescript seemed to be missing an end tell after activate....)

#!/bin/bash
echo
echo "Google Chrome is now open in Kiosk Mode"
osascript <<EOD
  tell application "Google Chrome"
      activate
  end tell
  tell application "System Events"
      key down {command}
      key down {shift}
      keystroke "f"
      key up {shift}
      key up {command}
  end tell
EOD

echo "Google Chrome is now open in Kiosk Mode"

You can wrap the raw AppleScript in <<EOD... The last EOD signalling the end of input has to come at the first position in the line.

(BTW, your applescript seemed to be missing an end tell after activate....)

#!/bin/bash
echo
echo "Google Chrome is now open in Kiosk Mode"
osascript <<EOD
  tell application "Google Chrome"
      activate
  end tell
  tell application "System Events"
      key down {command}
      key down {shift}
      keystroke "f"
      key up {shift}
      key up {command}
  end tell
EOD

echo "Google Chrome is now open in Kiosk Mode"

You can wrap the raw AppleScript in <<EOD... The last EOD signalling the end of input has to come at the first position in the line.

(BTW, your applescript seemed to be missing an end tell after activate....)

#!/bin/bash
osascript <<EOD
  tell application "Google Chrome"
      activate
  end tell
  tell application "System Events"
      key down {command}
      key down {shift}
      keystroke "f"
      key up {shift}
      key up {command}
  end tell
EOD

echo "Google Chrome is now open in Kiosk Mode"
2 added some indentation
source | link

You can wrap the raw AppleScript in <<EOD... The last EOD signalling the end of input has to come at the first position in the line.

(BTW, your applescript seemed to be missing an end tell after activate....)

#!/bin/bash
echo
echo "Google Chrome is now open in Kiosk Mode"
osascript <<EOD
  tell application "Google Chrome"
      activate
  end tell
  tell application "System Events"
      key down {command}
      key down {shift}
      keystroke "f"
      key up {shift}
      key up {command}
  end tell
EOD

echo "Google Chrome is now open in Kiosk Mode"

You can wrap the raw AppleScript in <<EOD... The last EOD signalling the end of input has to come at the first position in the line.

(BTW, your applescript seemed to be missing an end tell after activate....)

#!/bin/bash
echo
echo "Google Chrome is now open in Kiosk Mode"
osascript <<EOD
  tell application "Google Chrome"
  activate
  end tell
  tell application "System Events"
      key down {command}
      key down {shift}
      keystroke "f"
      key up {shift}
      key up {command}
  end tell
EOD

echo "Google Chrome is now open in Kiosk Mode"

You can wrap the raw AppleScript in <<EOD... The last EOD signalling the end of input has to come at the first position in the line.

(BTW, your applescript seemed to be missing an end tell after activate....)

#!/bin/bash
echo
echo "Google Chrome is now open in Kiosk Mode"
osascript <<EOD
  tell application "Google Chrome"
      activate
  end tell
  tell application "System Events"
      key down {command}
      key down {shift}
      keystroke "f"
      key up {shift}
      key up {command}
  end tell
EOD

echo "Google Chrome is now open in Kiosk Mode"
1
source | link

You can wrap the raw AppleScript in <<EOD... The last EOD signalling the end of input has to come at the first position in the line.

(BTW, your applescript seemed to be missing an end tell after activate....)

#!/bin/bash
echo
echo "Google Chrome is now open in Kiosk Mode"
osascript <<EOD
  tell application "Google Chrome"
  activate
  end tell
  tell application "System Events"
      key down {command}
      key down {shift}
      keystroke "f"
      key up {shift}
      key up {command}
  end tell
EOD

echo "Google Chrome is now open in Kiosk Mode"