Jump to content

dit7c1

Member
  • Posts

    10
  • Joined

  • Last visited

Posts posted by dit7c1

  1. @Stephen_C

    hello!

    yesterday I reached the limit of messages to send, because of this I could not reply...

    I followed your advice and it worked!!! thanks

     

    To be honest, I don't remember earlier (initially) such a window may have been missed in a hurry or it did not exist at all.

     

    just in case, I will describe my steps, maybe it will be useful to someone:

    delete cleanshot x.

    just in case, reset the default workflow and delete the cleanshot x workflow.

    I rebooted the device just in case.

    settup the workflow.

    installing the cleanshot x application.

    the final stage, we call the search bar alfred, Vadim cs (or what you set by default), and here it is the cherished window with a request for permission - we agree!


    thanks all!

     

  2. 26 minutes ago, Vero said:

    @dit7c1 You can review permissions in macOS's System Settings > Privacy & Security, where you can check you've granted Alfred appropriate access under:

    • Accessibility: This is a single toggle that should be enabled
    • Automation: If Alfred is listed here, click "Alfred 5" to see the applications for which Alfred has requested control. You should ensure these are all toggled to the right
    • Full Disk Access: Single toggle, should be enabled

    All of the above may not be relevant for the CleanShotX workflow, but will ensure your Alfred experience is as smooth as it should be :)

     

    @Vero @Stephen_C

    Guys, first of all, thank you for helping!

    I checked the permissions and saw that there is no cleanshot x in the automation list!

    how do I add it there?
    maybe I'm somehow incorrectly installing the workflow (I install it with a double click), maybe I need to do something else?

     

     

    Системные настро000140.png

  3. Quote

    The List Filter could be used in the way you describe, where each list filter option can be connected to a different action.

    Great, can you help me, tell me in stages.

     

     

    Quote

    Before diving too deep into creating this, have you had a look at the existing screenshot workflows on Alfred Gallery, which might suit your needs or provide a good starting point?

    There is a workflow in this list that suits me, BUT this process does not work for me for some reason (((

    workflow https://alfred.app/workflows/stephenc/cleanshot-x/

     

     

    Quote

    There are also a few different VPN-related workflows, including the Network workflow that lists your configured VPNs for you to choose from that might do exactly what you need.

    unfortunately, none of the suggested workflows are suitable ((

    I use vpn ZyWALL SecuExtender and AdGuard VPN, these VPNs work exclusively through their applications according to their protocols.

    I tried it. https://alfred.app/workflows/mrodalgaard/network/
    installed - opened the alfred search - entered a vpn - received an empty list
    Most likely, they are looking for vpn profiles (which are created by hand) that I do not have.

  4. 24 minutes ago, Stephen_C said:

    When you first ran the workflow did you receive a system prompt asking you to confirm that Alfred should be allowed to action CleanShot X?

    I may be wrong, but I don't remember that... how do I check this?

  5. Hi, I have a number of questions...
    1. How should the list Filter be used (in what cases?
    For example, I want to do something like this:
    a. call alfred.
    b. enter the word "screenshot".
    c. see the suggested options with keyboard shortcuts (screenshot of the window, screenshot of the area, etc...)
    d. after selecting an option with actions, perform a keyboard shortcut (for example, screenshot of a certain area cmd+shift+4).

    I thought the list Filter worked like this:
    I fill in the menu and set a key combination for each menu field.
    But apparently I misunderstand how it works...


    2. How to interact with applications from menubar (upper, right part of the screen)?
    For example, I have a vpn to connect to an office network, I would like to make a process that connects this vpn without using a mouse and invisible to the eyes.
    Visually, it looks like this: clicking on the application icon - selecting the "Connect" item - selecting the "Connect My office" sub-item.
    So far, I've done this via applescript, but it confuses me that I see actions taking place (like clicking on an application, like clicking on a menu item and going to a sub-item, like clicking on a sub-item).

    on run
    	
    	tell application "System Events"
    		click menu bar item 1 of menu bar 2 of application process "ZyWALL SecuExtender"
    		delay 0.2
            
    		click menu item "Connect" of menu 1 of menu bar item 1 of menu bar 2 of application process "ZyWALL SecuExtender"
    		delay 0.2 
            
    		click menu item "Connect Намёткина" of menu 1 of menu item "Connect" of menu 1 of menu bar item 1 of menu bar 2 of application process "ZyWALL SecuExtender"
    		delay 0.2
    	end tell
    	
    end run

     

    thanx!

  6. 14 minutes ago, Stephen_C said:

    @dit7c1 what happens when you simply use CleanShot X (i.e., without running it through the Alfred workflow)? Do you get access to all the utilities and do they work?

     

    Stephen

     

    when using clean shot x (WITHOUT using alfred and workflow) everything is working correctly!
    that is, if I click on the cleanshot x icon in the menu and select some action, for example, "capture area", everything will work well (as expected).

    but, using alfred + workflow - does not work ((

  7. here is the long log I was talking about (which I couldn't reproduce)

     

    [22:56:31.546] CleanShot X[Script Filter] Deleted expired script output

    [22:56:31.553] CleanShot X[Script Filter] Queuing argument '(null)'

    [22:56:31.581] CleanShot X[Script Filter] Script with argv '(null)' finished

    [22:56:31.585] CleanShot X[Script Filter] {

      "cache": { "seconds": 3600 },

      "items": [

        {

          "title": "All-in-one mode",

          "subtitle": "Choose your CleanShot utility on screen",

          "arg": "all-in-one",

          "icon": {

            "path": "./Images/All-in-one mode.png"

          },

          "uid": "all-in-one-mode"

        },

        {

          "title": "Annotate clipboard image",

          "subtitle": "Annotate an image from the clipboard",

          "arg": "open-from-clipboard",

          "icon": {

            "path": "./Images/Annotate.png"

          },

          "uid": "Annotate clipboard image"

        },

        {

          "title": "Open Annotate",

          "subtitle": "Open the Annotate utility",

          "arg": "open-annotate",

          "icon": {

            "path": "./Images/Annotate.png"

          },

          "uid": "Open Annotate"

        },

        {

          "title": "Area capture",

          "subtitle": "Take a screenshot of a selected area on screen",

          "arg": "capture-area",

          "icon": {

            "path": "./Images/Capture area.png"

          },

          "uid": "Area capture"

        },

        {

          "title": "Area capture with self-timer",

          "subtitle": "Capture a selected area using self-timer",

          "arg": "self-timer",

          "icon": {

            "path": "./Images/Self-timer.png"

          },

          "uid": "Area capture with self-timer"

        },

        {

          "title": "Full-screen capture",

          "subtitle": "Take a screenshot of the full screen",

          "arg": "capture-fullscreen",

          "icon": {

            "path": "./Images/Capture full screen.png"

          },

          "uid": "Full-screen capture"

        },

        {

          "title": "Open history",

          "subtitle": "Open CleanShot history",

          "arg": "open-history",

          "icon": {

            "path": "./Images/Capture history.png"

          },

          "uid": "Open history"

        },

        {

          "title": "Previous area capture",

          "subtitle": "Take a screenshot using the previous area",

          "arg": "capture-previous-area",

          "icon": {

            "path": "./Images/Capture previous area.png"

          },

          "uid": "Previous area capture"

        },

        {

          "title": "Record screen",

          "subtitle": "Make a recording of the screen",

          "arg": "record-screen",

          "icon": {

            "path": "./Images/Record screen.png"

          },

          "uid": "Record screen"

        },

        {

          "title": "Scrolling capture",

          "subtitle": "Take a screenshot of a scrolling area",

          "arg": "scrolling-capture",

          "icon": {

            "path": "./Images/Scrolling capture.png"

          },

          "uid": "Scrolling capture"

        },

        {

          "title": "Text capture",

          "subtitle": "Capture text (OCR)",

          "arg": "capture-text",

          "icon": {

            "path": "./Images/Capture text.png"

          },

          "uid": "Text capture"

        },

        {

          "title": "Window capture",

          "subtitle": "Take a screenshot of a window",

          "arg": "capture-window",

          "icon": {

            "path": "./Images/Capture window.png"

          },

          "uid": "Window capture"

        }

      ]

    }

    [22:56:31.587] CleanShot X[Script Filter] Script output cached for 3600 seconds

    [22:56:34.963] CleanShot X[Script Filter] Processing complete

    [22:56:34.984] CleanShot X[Script Filter] Passing output 'capture-area' to Open URL

  8. 4 hours ago, vitor said:

     

    When reporting issues, please include your exact installed versions of:

    • The Workflow.
    • Alfred.
    • macOS.

    In addition to:

    • The debugger output. Perform the failing action, click “Copy” on the top right and paste it here.
    • Details on what you did, what happened, and what you expected to happen. A short video of the steps with the debugger open may help to find the problem faster.

     

     

    Apple MacBook Pro (M3 Pro 18 gb)
    mac OS Sonoma 14.4 (23E214) latest
    CleanShot X 4.6.2 (4f80db4) - latest (OS permissions granted)
    Alfred 5.5 Build 2257 - latest (OS permissions granted)
    CleanShot.X.alfredworkflow v1.4 - latest
    (with https://github.com/Stephen-Lon/Alfred-workflow-cleanshot/releases/tag/v1.4)

    video (Dropbox)

     

    what I expect:
    I expect to take a screenshot using alfred and the CleanShot.X.alfredworkflow workflow

    how I think it should work:
    1. Open the alfred search box.
    2. Enter csx or cs. 
    3. Select the desired action from the suggested one (none of these actions work for me).

    The behavior is strange, someone works, and someone does not...
    Only once I managed to make the screenshot action work, moreover, the debug does not work completely either, once I was shown a longer log there was something like "menu actions", but I did not see this anymore and I don't know how to reproduce it.

    I uploaded the video to dropbox (you can watch it without registration), there is a limit of 1 megabyte to upload here

     

    reinstalling and resetting alfred's settings did not help. 
    reinstalling the CleanShot.X.alfredworkflow workflow did not help.

     

    log debug

    [21:56:39.347] CleanShot X[Script Filter] Using cached script output. Expires in 3131 second(s) [Flush]

    [21:56:45.862] CleanShot X[Script Filter] Processing complete

    [21:56:45.870] CleanShot X[Script Filter] Passing output 'capture-area' to Open URL

    [21:56:51.859] CleanShot X[Script Filter] Using cached script output. Expires in 3119 second(s) [Flush]

    [21:56:57.149] CleanShot X[Script Filter] Processing complete

    [21:56:57.155] CleanShot X[Script Filter] Passing output 'open-history' to Open URL

    [21:57:16.422] CleanShot X[Script Filter] Using cached script output. Expires in 3094 second(s) [Flush]

    [21:57:19.834] CleanShot X[Script Filter] Processing complete

    [21:57:19.844] CleanShot X[Script Filter] Passing output 'self-timer' to Open URL

    Alfred Preferences000132.png

    cleanShotX.png

  9. 11 minutes ago, jesused said:

    Hi!


    It's strange (I'm a user) but honestly it should work because I also use the 5.5 (powerpack).

    Have you checked that you have the key "cs" in the extension configuration file?

    Sample capture :)

    hmm...
    let's just say I'm a new user of Alfred))
    Maybe I didn't understand how this extension should work, I thought so:
    1. I must have the Clean Shot X program installed! - it is installed.
    2. I'm installing an extension for Alfred! - it is installed.
    3. in the Alfred search bar, I enter csx (this word was used when installing the extension) and select any action suggested by cleanShot X (for example, Area capture). And here it doesn't work anymore.

  10. Hi!

    I have updated Alfred to the latest version (Alfred 5.5 Build 2257, Monday 18th March 2024)
    I downloaded your extension from github v1.4, but it doesn't work for me ((

    I run Alfred - I enter csx - and the actions don't work
    Am I doing something wrong, or?

    Thanks

×
×
  • Create New...