Jump to content

ckgdesign

Member
  • Posts

    8
  • Joined

  • Last visited

Posts posted by ckgdesign

  1. From Australia, Ryan. :)

     

    Here's the error I get in debug mode:

     

    [ERROR: alfred.workflow.action.script] Code 1: Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "dropbox/__init__.py", line 3, in <module>
        from . import client, rest, session
      File "dropbox/client.py", line 22, in <module>
        from .rest import ErrorResponse, RESTClient
      File "dropbox/rest.py", line 21, in <module>
        raise ImportError('Dropbox python client requires urllib3.')
    ImportError: Dropbox python client requires urllib3.

  2. Legend, thanks Ryan!

     

    All of that was OK. I made the app with Sync API and included my access_token in your script. However, the copy to clipboard text isn't the entire URL of the image (or the [ IMG] tags), it just spits out the names of the files themselves like:

     

    IMG_0001.jpg

    IMG_0002.jpg

    IMG_0003.jpg

    etc.

     

    So it isn't wrapping in image tags or displaying the URL of the images.

     

    With your workflow, I get the 'Got links!' notification, so that element works.

  3. Hey Ryan,

     

    Thanks for that. I made the purchase of Alfred, but I can't code/script very well at all.

     

    What I've done, is setup this, which I'm hoping is on the right track: http://cl.ly/image/2C0p0b3p2A3T

     

    1. I want to select the files in dropbox by opening finder and selecting the files.

    2. Make myself a hotkey which performs the action.

    3. Action

    4. Code copies to clipboard

    5. I can then paste the text.

     

    Is what I'm doing correct?

     

    I appreciate the code above, but it's pseudocode like you mentioned. I'm not sure how to translate that into real script.

  4. So you're just looking to be able to apply tags (OSX tags) to the images?

    Hey David,

     

    What I want to do is upload the images to dropbox (in a Finder window) and then once an album or group if images is uploaded, it will generatre a list of [ IMG] tags (markup) for each image uploaded. So, from that point I can paste from the clipboard the IMG tags onto a forum (eg here).

     

    Hope that makes a bit more sense. I don't want to add the OSX coloured tags. This is purely a copy image source and generate IMG tags for all those images.

  5. Hi all,

     

    I just discovered Alfred around, lets say, 20 minutes ago. I really don't know much about it at all.

     

    What I'd like to achieve is the following, but I'm not sure if it's possible.

     

    Lets say I have a folder of images which I then upload to Dropbox. What I'd like it to do is generate Dropbox IMG tags surrounding all the images for that album and copy it to the clipboard. So, I can then go onto the web and paste the links.

     

    Or, even just to select the images I want to post, and have it generate the IMG tags for me (instead of the entire album.

     

    Am I way off the mark, or is this possible?

     

    Thanks!

×
×
  • Create New...