Jump to content

xilopaint

Member
  • Posts

    894
  • Joined

  • Last visited

  • Days Won

    24

Posts posted by xilopaint

  1. No problem, you were not rude at all. Sometimes I just don't manage to make the question right because I don't understand entirely what my problem is.


    At the end it was a bit more complicated than a simple list, so I created a workflow that generates a dict by user input and the data is stored in a single file using Workflow.store_data().

     

    It was helpful to improve my knowledge on dict.

  2. It's not an issue. I was just trying to figure out if there was a cleaner way of appending data to a datastore than the one I was thinking about. Alfred-Workflow is such an awesome library that in many occasions I try to implement something in a way until I realise that there is an even simpler method of achieving my goal.

     

    Sorry for bugging you with dumb questions. My English is too bad and my coding skills are even worse.

  3. Hey @deanishe. I am building a workflow for my personal use in which I will need to store strings (dozens of phone numbers and a few places) for later use. Considering the simplicity of the data it would be better achieved with Workflow.settings or I should use Workflow.store_data()?


    As for Workflow.store_data(), is it possible to add new data in the same cpickle file? I have read in the docs that "datastore does NOT support mutliple threads", so it means the answer is no?


    If it's not possible maybe I should use Settings API in order to avoid having a bunch of files in the data folder, right?

  4. 36 minutes ago, nikivi said:

    Thank you @vitor

     

    Works perfectly for me too. I set my interval to 5. I think it's a pretty good interval.

     

    You shouldn't have edited your post. I will repost it here for the sake of discussion:

     

    Quote

    Okay I tested it and it doesn't work for me.


    I tried to use it on this workflow. I released new version v1.4.2


    And changed current workflow version of the workflow I linked to 1.4.1.


    Running the workflow then gets me no update prompt.

     

    I downloaded your workflow and didn't manage to update in the first attempts as well (don't have a clue why). After some attempts it started to work. The same thing occurred when I tried to test with my workflow, but I didn't tell anything here because I thought I was missing something.

     

    Now I'm afraid there's some unpredictable behaviour with @vitor's implementation of the new feature. I hope I am not misleading here. It's a very welcome feature.

  5. 3 minutes ago, Andrew said:

    If you miss step 2, then it works fine. The single tap on one of the nodes obviously selects that single node.

     

    Just 3 finger drag a selection, then 3 finger drag immediately.

     

    Here is the opposite. If I miss the step 2 it doesn't work in Alfred. In the rest of macOS I don't need the step 2.

  6. 2 hours ago, Andrew said:

    Are you tapping between making the selection and dragging?

     

    No. Now I see that if I do a "explicit" tap between one thing and other I can move all nodes at once which is pretty weird. It's not consistent with the macOS normal behaviour, just try to three finger drag multiple files in Finder and you will note that "explicitly" tapping after 3f selecting is not required to 3f dragging all of them.

  7. On 10/1/2017 at 7:15 AM, Andrew said:

    I just enabled 3 finger drag on my iMac with magic trackpad 2, and can three finger drag a selection then three finger drag the objects around in Alfred's workflow editor.

     

    This is using 3.5 and 10.12.6, same config as you.

     

    Is there something else I need to do to reproduce this not working?

     

    You have to enable three finger drag and Tap to click.

     

    0QJVXM2.png

  8. 3 hours ago, flatcoke said:

    if It doesn't work with alfred3 

    try to fix tinypng_config script 

     

    PREFS="$HOME/Library/Application Support/Alfred 3/Workflow Data/carlosnz.tinypng"

     

    It may be Alfred 2 folder in your setting

     

    Changing the data folder path will not fix any issue with the workflow. Additionally, hard-coding the data folder path is not a good practice as you can use the environment variable like I told four posts above yours:

     

     

  9. 33 minutes ago, deanishe said:

     

    Not against that German side, tbh. That was the worst team the Germans have had in 50 years, and their only genuinely world-class player, Kahn, literally dropped the ball at Ronaldo's feet for the first goal.

     

    True. Are you English, right? One of the greatest Ronaldo's performances I remember was against ManU in UCL when he was applauded in Old Trafford:

     

     

    Unfortunately, that was not enough and Real Madrid ended up losing the match. I don't know why but I think the games of nowadays don't have those epic feelings.

     

    Btw, what happens with the English team in World Cups? You guys seem to never display all your perceived potential.

×
×
  • Create New...