Jump to content

realliyifei

Member
  • Posts

    17
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

realliyifei's Achievements

Helping Hand

Helping Hand (3/5)

1

Reputation

  1. thanks it’s added to developer tools now, but new issues:
  2. Is there any reason why this pop out (I bought the apple m1 chip new MBP and reinstall the Alfred, then this happens)
  3. Thanks for recommendation. Two quick questions: 1. If my workflow contains both action and no-action component (both can work individually), can I use both `Run Script` and `Script Filter`? As showed below: 2. Just double check that I don’t need to fill anything on the boxes (keyword, placeholder title, …) and also the variables set below are correct?
  4. I’m creating a workflow that only contains apple script like this, Is there anyway to notify subscriber the update of this workflow in the future? Note that I know how to notify the update by bundle ID via python script. However, here it’s just bundle id so I’m not sure whether it would work the same way, and neither do I know how to test the auto-update since I update my workflow in the local Alfred workflow console first.
  5. Thanks! I switch to Run Script now. But I fail to figure out how to set the app env var in the Alfred for conditional action? Here’s my workflow demo: with the apple script -- Safari tell application "Safari" set tab_idx to index of current tab of front window close (every tab of front window whose index is not equal to tab_idx) end tell -- Chrome try tell window 1 of application "Google Chrome" to ¬ close (tabs 1 thru (active tab index - 1)) tell window 1 of application "Google Chrome" to ¬ close (tabs -1 thru (active tab index + 1)) end try ```
  6. I’m creating a workflow of the same function w.r.t. different browsers depending on which browser is being used, so I set the same hotkey for the links between browser apps and their corresponding AppleScripts. It can work though the workflow highlights the hotkey is overlapped, so I’m wondering is there any better solution? Note that we cannot link one hotkey to two AppleScripts here otherwise it will work on two browser apps simultaneously, which is unnecessary.
  7. I can get the markdown-format link from browser, like [Outer space - Wikipedia](https://en.wikipedia.org/wiki/Outer_space) and it’s convenient to paste to markdown supporting app like Typora, as Outer space - Wikipedia but some apps, like Words and OneNote, don’t support the format. After pasting, it shows as the original code. Is there any workflow can do this conversion automatically by shortcut? In other words, when I have the markdown-format link in my clipboard and press the shortcut in Words or OneNote, a hyperlink-with-text would be generated in my notes.
  8. Good idea. I update it as showed below! Probably the last two questions: 1. Should I add “valid = False” here? It’s not the case from your link but from your repo. 2. Should I put the update module in the position of 1 or 2? Or both are fine? Because the example given in your link and repo is a bit different.
  9. @deanishe Thank you for your reply. I looked through your link and several repos in your GitHub and finally published it on GitHub. Could you please help me to check the self-update part in the main python file? Whether I write it correctly? It’s a very short code so won’t waste you lots of time. I also hope to confirm two things: 1. If I get it right from your link, I don’t need to type `__version__ = 'x.x.x'` and `’version': __version__` in my source code if I assign the version number every time I export the alfredworkflow file (showed as below), which also modify the plist file. In this case, should I keep the version number in my source code? 2. Is it true that up to know, the next time when I release a new version in this Github repo, my users will get the update automatically? Thank you so much!
  10. I’m a newbie to both Alfred development and GitHub version control. I built a new Alfred workflow called Sequential Strings Creator published on Github. I read some documents such as "Exporting and Sharing Workflows” but still confuse about the mechanism of shared release. That is, how should I release the next version so that other Alfred users can get it via the bundle ID? I plan to release the next version by the following steps: Clone the repo from Github remote to local Modify the files and fix the bugs Push the new repo back to the GitHub Release a new version by GitHub with the corresponding alfredworkflow file Is it true that by these procedures, this new version would be received by other Alfred users who use this workflow? Otherwise, what else should I do? Also, is there any method to check whether the release is successfully received by others?
  11. @Vero Thanks. It works! But if I can do it with a shortcut, that would be better. Is it possible to get access to the Alfred Snippet setting itself using Alfred workflow? If yes, I would spend sometimes writing a workflow. Best,
  12. Hi there, IMO adding a turn-on/off shortcut of Alfred Snippet would be extremely convenient... I know that we’re allowed to exclude some apps out of the Alfred Snippet. However, there are always some special cases that I wanna turn off the Alfred Snippet temporarily in the apps where I always prefer Alfred Snippet support.
  13. Underrated snippet! So pity I didn’t figure it out early! Thanks a lot!
×
×
  • Create New...