Jump to content

alfredclough

Member
  • Content Count

    80
  • Joined

  • Last visited

  • Days Won

    3

Reputation Activity

  1. Like
    alfredclough got a reaction from Tsunami in [SOLVED] How to fix Text Encoding Error with AppleScript in Workflow   
    I used NSPasteboard. For reference in case someone else lands here, here's what I used. The first option gets the html version of what's on the clipboard, the second version gets the text (how Alfred returns the clipboard in a workflow). In the first option, you could use other formats (rtf, etc) as per Apple's documentation.
     
    from AppKit import * # Get the current clipboard directly from Mac pb = NSPasteboard.generalPasteboard() # Check if we need html format from the clipboard if ulFormat == "html": cbDirect = pb.stringForType_("public.html") else: cbDirect = pb.stringForType_(NSStringPboardType)  
  2. Like
    alfredclough got a reaction from Empyreal in Recent Downloads Workflow   
    I don't care if you put them in a git hub. I only create a workflow when it meets a personal need though so I won't be prolific with creating new workflows. I created several of them at once when I transitioned to Alfred 2 so it's why it seems so prolific in the last few months. In other words, don't expect a lot of development on them unless I find something new I need, but thanks so much for the not elf appreciation.
  3. Like
    alfredclough got a reaction from Empyreal in Recent Downloads Workflow   
    This workflow shows the contents of the downloads folder, sorted using file meta-data so that the sort is exactly the same as the "Date Added" sort on the Downloads folder (This sort is often the same as the last modified time, but is not always.) It provides a convent way to view the most recently downloaded files and you can scroll through them all or type part of the name of a file to find a specific one.
     
    Click here to download.
  4. Like
    alfredclough reacted to robwalton in Ulysses workflow   
    I've put an Alfred workflow for Ulysses up at packal.org/workflow/ulysses and github. The page includes a download link, full instructions and an image. Please give it a go. The commands are briefly:
    Get help
    u:help -- Show a brief summary of commands Open group or sheet
    uf -- Find a group or sheet based on internal content u -- Open group or sheet (cmd-return to drill down) ug -- Open group (cmd-return to drill down) us -- Open sheet Pop open Ulysses Open dialogue
    uo -- Search for within Ulysses’ Open dialogue Create sheets
    un --Create new sheet with optional text (shift-enter to create in /Inbox) Alfred file actions
    Use the Open in Ulysses file action to open text-like files in Ulysses Use the Import into Ulysses file action to create a new sheet from text-like content Configure view to open
    u:setsheetview  -- Set the view for opening sheets with (defaults to 'Editor Only') u:setgroupview -- Set the view for opening groups with (defaults to 'Sheets') Thanks
    deanishe for the awesome Python workflow library dunkaroo for searching and file action help dfay for the new sheet code and file opener and importer katie for thoughts on how find command should work  
    The source is on github.
     
    --- Rob
  5. Like
    alfredclough got a reaction from dclinephx in Apple Maps Workflow   
    Allows you to open any address in the Apple Maps application. Basically anything you can enter anything you would enter in the Maps query filed. You can also enter directions between two destinations be simply connecting the two locations with the word "to." For example, to get directions you would type "map los angeles to new york." To get a specific address you would simply type "map buckingham palace"
     
    Click here to download.
  6. Like
    alfredclough got a reaction from alwaysaugust in Apple Maps Workflow   
    Sorry about that. Link has been updated.
  7. Like
    alfredclough got a reaction from SpearNZ in Apple Maps Workflow   
    Allows you to open any address in the Apple Maps application. Basically anything you can enter anything you would enter in the Maps query filed. You can also enter directions between two destinations be simply connecting the two locations with the word "to." For example, to get directions you would type "map los angeles to new york." To get a specific address you would simply type "map buckingham palace"
     
    Click here to download.
  8. Like
    alfredclough got a reaction from Southgirl in Rename File Workflow   
    This workflow simply allows to rename and existing file. The workflow prompts you with a box to enter the new file name. It can handle multiple arguments, so if you pass several files it will prompt you one by one for the new name for each file.
     
    Click here to download.
     

     

  9. Like
    alfredclough got a reaction from claui in New Calendar Event Using Quick Entry Option Workflow   
    This workflow allows you to enter a new event via Alfred using Calendar's quick entry box syntax. Type whatever you would enter in the quick entry box in Calendar in Alfred after the newevent keyword and hit enter. The workflow will pass what you type to Calendar through the Quick entry box allowing Calendar to automatically create the event.
     
    Click here to download the workflow.
     
     
  10. Like
    alfredclough got a reaction from jaspalx in Recent Downloads Workflow   
    This workflow shows the contents of the downloads folder, sorted using file meta-data so that the sort is exactly the same as the "Date Added" sort on the Downloads folder (This sort is often the same as the last modified time, but is not always.) It provides a convent way to view the most recently downloaded files and you can scroll through them all or type part of the name of a file to find a specific one.
     
    Click here to download.
  11. Like
    alfredclough got a reaction from twinpeaks in Recent Downloads Workflow   
    This workflow shows the contents of the downloads folder, sorted using file meta-data so that the sort is exactly the same as the "Date Added" sort on the Downloads folder (This sort is often the same as the last modified time, but is not always.) It provides a convent way to view the most recently downloaded files and you can scroll through them all or type part of the name of a file to find a specific one.
     
    Click here to download.
  12. Like
    alfredclough got a reaction from gr8 in New Calendar Event Using Quick Entry Option Workflow   
    This workflow allows you to enter a new event via Alfred using Calendar's quick entry box syntax. Type whatever you would enter in the quick entry box in Calendar in Alfred after the newevent keyword and hit enter. The workflow will pass what you type to Calendar through the Quick entry box allowing Calendar to automatically create the event.
     
    Click here to download the workflow.
     
     
  13. Like
    alfredclough got a reaction from DJay in Apple Maps Workflow   
    Allows you to open any address in the Apple Maps application. Basically anything you can enter anything you would enter in the Maps query filed. You can also enter directions between two destinations be simply connecting the two locations with the word "to." For example, to get directions you would type "map los angeles to new york." To get a specific address you would simply type "map buckingham palace"
     
    Click here to download.
  14. Like
    alfredclough got a reaction from S036 in Apple Maps Workflow   
    Allows you to open any address in the Apple Maps application. Basically anything you can enter anything you would enter in the Maps query filed. You can also enter directions between two destinations be simply connecting the two locations with the word "to." For example, to get directions you would type "map los angeles to new york." To get a specific address you would simply type "map buckingham palace"
     
    Click here to download.
×
×
  • Create New...