Jump to content

OmarKN

Member
  • Posts

    100
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by OmarKN

  1. They are 2 static urls, no keywords.

    The Alfred macro (hotkey trigger) opens first url1 in Safari, then it opens url2 in a new tab.

     

    The intent is to have them side-by-side.

     

    Maybe it would be enough to have 1 command of some sorts, so as to open url2 in a new Safari *window* and positioning it to the right half of the desktop.

     

    I have this script, but with Safari Tabs I don't know:

     

    tell application "Safari" to set bounds of front window to {150, 25, 1368, 1299}

     

    2009876799_ScreenShot2019-09-17at08_38_03.thumb.png.af7899c346da5ce3bd185cabbbe241da.png

     

    /
    Any assistance would be greatly appreciated!

    With best regards,
    Omar KN

     

     

  2. Hi and good day,

    When I try to enter a trigger, such as SH- CTRL- some number, Alfred doesn't accept anything (field remains empty), but if I use other combinations, such as CTRL ALT CMT nnnn, then it works.

     

    Why not SH- CTRL- some number ?

     

    Regards,

    Omar KN

  3. Hi and good day,

     

    After a Clean Install of the Mac I’m now searching “for my lost macro” = a pearl:

     

     

    It allows the user to step-by-step insert a dash “ - “ at every space in the filename.

     

    (Rename filename - ENTER, then clicking on the filename).

     

     

    See here:

     

    https://d.pr/free/v/bL9nHO

     

    I use it holding down SH - ALT - CMD and " - ", it automatically finds the next space, and I press the " - " again, it's very intuitiv.

     

     

    This macro is not in my Alfred list of macros, but I still can use it on the SUperduper-CLONE.

     

     

    Maybe someone on the forum knows/ uses this macro and can tell me at least where to look on the clone-HD.

     

    Nothing on the net - for manual insert.

     

    /

    with best regards,

    Omar KN

    Stockholm, Sweden

  4. Hi and good day Vero & everyone else here,

     

     =SOLVED_! 

     

     

    The problem was 1 little space after the  "1p" ( I had  "1p ").

     

     

    Unforgivable computers!!!

     

     

    Anyway I find the workflow to be so sweet! You just type your 1p into ALFRED, choose the site where you need to login, and swish there you are!!

     

    /

    with best regards,

    Omar K N

     

    Stockholm, Sweden

  5. Out of curiosity, why are you not using 1Password's built-in function for this? I have a key combo assigned to it, I type in the website and I hit enter, don't have to touch the mouse:

     

    https://www.evernote.com/l/ABAw_C74vWNFLLqLNahpxWnX2PRt_wxyYqIB/image.png

     

    image.png

    image.png

    image.png

    Hi and good day csaborio,
     
    This is of course a good workflow, what I had in mind was a step less than that:
     
    To type a keyboard trigger which then automatically opens a webpage AND ALSO lets Alfred do the heavy lifting together with 1Password: to automatically find the login fields and automatically type in the appropriate username & password. This would be nice, wouldn't it?
     
     

    with best regards,

    Omar K N

    Stockholm, Sweden

     

  6. Great!

     

    But not working:

     

    I did the following:

     

    using Alfred v2.5.1 at least

    using 1Password and its browser plugin.

    Enable integration with 3rd party apps ( I set it to 1p)

    => Alfred does find the bookmarks file generated by 1Password

     

    What I see is this:
     
     
    and this:
     
     
    Did I miss something?
     
    /

    with best regards,

    Omar K N

    Stockholm, Sweden

  7. Hi and good day,

     
    Sometimes, when writing some special symbols on the keyboard, I need to to disable Albert for a short period, because otherwise Albert will spark off some shortcuts.
     
    To quit Albert completely seems too much, just disabling it for a while & enabling it afterwards.
     
     
    How could this be done?
     
    /

    with best regards,

    Omar K N

    Stockholm, Sweden

  8. Hi and good day Dean,

     
     
    So far - excellent!
     
     
    However, I wonder if the script can be tweaked just a little?
     
     
    Sometimes (~ 50%) in the body of the note (Apple Notes) the title and the url flow after each other like this:
     
    A Screenshot Is Worth a Thousand Words – MacStories https://www.macstories.net/roundups/a-screenshot-is-worth-a-thousand-words/
     

     

     
    Would it not be more beautiful with a new line break of some sort, so it will always look like this:
     
    A Screenshot Is Worth a Thousand Words – MacStories 
     

     

    I thought stuffing in a linefeed somewhere, but - of course - no success :-)

     

    /

    okn

    (It's a new year 2016.)

  9. Let me add the following:

     

    The above tweak creates a new note in Notes app with the url in the note body and the title as the name of the note - which is fine!

     

    However, I'd prefer an additional line in the body: the title.

     

    To look like this in the note:

     

    ------

     

    Stay at home dads are all right by me

     
    ------
     
     
    with the title as the name of the note.
     
     
    How would this be done?
     
    /

    with best regards,

    Omar K N

    Stockholm, Sweden

     

     

  10. hi,

     

    Took the chance and expanded the above script a little, and probably it could be streamlighted: 

     to get the title(or name) of the Safari page as Notes title:

     

    ---

     

    property accountName : "iCloud"

    property folderName : "Notes"

     

    on getSafariUrl()

    tell application "Safari" to return URL of front document

    end getSafariUrl

     

    on getSafariTitle()

    tell application "Safari" to return name of front window

    end getSafariTitle

     

    on addNote(theText, theTitle)

    tell application "Notes"

    tell account accountName

    set theNote to make new note at folder folderName with properties {body:theText, name:theTitle}

    end tell

    end tell

    end addNote

     

    on run (argv)

    set theUrl to my getSafariUrl()

    set theTitle to my getSafariTitle()

    my addNote(theUrl, theTitle, "URL from Safari")

    end run

     

    --------

     

    /

    with best regards,

    Omar K N

     

    ( a beginner )

  11. Hi and good day Vítor,

     
     
    This is the debugger message:
     
    Starting debug for 'Test Workflow1'

     

    [iNFO: alfred.workflow.trigger.hotkey] Processing output 'alfred.workflow.action.script' with arg ''

     

     

    Sorry, don't know how to upload a workflow, but what I have is a Hotkey, then a /bin/bash Apple Script:
     
    tell application "Tex-Edit Plus"
    activate
    set bounds of front window to {400, 810, 1280, 1260}
    end tell
     
     

    with best regards + happy new year!

    Omar K N

    Stockholm, Sweden

     
     

     

×
×
  • Create New...