I use ControlPlane for just that. I have it configured to disable my password when my computer connected is to my home wifi, and to enable my password when it's not connected. It took a bit of time to figure it out, but now it works exactly as intended.
I don't really know what Cleverpin is but is sounds like you want to change your computing experience based on your locations and different contexts. If that is so, checkout Control Plane.
You can enable password protection different mouses and keyboards, bluetooth, audio options, and much much more based on what context the computer is in.
Haven't tested these (and heading out the door for breakfast) but check out ControlPlane (good for all sorts of context sensitive control) and Display Menu (free for basic, Pro is $1.99 which does support AppleScript). SetResX might.
Path Finder - excellent Finder replacement, with tabs, dual panes, file tagging, batch rename, etc.
Alfred - program launcher, shortcuts, quick searched, iTunes control, etc etc etc. It does everything. It has replaced Quicksilver on my Macs - it's well supported and very extensible.
Control Plane - changes your location based upon context rules (i.e. current location, visible WiFi networks, time of day, etc.)
ControlPlane, which is a maintained fork of MarcoPolo (and recommended by its author), has a Time of Day "evidence source". Use evidence sources to make rules to carry out actions. It has a System Preferences action to set the Desktop Background.
there are a couple of options actually...
you could try controlplane app on the mac - you can set context based rules & actions. So the context could be 'X Volume is Unmounted' & the action would be 'Mount Volume X' (although this would fail if the synology is off)
Alternatively you could try setting up automount using autofs. i used this guide on the plex forum...
I am currently testing out the autofs method with good results so far. it always reconnects when i reboot my mac. I have not yet tested restarting the synology to see if the drives re-mount without restarting the mac but in theory they should.
I believe you should be able to set this up with ControlPlane.
You can create environment rules and then define what should happen. According to the feature list it can detect the power source.
Try ControlPlane http://www.controlplaneapp.com/about/
Set up Network Locations for each network setting, and ControlPlane will automatically switch to them based on the network detection rules you set up.
I second /u/dethbunnynet on ControlPlane. It allows you to set rules/actions based on several things, like if you're plugged into a specific screen + network, mount certain folders, or disable bluetooth if you're not in a certain location. When you realise you can set it to actions based on the serial number of your power supply, you realise that it is very powerful.
If you want to go into a slightly different direction (and don't mind paying $3), Tokenlock is a great tool - it uses Bluetooth (or a few other things) to lock your computer when you step away, and unlock when you're in proximity. I know there are others that do something similar, but I've personally used it, to the amusement of my colleagues (Tokenlock has an optional car-alarm bleep-bleep sound when locking and unlocking)
I use my Mac at work, and our Network has a Proxy setup. So I use control plane to contextually switch my network location and launch (or quit) work related applications.
You can try http://www.controlplaneapp.com/about/
It allows you to run X Y and Z apps when the mac is under certain conditions. Like when you plug into HDMI TV MODEL XX-PP-34, or when you connect to your WiFi with a power adapter SN C279TE38ZZU it will open XBMC.
ControlPlane for automatic switching (e.g. enable time machine when I join my home wifi network)
and Better Touch Tool, as /u/Lord_Greystocking said, for manual triggers (e.g. setting a five finger swipe on the touchpad to put the computer to sleep)
Edit: you should check out /r/OSXTweaks for things like this
did a quick search and found a script, on that thread they also recommended ControlPane - looks like this app is what should help you set up your process.
I used to love this software called Marco Polo that listened to events on the computer. But I think they stopped when Apple went Intel. Maybe there are alternatives?
Edit: ah, here we go. Would this help? http://www.controlplaneapp.com/
Assuming both home and work WiFi will assign you an IP via DHCP, you don't need to create multiple network locations. Once you join both networks your laptop will remember them and will join whichever one it finds.
If you need to manually assign static IPs for each network, you can use ControlPlane to auto select the appropriate network location.
Definitely ControlPlane. It's similar to Tasker, only for OSX. I use it for things like: Computer wakes/shuts down —> Send autoremote to phone to start/stop SMS forwarding etc. Computer at home/not at home —> Disable/enable login password... You get the idea.
After trying a bunch of different things, I discovered the control plane app which can easily automate wifi toggling as well as perform many other system settings actions. It's pretty neat, you can check it out at http://www.controlplaneapp.com
There's a program called ControlPlane. Based on certain criteria, you can have certain actions occur. Website link. For example, when I'm home and all my stuff is plugged in, it will disable Wi-Fi, connect to network drives, set default printer.
I don't have pictures to show, but I'd consider:
The dock will get you down to two cables going into the MacBook (one power, one Thunderbolt for everything else). Though I don't have to carry a portable drive around, the dock means I can disconnect the Mac in a second or so. And your cable management worries can be consolidated around the dock, and doesn't have to be totally visible.
Additionally, you could use ControlPlane to eject all your USB drives when you remove power, and have one less thing to do manually when you're leaving. Just disconnect power first, and wait for the disks to eject before pulling the Thunderbolt cable.
You should be able to do this with Control Plane (http://www.controlplaneapp.com). Looking at the feature list, sounds like you’d set a Evidence Source based on network or sleep, and then an Action of mounting/unmounting the network drive.
I wrote a little applescript to toggle this setting (I use it with ControlPlane). I like them to function as media keys when I'm home and as function keys when I'm at work.
There are some smart people over at /r/applehelp that may be able to assist you.
From personal experience, I've found something like Controlpane to be more useful to auto-mount shares once the system is ready (along with many other things)
Notification, as the small overlay popup in OS X (as growl used to do) or on a different device (iPhone, iPad etc.)?
I remembered "MarcoPolo", a tool that I personally never used...but you could define some "trigger --> action" kind of rules. It's not maintained anymore, but there is a predecessor: http://www.controlplaneapp.com/ Not sure if it allows monitoring the battery drop percentage wise...however worth to check it out :)
Cheers