Jump to content

apfelartig

Member
  • Content Count

    7
  • Joined

  • Last visited

  1. For me the bluetooth toggle doesn't work. It just opens System Preferences/Bluetooth.
  2. Thanks, thats really great. Maybe you consider a small notification for 10.8?
  3. Yes I have tested it before. The problem is that it starts System Preferences which isn't usually in my Dock.
  4. Actually only the Bluetooth-Toggle doesn't work. are there any other scripts to turn it on/off?
  5. Thanks! Now It works with AppleScripts but not with the following ones: Bluetooth-toggle ./bluetooth.py WiFi-toggle #Function to search keychain for the network password get_pw () { if [ "$1" ] then security 2>&1 >/dev/null find-generic-password -ga AirPort -l "$1" | cut -d '"' -f 2 | grep -v security: fi } #Find the device name DEVICE=$(networksetup -listallhardwareports | grep -A 2 -E "AirPort|Wi-Fi" | grep -m 1 -o -e en[0-9]); #Toggle or change network? case "{query}" in "") #Toggle the power of the Wi-Fi/Airport if [ $(networksetup -getairportpower $DEVICE | grep
  6. Hello, I am really new to scripts but I used some in Alfred v1. Scripts like Bluetooth-Toggle or Wi-Fi-toggle and AppleScripts like Starfish or Caffeine Manager. Now with version 2 beta I wanted to import some manually by copying the text. For Example: Bluetooth-Toggle I said Keyword (Input) and combined it with run script (Actions) Script: ./bluetooth.py Another Caffeine Manager: I said Keyword (Input) and combined it with run applescript (Actions) Script: (* This is an unofficial manager for Caffeine (http://lightheadsw.com/caffeine/) created by Sebastian of Zibi
×
×
  • Create New...