Jump to content

Acidham

Member
  • Posts

    429
  • Joined

  • Last visited

  • Days Won

    19

Posts posted by Acidham

  1. Thx @bramadams for the feedback.

     

     

     

    Would it be possible to detect whether the file name already exists in the target folder (or even some adding some suffix like "-copy" to make the Dropbox upload still work)? Right now it gives an error message saying that the token is incorrect.

     

    Fixed, Drop is now overwriting the file with the same file name

     

     

     

    [bTW, if a folder name contains a single quote, the workflow fails as well, but this is kind of a corner case.]

     

    Fixed

  2. In Alfred 3 you can open the workflow and then click on the [x] (top right corner). A dialog will pop up and you can configure both variables

  3. Uploads a file with file action "Share via Dropbox" or keyboard from selection in Finder to Dropbox and returns public download link. 


    Befory you can start: 


    • You need to get an Access Token from Dropbox (https://www.dropbox.com/developers/apps). 
    • Configure workflow variables
      • Access Token
      • Folder were the file will be stored on Dropbox

    • Download and Install JSON Helper from the Appstore

    Usage: Search for a file on the file action choose "Share via Dropbox". The short URL, for public download, will be stored to the Clipboard


    Download: http://www.packal.org/workflow/drop


  4. Not working at all. Whats wrong, any idea?

    [ERROR: alfred.workflow.input.scriptfilter] Code 5: dyld: Library not loaded: @rpath/libswiftCore.dylib
      Referenced from: /Users/me/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.AE4DAEB8-CFB6-42E3-BD2F-D13E764C6CFD/./safariSearch
      Reason: image not found
    [ERROR: alfred.workflow.input.scriptfilter] Code 5: dyld: Library not loaded: @rpath/libswiftCore.dylib
      Referenced from: /Users/me/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.AE4DAEB8-CFB6-42E3-BD2F-D13E764C6CFD/./safariSearch
      Reason: image not found
    
  5. Control window with Spectacle by using default keystrokes. Type "w" with following options:

    • Fullscreen
    • Move window to the Next Display
    • Center window
    • Aligns window to the Left or Right of the screen
    • Reset - special command combines move to the left and then center

    Spectacle required: https://www.spectacleapp.com

    Advanced: Keystrokes can be changed or addtionals can be added by modifying the Script Filter

     

    Download: http://www.packal.org/workflow/spectacle

  6. Seems but I do not have proof of it. I am on El Capt latest beta 5 and once i developed it i was on beta 4. 

     

    I am generating Due Date from a string

    set DueDate to date (theDate & " " & queryTime)
    

    but it seems that that older version does not accept that. Therefore kmarchand changed it to get due date (w/o time) and add it later:

    set time of DueDate to 60 * 60 * 9
    

    Flipside is I need to rewrite a bunch of code to calculate e.g. 9:30 or 22:15 

  7. Please try following script first. It should create reminder at 9am:

    set theDate to date string of ((current date) + (1 * days))
    set DueDate to date (theDate)
    set time of DueDate to 60 * 60 * 9
    tell application "Reminders"
        tell list "Inbox"
            make new reminder with properties {name:"Test", remind me date:DueDate}
        end tell
    end tell 

    Let me know in case the test was successful.

×
×
  • Create New...