realliyifei reacted to deanishe in Is there any workflow to convert a markdown-format link to a hyperlink-with-text in Words, OneNote, etc.?
It sounds like you need to put a rich-text hyperlink on the clipboard. Alfred can put RTF on the clipboard, but you'll have to generate the RTF yourself.
realliyifei reacted to hangyi in Allow to assign Snippets group to different application
It'll be great useful if we can use snippet groups only when some specific applications activated.
realliyifei got a reaction from Anita2020 in How to release the next version of my workflow to share with other Alfred users? (Mechanism explanation required)
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?
realliyifei reacted to deanishe in How to release the next version of my workflow to share with other Alfred users? (Mechanism explanation required)
Shouldn't be necessary: it defaults to False, IIRC.
The example in the docs is just a context-free example, not real, working code.
I wouldn’t recommend putting the code in the if __name__ == '__main__' clause. It can raise an exception, so it should be wrapped by wf.run(), and it logically belongs with the other item-generation code, not the "execute if this is the main script" code.