Jump to content

Search the Community

Showing results for tags 'bluetooth'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 14 results

  1. Decided to share my workflow which allows to connect and disconnect with already paired bluetooth devices. It relies on blueutil command line utility, which can be install via Homebrew: brew install blueutil I deliberately choose the fastest way to achieve the simple goal. Thus, workflow is fairly simple and works via shell scripts. Also, this approach allows anyone interested to modify and extend it like in no time. Workflow features two shortcuts: btc and btd, they stand for BlueTooth Connect and BlueTooth Disconnect respectively. As you type, list of devices is populated on the fly. https://drive.google.com/file/d/1AshZo4dYuQ5vEvCYJz8KTTh0xw71w4UD/view?usp=sharing I don't think I will spare significant time improving this workflow since it already fulfills my needs. But I see it as a good starting point for further development for anyone curious. Enjoy it!
  2. Bluetooth Connect Connect/Disconnect paired bluetooth device THIS IS WHAT AIRPODS OWNERS ARE WAITING FOR! LOL Usage bt : Connect/Disconnect to favorite device bt <device name or alias> : Connect/Disconnect to any paired device Command + Enter / Command + Click to mark/unmark as favorite device btset <alias> > <device name> : Set an alias for a bluetooth device btset <alias> <device name> : Set an alias for a bluetooth device (short syntax, alias must not included space) btunset <alias>: Unset an alias Features Connect/Disconnect paired bluetooth device using macOS UI (AppleScript) Set an alias for a bluetooth device Mark a bluetooth device as your favorite device for easily access Todo Load device list from system profiler Detect which one should connect or disconnect to use as text in items Turn on automatic toggle when mark as favorite and only connect to device Connect bluetooth device without using UI GitHub earthpyy/alfred-bluetooth-connect Notes For latest feature and other information please visit GitHub Repository
  3. Hey I'm trying to make an AppleScript to be run from Alfred, that should quickly set a specified speaker as audio output device if it is currently connected (in example below "My Awesome Speaker"), and otherwise don't do anything. I have gotten most of the functionality down (toggling between speaker/internal speaker), but I'm having a problem in the instance that the speaker isn't connected. When this is the case, the script has already clicked on the audioMenu, making the dropdown be there until a mouse click. I thought I could make it go away by branching with an "if else" and then if the speaker isn't connected, then just clicking the audioMenu again (because I've seen similar behaviour (with succes) for other menu bar scripts). But if I instead do this, the audio dropdown will still be staying until a click has been made, and then the script clicks the audio icon again making it doubly annoying. on alfred_script(q) set speakerName to "My Awesome Speaker" set internalSpeakers to "Internal Speakers" activate application "SystemUIServer" tell application "System Events" tell process "SystemUIServer" -- Working CONNECT Script. Goes through the following: -- Clicks on Audio Menu (OSX Top Menu Bar) -- Clicks your speaker if not connected -- Else if connected, then disconnects by clicking Internal Speakers set audioMenu to menu bar item 4 of menu bar 1 tell audioMenu click if exists menu item speakerName of menu 1 then set speakerMenuItem to menu item speakerName of menu 1 if value of attribute "AXMenuItemMarkChar" of speakerMenuItem is "✓" then click menu item internalSpeakers of menu 1 return "Disconnecting from " & speakerName & "..." else click speakerMenuItem return "Connecting to " & speakerName & "..." end if else -- Doesn't work for now. Just clicks it again after you deselect menu, making it double annoying --click audioMenu return "Doesn't look like you're connected to " & speakerName & "..." end if end tell end tell end tell end alfred_script How can I fix this, so the dropdown actually goes away if speaker is not connected?
  4. Howdy All, This is a quick one I have thrown together for my own use, I am hoping for some feedback on if anyone else would find this useful. I.e. do I keep it to myself, or productionise it properly? I put this together primarily to connect quickly and easily to my Apple Airpods and an Alfred Workflow seemed like a great way to do that. I then expanded this to do hotspots and extra headphones as well. Shoutout goes to Ian Gloude for his code on https://medium.com/@igloude/using-applescript-and-btt-to-make-the-airpods-experience-a-little-bit-better-6e78b12d33bd that makes this work. Essentially all this workflow does is do the clicks in the UI for you. I have logged a RADAR to Apple's BugReporter to request proper programmatic access to such Bluetooth functions also (for good long-term measure). You can grab the beta workflow from: https://web.tresorit.com/l#5nvV-nDObUj8ovGFXYHP5g Setup: Load up workflow Open Workflow Environment Variables Modify Workflow Environment Variables with your Bluetooth Device Names. PLEASE NOTE - read the notes alongside regarding regular and artistic apostrophes. AirPods especially seem to have artistic apostrophes in their name so you need to make sure you get the right one. Should be good to go Usage: btairpods - connect to your airpods (they must be out of their case) btheadphones - connect to another set of defined headphones btphone - connect to phone network bthotspot - connect to iDevice hotspot (note this forces a several second delay between clicking the WiFi menu and clicking the hotspot as it usually takes a second for the hotspot's to show) dcbthotspot - disconnect from iDevice hotspot
  5. Use btt to view and toggle bluetooth status and its menu bar visibility. btd will show your paired devices. Action them to toggle their connection status Download | Source
  6. Thought it was about time i gave back to this amazing community. Very simple workflow to turn bluetooth on/off. Using Blued library to simplify scripting. Simply type : bluetooth on or bluetooth off can be downloaded here
  7. Hi, I read this blog post with some interest (http://blog.alfredapp.com/2015/02/25/connecting-your-remote-using-bluetooth/) as I've not once been able to get this to work. I'm running Yosemite and iOS8.2 and from everything else I've read Apple has pretty much nerfed the ability for the two devices to connect as you would normally expect by bluetooth. It would seem that the new bluetooth 4.0LE stuff means it connects as needed and so they didn't see the need for allowing bluetooth pairing of the phone and Mac. So my question is - does anyone out there have this working on Yosemite? I'd really love to make this work as when I'm at work the wireless network here segregates all devices on it, so my phone can't see the MBP at all. What would be really cool, as a feature request, would be for the remote to support the bluetooth 4.0LE stuff and actually just work when it's in range of the MBP, without any pairing, etc. It may also be worth revising that blog article if it doesn't apply to Yosemite
  8. Instead of forcing an iPhone to be connected to the same wifi network to have Alfred Remote functionality, it would be nice if it could instead connect by bluetooth pairing. Has this feature been requested before?
  9. Hi, Is there a way to have a workflow for connecting to Bluetooth devices? I have a Bose SoundLink Mini that I'd like my Mac to connect to, via Alfred. That would be much easier than via the Bluetooth menu. Thanks!
  10. I'm sure there are a few of these out there already, but in the essence of personal growth, I wrote my own Wi-Fi and Bluetooth toggling workflows. Thought I would share with the rest of the world, as I hope someone else finds my stuff useful. Apologies ahead of time, I currently am not taking any requests for enhancements, unless I will actually be using them myself. Having said that, please feel free to fork and make it your own. Toggle Wi-Fi.alfredworkflow | GitHub Page Toggle Bluetooth.alfredworkflow (requires `blueutil` to work properly. To install, run `brew install blueutil`) | GitHub Page
  11. Turns bluetooth on and off using the keyword tbt. http://www.packal.org/workflow/toggle-bluetooth Paul
  12. Is there anybody who created a workflow that connects to registered bluetooth devices?
  13. Hey everybody, love to see all those workflows emerge and being able to use them. Now it's time to share my own very first workflow This workflow toggles Type2Phone and Bluetooth By typing ‘tnb‘ within Alfred an Applescript is started to either turn bluetooth on and launch Type2Phone or quit Type2Phone and switch bluetooth off depending if Bluetooth is active right now or not. Download the Workflow This Workflow requires: #1 the Software Type2Phone, which lets you use your Macs Keyboard to type on your iPhone (App Store Link). #2 blueutil. It's a commandline-tool to turn Bluetooth on and off. I tested it under OS X 10.8.4. Notice: I noticed the workflow doesn't bring Typ2Phone to the foreground. Additionally Type2phone does not start up reliably. Any tips?
  14. A python script toggle for turning on/off bluetooth and show the state in NotificationCenter. Pyton script author: seapy (http://seapy.com) Download: http://dl.dropbox.com/u/16389684/Bluetooth%20Toggle.alfredworkflow
×
×
  • Create New...