Iconaholic :: Tumblr.com

  • Archive
  • RSS

Homebrew AirDrop

I like the idea of AirDrop but wanted to be able to send files to my other Macs without having to open the AirDrop Finder window, without having to accept receiving the files on the other Macs, and without the Macs having to be turned on (or awake).

So I came up with something using AppleScript, Dropbox and Hazel.
With this you drop files onto the droplet (app) on the Desktop or placed in the Dock.

1_drop_files_onto_the_droplet

It then shows a dialogue window asking where the files should be copied to. 

2_choose_a_button

You select a button and it copies the files to a specific folder in Dropbox. Once the files have synced over to the other Macs, Hazel (running on each Mac) moves them to the Desktop.

If you want to try it download the files http://cl.ly/AK1N
Put one of the “Copy to Macs” droplets on the Desktop (or wherever you like, and drag it to the Dock).
Place the “Homebrew AirDrop” folder in your Dropbox folder.

Open one of the “Copy to Macs” droplets in AppleScript Editor and you can change the name of the buttons to whatever you like. If you do this then also change the names for them at 2.a and 3.a to match the button names.
If you want to move the “Homebrew AirDrop” folder to another location in Dropbox then change the path in the AppleScript (2.b and 3.b, (and 4.b. if you use the 3 button version)).
Then on the other Macs open Hazel, add the folders (~/Dropbox/Homebrew AirDrop/Send to Mac 1, or Send to Mac 2) and create a rule similar to the screenshot.

3_hazel_move_from_dropbox_to_d

Posted via email from Iconaholic Blog | Comment »

    • #applescript
    • #automation
    • #dropbox
    • #hazel
  • 8 months ago
  • 4
  • Permalink
  • Share
    Tweet

Update Dropbox with the latest beta from their forum using Hazel (after downloading the DMG file)

If you regularly download the latest beta of Dropbox from their forum then you can use this script to update the app from the downloaded DMG file using Hazel.
16_hz1_update_dropbox

If your system HD is called something different to “Macintosh HD” you’ll need to change that in the script.

If you use a custom icon for Dropbox (so it shows up in Growl messages) you can get it to update that also with this version of the script (fill in your name for your user/home folder in the script).

(I don’t really know AppleScript so if anyone knows of a better way to do this please let me know.)

Posted via email from Iconaholic Blog | Comment »

    • #applescript
    • #automation
    • #dropbox
    • #hazel
    • #productivity
  • 1 year ago
  • 2
  • Permalink
  • Share
    Tweet

About

Stuff 'n shit
  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr