Jump to content

OmarKN

Member
  • Posts

    100
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    OmarKN got a reaction from Stephen_C in Starting with ”Alfred-workflow-save-ur-note” - setting the the keyword   
    Thank you Vero and Stephen, =SOLVED_! 

    The secret of all secrets: don't forget to update your Alfred app!
  2. Like
    OmarKN reacted to Vero in Starting with ”Alfred-workflow-save-ur-note” - setting the the keyword   
    Having now taken a look at @OmarKN's Diagnostics file, I could see he was using an older build of Alfred from before {isodate} was added to the dynamic placeholders. Updating to the current Alfred 5.1.4 will likely take care of the issue.
  3. Like
    OmarKN reacted to Stephen_C in Starting with ”Alfred-workflow-save-ur-note” - setting the the keyword   
    Thanks so much for that: inability to find the problem was driving me crazy!
     
    Stephen
  4. Like
    OmarKN got a reaction from Stephen_C in Alfred snippets on WhatsApp cut off   
    =SOLVED_! 
     
    Just 1 step slower did it!

    Thank you @Stephen_C .
  5. Like
    OmarKN reacted to Stephen_C in Alfred snippets on WhatsApp cut off   
    Take a look at this Alfred help page (assuming you have not already done so): My snippets are expanding partially, or the keyword remains. You may find something there that helps.
     
    Stephen
  6. Thanks
    OmarKN got a reaction from sepulchra in How choose correct date - time definition   
    For anyone interested, this worked for me:

     
    {date:YYYY-MM-dd} {time:HH:mm} is
     
    2023-03-05 18:05


    (yyyy seems to be the same as YYYY )
     
  7. Like
    OmarKN reacted to sepulchra in How choose correct date - time definition   
    You can also make custom date placeholders... for example, I prefer my isodates without the dashes, so this is my placeholder:  {date:yyyyMMdd}
  8. Like
    OmarKN reacted to Stephen_C in How choose correct date - time definition   
    Take a look at this Alfred help page. You should be able to format the date as you wish. There's also an Automation Task for converting time formats.
     
    Edit: also this page.
     
    Edit 2: …and to save you even more time, you should find {isodate} gives you what you need!
     
    Stephen
  9. Like
    OmarKN got a reaction from vitor in Add tag to selected files   
    … and it does work!

    Thank you 🙂 
     
    /
    with best regards, Omar KN, Stockholm, Sweden

  10. Like
    OmarKN reacted to vitor in how open specific folder?   
    There is. You don’t need code, use the Launch Apps and Files Action.
     
     
    The correct version of your code would be tell application "Finder" to open POSIX file "/Users/okn/LC3b/From ScreenMaster pics". Zsh is even simpler: open '/Users/okn/LC3b/From ScreenMaster pics'.
     
     
    You haven’t specified what you want to do with Spaces. But Apple doesn’t provide APIs to interact with those programatically, so whatever interaction you want would be hacky.
  11. Like
    OmarKN reacted to vitor in Keywords not (always) working on custom web searches   
    You need to first find a website which search functionality. Then do a search and look at the resulting URL. E.g. if you search on YouTube for alfredapp, the resulting URL is https://www.youtube.com/results?search_query=alfredapp.
  12. Like
    OmarKN reacted to vitor in Is combination ALT-CMD-dash implemented by Alfred?   
    See it it’s the one in Alfred Preferences → Features → File Search → Navigation.
  13. Like
    OmarKN got a reaction from Walker in Evernote Workflow 9 beta 4 (Alfred 4)   
    >Evernote 6+ from Evernote.com

    So the workflow doesn't function on Evernote in the browser?!

    Do I have to download EN? How for the Mac? I'm on the Evernote free plan.


     
    When continuing writing after "ens" it changes to a Google search, so it's not working with EN online?!
     
    /
    Any assistance would be greatly appreciated!
    With best regards,
    Omar KN
  14. Like
    OmarKN reacted to Vero in Evernote Workflow 9 beta 4 (Alfred 4)   
    @OmarKN Yes, the workflow requires that Evernote is installed locally as it can't interact with the website version. 
     
    Is there any reason you'd want to download Evernote 6? I strongly encourage you to download Evernote 7 and the most recent version of the workflow under the "Download Evernote 9 beta 3" header, rather than the older version.
     
    You can grab the latest version of Evernote from this page:
    https://evernote.com/download
     
    Cheers,
    Vero
  15. Like
    OmarKN reacted to deanishe in Creation of keyboard shortcut to send url to (Apple) Notes app   
    It's supposed to work like the latter case.
     
    That's why there's & return & between theTitle and theText.
  16. Like
    OmarKN reacted to deanishe in Creation of keyboard shortcut to send url to (Apple) Notes app   
    property accountName : "iCloud"
    property folderName : "Notes"
     
    -- Return title and URL of current Safari page
    on getSafariPage()
        tell application "Safari"
            set theURL to URL of front document
            set theTitle to name of front document
        end tell
        return {link:theURL, title:theTitle}
    end getSafariPage
     
    -- Add note to Note.app
    -- the body of the note it theTitle + theText
    on addNote(theText, theTitle)
        set theBody to theTitle & return & theText
        tell application "Notes"
            tell account accountName
                set theNote to make new note at folder folderName with properties {body:theBody, name:theTitle}
            end tell
        end tell
    end addNote
     
    on run (argv)
        set pageInfo to my getSafariPage()
        my addNote(link of pageInfo, title of pageInfo)
    end run
  17. Like
    OmarKN reacted to jdfwarrior in Needed for Finder: previous active app   
    I created a quick workflow for you to quickly jump back to Finder. Download it here.
     
    I left the keyword blank because I wasn't sure if you wanted one. The hotkey will also need to be set for this action.
     
    I'll consult with Andrew but right this second I'm unaware of a way to perform the other action (returning to the previous app). Simulating the hotkey through AppleScript doesn't seem to want to work well. Perhaps he has an idea of a way that we can get this accomplished.
  18. Like
    OmarKN got a reaction from Tyler Eich in syntax for openening a file in deep folder?   
    SOLVED!
     
    >Please just write an example with "open" and a path.
     
    I now found out I don't have to write "open", just the path, that's it!
     
    As here:
     
    /Volumes/main_HD/Users/omarkn/Documents/_Wie_HowTo/w
     
    will show all files starting with "w", then it's simply to choose from the list which to open!!!!
     
     
    with best regards,
    Omar K N
    (Stockholm, Sweden)
×
×
  • Create New...