Jump to content
smarg19

SEND: Documents to the Cloud

Recommended Posts

SEND

To download, visit the Packal page

 

Version: 1.2

 

This workflow allows users to quickly and easily send documents to the cloud service of their choice. Once configured (send:config), users can make use of either:

  • hotkey
  • file action
  • keyword
to either send a duplicate of the file to the cloud service (leaving the original where it is), or move the original itself to the cloud service.

 

Configuration

When you run send:config, 3 options appear:

send_config_options.png

 

This will determine which cloud service you send your data to using the workflow. At any point, you can change your settings, but once set the workflow will always send the chosen file to this folder. Anyways, if you choose the Other option, you will need to name the service used:

 

send_config_other.png

 

After this (or if you choose iCloud or Dropbox), you will need to choose the folder you will be sending to. The workflow will begin by telling you what you need to do:

 

send_config_2.png

 

After this reminder, you will choose the folder:

 

send_config_folder.png

 

This is an example of having chosen iCloud, and the workflow will automatically take you to the Mobile Documents folder in your Library, where you will see all of your iCloud enabled apps have their own personal folders. Choose the one you'd like to send your stuff to. For example, if you use Readdle's Documents app on your iPad or iPhone, find that folder within the Mobile Documents folder and select it.

 

Once configured, you can send documents in a few different ways. First, you can use Alfred's File Browser to either send a duplicate or send the original to the cloud service you chose above:

 

send_file-action.png

 

Or you could use the keywords. send:d sends a duplicate of the frontmost document (if possible):

 

send_d.png

 

send:o sends the original of the frontmost file to the cloud folder (if possible):

 

send_o.png

 

Of course, you can also set up Hotkeys for both of these actions as well. 

 

The workflow is 90% Applescript, so it should work on all machines out-of-the-box. There is a little bit of Python, which uses deanishe's Alfred-Workflow library as its backbone. 

 

Hope this is helpful, 

stephen

Edited by smarg19

Share this post


Link to post
Do you have version 2.2 of Alfred? With the debugging option? If not, you should upgrade and then use the debugger to get the error output and send it my way. Until then I will investigate. 

 

Note, send:config is just a keyword and takes no query. Do any of the options appear when you type it? Is the problem that nothing happens after you select one of the options?

Edited by smarg19

Share this post


Link to post

Ok, I debugged it under 2.2 (that's exciting, nice update). I don't get any options for cloud. Only the default search engine options. Debugging showed this:

[ERROR: alfred.workflow.input.scriptfilter] Code 1: Traceback (most recent call last):
  File "filter_config.py", line 3, in <module>
    import alp
ImportError: No module named alp
Edited by paulw

Share this post


Link to post

Yeah, that debugger will be fantastic. It's a great addition. It also shows me the problem immediately. I made a mistake in the version that I uploaded to Packal. It was one version too old. I just pushed version 1.1 to Packal which should fix that bug. Sorry for the mistake. Go download the new version and re-install. Should work now.

Share this post


Link to post

it doesnt seem to work.

 

send:config - selected dropbox - selected dropbox folder in finder

 

and then tried sending using alfred browser, didnt work.

 

then i tried selecting the file in finder then send:o, didnt work.

 

any idea?

 

it's ver 1.1 from packal

Edited by dodgymin

Share this post


Link to post

Does this work for droplr/cloudapp? It asks to 'select a .. folder/app' but doesn't allow me to select an actual app? I haven't looked at the script at all so not sure how it's working yet.

 

Thanks

Share this post


Link to post

Well, you can't select an app per se, but only a folder where you want to send your files. So, the defaults are Dropbox or iCloud, which are both cloud storage folders. The idea is that you will have a file somewhere on your machine that you want to easily put in the cloud. You will need a folder that the cloud service of choice will sync. I don't use droplr or cloudapp, so I don't know if they have a folder that syncs in the way that Dropbox or Copy do. But that's the only thing that this workflow does.

Share this post


Link to post

This workflow doesn't seem to work for me. I'm on Mavericks. Have the latest version of Alfred and the workflow. 

 

It let me configure Dropbox and select my folder etc. 

 

I then tried the workflow out by selecting a file in Finder, initiating the workflow - it then gives an error: http://note.io/TtPiCq

 

Any ideas?

 

Thanks, 

JC

Share this post


Link to post

Can you run the workflow with Alfred's debugger on. To turn this on, open Alfred, go to the Workflows tab, find SEND, then click the bug icon in the top right corner. Then attempt to run this workflow and paste the debugger's output here. That will greatly help me track down the problem.

Share this post


Link to post

Glad you figured out your specific problem. You are right, this workflow is fairly narrow in its functionality, but that's really the only way to ensure that it works well. Plus, as you also say, there are so many workflows that add the specific functionality someone may be looking for. I'm just happy you found something that does the work you need done.

stephen

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...