![]() take a screenshot and have its sharable OneDrive URL automatically copied to your clipboard.In this post, I’ll show how to create a few Automator workflows to allow you to: ![]() And hey, it’s just a “preview”, right?įortunately, OS X provides plenty of built-in tools to help Mac users fill in much of the missing functionality. It’s not exactly what I had hoped for, but it certainly beats the web app and failed IM file transfers. It just creates a directory on your disk, keeps it in sync with the files and folders in your OneDrive for Business account, puts a nice little cloud in your menu bar, and animates it when it’s syncing. Notice the words “sync client” - because that’s all the client does at this time: sync files. On January 28, 2015, Microsoft finally released what they call the “OneDrive for Business Mac sync client Preview”. Furthermore, Microsoft didn’t even make a OneDrive for Business client for the Mac. Because although Microsoft OneDrive has been in the Mac App Store for a while, it doesn’t work with business accounts. Until recently, the answer has been to email the images, attempt a futile file transfer via Adium or Microsoft Lync, schlep around in the OneDrive web application, or put them on a network share and try to communicate that path to someone else in a platform-agnostic way. And - here’s the kicker - what if you also dare to use a Mac in such an environment? It can be great for quickly & effortlessly sharing screenshots with others via IM, email, etc.īut what if you work for a Microsoft-centric, Office 365, SharePoint-y organization? They usually don’t take kindly to having proprietary screenshots stored on personal Dropbox or Google Drive accounts, possibly shareable with anyone in the world that you give the URL to - willingly or otherwise. Then replace the original code with the following example code, while modifying the value of the copy and movef variables to contain the POSIX pathname of the target folders the file is to be copied to first, and subsequently moved to from the "Hot Folder" it was dropped into.Sharing Screenshots on the Mac Using OneDrive for Businessįor quite a while Dropbox has had a great screenshot-sharing feature that will automatically move any screenshots you take using ⇧⌘3 and ⇧⌘4 into your Dropbox Screenshots folder and immediately copy its public URL to your clipboard. Setup the workflow according to the individual action shown in the image further below:Īdd a Run Shell Script action, while changing Pass input: from to stdin to as arguments. If you are comfortable using shell scripting, then this example Automator Folder Action workflow works for me too. Note: This workflow choice was made to show how to accomplish the task without the use of shell scripting and a Run Shell Script action, as some users may not be comfortable using shell scripting. Add a Move Finders Items action, while setting the To: list box to the a pertinent target folder.Add a Copy Finder Items action, while setting the To: list box to a pertinent target folder.Add a Get Value of Variable action, while setting the value of the Variable: list box to the value of Variable: set in the Set Value of Variable action, and check the Ignore this actions input check box under its Options.Add a Set Value of Variable action, giving the Variable: a pertinent name.Start with setting the target folder for: Folder Action receives files and folders added to.Setup the workflow according to the individual actions in the order shown in the image further below and the Options shown on the two Get Value of Variable actions. This was tested with one file and many files at a time over a half dozen tests with different file counts and sizes, however I'd caution that this simple workflow might choke if invoked with to many really large files at one time. This following example Automator Folder Action workflow works for me.
0 Comments
Leave a Reply. |