Jump to content

godbout

Member
  • Content Count

    125
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by godbout

  1. hey thanks! only scratching the surface for now, i'm going through 100 days of Swift (https://www.hackingwithswift.com/100) at slow pace. not in a rush, and need to get used to the syntax. keeping your links for dessert!
  2. alright, thanks. i like learning new things but i also only learn things i'm gonna use for use. i'm thinking about building something for macOS, so i'm wondering. seems Swift should be the way to go. i played a bit with Objective-C a few years back but definitely not enough knowledge, so it would make sense to go directly for Swift i guess. then i thought maybe i can also compile stuff for Alfred? anyways, just thinking out loud. thanks again.
  3. @deanishe any experience with Swift? having a look around and types available seem very similar to Python.
  4. ahhhh yes, you're right. i probably check if there's a timer already running each time the script is launched. now it's coming back to me. the first version of the Workflow had a lame cache system that would avoid this, but that brought other problems. i decided to go for less issues, but also less optimized, matching selfishly the way i use the Workflow (restart past timers). makes me thing i should add comments in my code, not about what the code does, but about why it does it. thanks! although, the Alfred Music Volume one should be another totally different issue. ma
  5. fuck. instant feedback. your SSH Workflow. amazing. both on my 2020 MacBook Pro but also on my late 2012 iMac 27. my Time Workflow is slow on both machines 😂️ that's excellent. i had no idea. it's very hard with your Workflow to miss the last few letters typed. super nice experience. dilemma. i've been through several books of Python in order to develop and help maintain some plugins for Sublime Text. thought it might help for Alfred Workflows too, but now it doesn't seem so. i have zero knowledge of Go, and not sure i wanna go through another language. thought my PHP libraries to
  6. but that happens because of the "Terminate previous script" option. the script doesn't have time to run and return the items to be displayed. if i switch to "Wait until previous script finishes", then you see the changes "live", with a little delay. the same delay as with the "Terminate previous script". but in the latter case i'm not calling the script 300 million times 😂️ or maybe i'm completely out of my mind and don't get it. which is a strong possibility.
  7. checked. i already had set those settings. smart. my script then. actually i couldn't say how long is the delay after the last character. 50ms? 200ms? no idea. anyways, works for now. will investigate again at the next Workflow. yeah, a few years back. that's probably why the doc hasn't changed since 2016. a pity. and it doesn't seem to go in the right direction 😭️😭️😭️
  8. yeah ok, so nothing new here. i'm pretty sure i've been through that before but couldn't make things run smoother. thanks for the time @deanishe!
  9. btw is it just me or Big Sur menubar menus suck big time? i can't access items through AppleScript, and not even navigate through basic keyboard arrow keys. UI is good but UX seems really going backwards.
  10. well that might be one thing but as shown below, i'm having the issue even with a Workflow that purely grabs the user input: so there might still be something i'm doing wrong, or some option to tweak somewhere in the Workflow? regarding JXA, yeah i got a few people reporting issues with Big Sur about some Workflows. thought it was a good time to dig deeper into AppleScript but after checking out a couple of books i've decided to go to JXA instead, as i'm already more proficient in that area. any recommendation for docs? seems it's quite scarce. (JXA Cookbook
  11. well to be honest i build stuff and use them but quickly forget how i did them 😅️ so no, i'm not sure i came up again with building a Workflow and had to deal with this issue. i think currently i have this one, and Alfred Time. but in Alfred Time i only use the "restart" a timer, so i never have to type a description, so i never "felt" the issue again. for the Music Volume Workflow, i actually find that i never need to know the volume so i didn't bother trying to find a better way. but i'm curious and was hoping that @deanishe confirms (or the opposite) that i'm not doing anything
  12. it probably got scared and understood correctly it'd better behave.
  13. try this: system_profiler SPBluetoothDataType 2>/dev/null | grep -B3 "Minor Type: Headphones" you should get 4 lines as a result. first should be the name of your AirPods. please check and let me know. second is your AirPods MAC address. this should tell us if the Workflow is grabbing the right MAC address. if yes then we need to dig deeper.
  14. well i forked the original Workflow because it didn't work for me. maybe you need to fork mine and make your own 😂️😂️😂️ ok i'll have a look, but might need some back and forth to debug, if you want this solved.
  15. can you run the following in your Terminal: grep -iA6 '"'"$(grep -B2 "Minor Type: Headphones" <<< $(system_profiler SPBluetoothDataType) | awk '/Address/{print $2}')"'"' <<< $(defaults read /Library/Preferences/com.apple.Bluetooth) and show me the result at the end, close to your next prompt. should show something like the pic i'm attaching.
  16. ah yes, issues were not enable by default sorry. probably coz it's a fork. fixed. can you try the original Workflow and see if you have the issue too: https://github.com/BeneathCloud/AirpodsBattery which version of macOS are you on? thanks.
  17. 4.2.0 is out: https://github.com/godbout/alfred-time/releases/tag/4.2.0 * filters out archived project for Toggl * lists more projects for Clockify (148)
  18. hey, glad it helps. thanks for taking the time to comment.
  19. 4.0.0 is out: https://github.com/godbout/alfred-time/releases/tag/4.0.0 bumped to 4.0 because dropping PHP7.2 but most importantly: adds Clockify support! enjoy.
  20. it is now renamed `Alfred` rather than `Alfred 4` in Dash, as i'll keep distinct versions. also `Alfred 4 (4.1)` looked too ugly 😂️
  21. nice workflow, thanks! added closing the tab in safari/chrome once it's opened in the other browser. very useful, thanks again.
×
×
  • Create New...