Jump to content

Andrea

Member
  • Posts

    5
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Andrea reacted to Hongbo Miao in Bluetooth Toggle   
    Thank you!
  2. Like
    Andrea reacted to cubb in Bluetooth Toggle   
    Does just what it says on the tin: toggles Bluetooth on or off depending on the current state. It's built to work with OS X Yosemite and Yosemite alone.
     
    To use, just type bt and press enter. If Bluetooth is on, it will be turned off. If Bluetooth is off, it will be turned on.
      The original AppleScript was written by fartheraway in response to a question on StackExchange. I just packaged it and gave it a simple icon that will work equally well on dark and light themes.   Known shortcomings: - Current state (on or off) not shown - New state not shown/notified   Download “Bluetooth Toggle” workflow (via CloudApp)   Packal  
  3. Like
    Andrea reacted to Sam Michel in Bluetooth Toggle   
    Very handy script, but it stopped working for me with Mac OSX Mojave.
     
    I found this alternative AppleScript which seemed to do the trick - just replaced the Run NSAppleScript section of the workflow and it works now:
    #!/usr/bin/osascript on alfred_script(q) tell application "System Preferences" reveal pane id "com.apple.preferences.Bluetooth" -- activate set the current pane to pane id "com.apple.preferences.Bluetooth" try tell application "System Events" to tell process "System Preferences" click button "Turn Bluetooth Off" of window "Bluetooth" click button "Turn Bluetooth Off" of sheet 1 of window "Bluetooth" of application process "System Preferences" of application "System Events" end tell delay 1 on error tell application "System Events" to tell process "System Preferences" click button "Turn Bluetooth On" of window "Bluetooth" quit end tell end try end tell end alfred_script  
  4. Like
    Andrea reacted to Vero in How to make Alfred launch Anaconda Navigator   
    The workflow @deanishe suggests is wonderfully simple, and a great place to start - you'll see workflows aren't scary at all  
     
    Go to the Workflows tab, click the [+] at the bottom of the sidebar and choose Templates > Files and Apps > Launch File Group from Keyword. Give it a name, and click "Create" Double-click the keyword and set it to "anaconda", and give it the title "Launch Anaconda" for example. Save that. Double-click the "Launch Apps" object. Drag in your Anaconda application, and hit save. Now just pop up Alfred and use the newly created keyword to launch the app! Well done, you've created your first workflow.
     
    Cheers,
    Vero
  5. Like
    Andrea reacted to deanishe in How to make Alfred launch Anaconda Navigator   
    It won't slow Alfred down. It might give you a load of irrelevant results, however, depending on which file types you have selected in Alfred Preferences and how many of those types of files are in that directory.
     
     
    If you don't want to add the Anaconda directory to your default scope, create a workflow with Keyword "anaconda" that launches the application.
     
×
×
  • Create New...