Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


armenaton last won the day on August 10

armenaton had the most liked content!

Contact Methods

  • Twitter
  • Website URL

Profile Information

  • Location

Recent Profile Visitors

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

armenaton's Achievements


Member (4/5)



  1. Over last couple of weeks, I compiled a bunch of features related to Obsidian. It's already been tested by a bunch of people from the Obsidian Community, so should be rather stable. Noticed at some point that I only shared it in the Obsidian Forum and not the Alfred Forum, so here it is. 😅 (I know that there are other Obsidian workflows, but they mostly focus on stuff like daily notes and after all have a very different feature set.) Full Feature List - Search your Vault (Open note, append clipboard, open in new pane, copy hook, ...) - Fully browse your vault folder structure via Alfred - Open Starred Files/Searches - Open Recent Files - OCR Screenshots (see image below) - Search the Obsidian Documentation - Search Community Plugins and directly open them in Obsidian or GitHub - Search & Preview Community Themes - Create Backups of your Vault - Enter Dual Mode (Edit + Preview) - Create a new note - Open various folders in .obsidian - Open the Obsidian settings - Toggle a CSS Snippet - One-Click-Convert a font file to base64-CSS - Open your current theme CSS file - Access your themes and snippets via Alfred - Quickly create a new CSS snippet from clipboard content - Display a list of Obsidian's default variables ➡️ Download the latest release at GitHub ➡️ Documentation of all the Features and Settings
  2. Well, most of the posted solution work for me, however they tend to be a bit buggy sometimes. As I soon figured out, the issue was keystroke q when the query contains certain characters like tildes, or backticks, keystroking them one after the other results in wrong input. Simply trying to cd into your iCloud drive already fails, because of the tildes in the folder path. So what I have done instead is to use the clipboard to paste the content instead – this seems to be more robust, with the drawback of "loosing" your current clipboard content, however. (I thought about temporarily storing your current clipboard and then switching it back, but it seems that this causes the script to fail with bigger clipboard contents like files.) I also changed it so a new tab instead of a new window is opened, which unfortunately prevents the identification of a new window being open which makes @deanishe's script so quick. Here is the result: on hyper_new() set _running to (application "Hyper" is running) tell application "Hyper" to activate tell application "System Events" log (name of first application process whose frontmost is true) repeat while (name of first application process whose frontmost is true) is not "Hyper" delay 0.05 end repeat set _hyper to first application process whose frontmost is true -- If Hyper was running, create a new tab to run command if _running then keystroke "t" using {command down} delay 0.25 end tell end hyper_new on alfred_script(q) my hyper_new() set the clipboard to q tell application "System Events" keystroke "v" using {command down} delay 0.2 key code 36 end tell end alfred_script
  3. love also the icons! Only needs some sort of outline – with a dark theme, it does not look too good
  4. Found the time to try out the new 4.5 release and I love it! Other than a few mentionings in the Thread on the 4.5 beta, I haven't found many showcases of the new Universal Actions feature in this forum. Maybe we could share some usecases? Here is a workflow with a bunch of (mostly simple) Universal Actions: Text Actions - Titlecase - Lowercase - Uppercase - Poor Text (removes formatting) - Transform Spaces to Tabs - Append to Clipboard (similar to Alfred's built-in function, but with manual hotkey and with universal action) - Calculate the sum of all numbers in the selected text. Negative numbers are supported, as are both "," or "." as decimal separators. (Thousand separators are not supported though, as they would create ambiguous cases.) - Run Brett Terpstra's SearchLink, which fetches the URL and creates a markdown link of the selected text. URL Actions - URL Encode - URL Decode - Create compact markdown link - Create compact markdown link of all URLs in selecting (actually a Text Action...) - SearchTitle: Fetch the title of the URL and create a Markdown link (basically the opposite of SearchLink) Download: https://drive.google.com/file/d/16Fnkj8wXxxNYlLTcEO-m8YHOobADLZE9/view?usp=sharing
  5. Oh, you are right – I indeed recently install the better-dictionary workflow. I was a bit confused, as I did not receive any "extra" notifications. Thanks for the info!
  6. Not totally sure what is going on, but I think since upgrading to 4.5, I get the following notification every time I restart Alfred. However, I cannot really tell what "experimental feature" I may have activated? In the 4.5 changelog, there isn't any mentioning of new experimental features, and I am not aware of turning on anything like that. I am not sure whether I accidentally did something? Maybe I am totally dense, but I went through all Alfred settings and could not find anything. Can someone point me to what happened?
  7. The issue While you can change the font size of Alfred, the font size at some places of the Alfred preferences are relatively small and cannot be changed. Most notably, the font size of "Run Script" and "Script Filter" are annoyingly small as you use both of them for more than just one line (compared to, for example, the "Replace" Utility). Other areas of the Alfred preferences with small font size where you write a little bit more are snippets, "Copy to Clipboard", or "Run in Terminal". Alternatives tried - Decreasing the Mac OS Resolution to increase font sizes system wide. To a certain degree this helps, but the font size in some Alfred Preferences are still much smaller than in other apps, and decreasing resolution even further has weird results (and unreasonably big fonts...) in other apps, so it is not really an option. - Using an "External Script" when it comes to "Run Script" and "Script Filter" to write the code just in your own text editor. This is the solution I mostly use right now, but it's also not perfect: it is often impractical to create an external script just for a few lines of code. Also, this solution does not work in other Areas like Snippets or "Run in Terminal". How the issue could be resolved Offer an option somewhere to increase the font size in Alfred Preferences.
  8. Just in case anyone is following this, I just released version 2.0 with vastly reworked and simplified UI for all those Zotero-users who are trying out Alfred for the first time: https://chris-grieser.de/pandoc_alfred
  9. oh, you are right, thanks, fixed it.
  10. Oh, and as many people here recommended the last time I published a workflow, I ditched Applescript and picked up some Javascript (and Bash) for this workflow. 🙂
  11. Workflow for Alfred that enables various interactions with Steam launches a game, directly without opening the game library installs from the Steam library uninstalls a game creates a shortcut for a game* searches the Steam Store – in the App or the default Browser launches your wishlist validates game files activates product launch Steam in Big Picture (+ there is a remote trigger for this) automatic updates via OneUpdater Download the Latest Release --- *creating an alias by right-clicking the game in the Steam library does not work in the current Steam version, so this is basically a workaround For any issues/ideas/feedback, feel free to reply here, report an issue at Github, or contact me via info on my website.
  12. What is does This Alfred workflow enables academic citing and publishing with any markdown app like iA Writer, Ulysses, or Scrivener. It does so by offering a Zotero Citation Picker for Pandoc Markdown Citations and by automatically converting Markdown files into `.docx`, `.pdf`, or `.html `with the proper bibliography. This workflow is made for academics like me who neither like Word nor LaTeX. As the name suggests, this workflow is basically a user-friendly interface for Pandoc, allowing you to make use of Pandoc's vast capabilities without ever needing to open the Terminal. Demo Image Download ➡️ Latest Release on GitHub Usage & Installation Guide ➡️ Complete Information on Usage, Installation, & Initial Setup
  13. Thanks (again)! yeah^^ Well thing is, I am not really a coder, only had some computer science classes in school. Up until now; I mainly used Applescript to automate very small stuff, never wrote something with more than ~15 lines of code. Now this Pandoc workflow is the first bigger thing I am ever writing. It was fun, but as coding is neither my day job nor my side job, I don't whether I am ever going to code so much again. But if I do, I will strongly consider using a language other than Applescript. More than one time, I ran into some really unnecessary problems due to it.
  14. So I want to use Applescript (osascript Script Action) to read some variables from the workflow environment. While everything works smoothly, I encountered an issue when the variable included special characters, in my case the German Umlaute (ä ö ü). Via some testing, I could isolate the issue to this: set original to "ä" --this string has also been saved as {var:test} in the Alfred Workflow Envrionment set no_encod_specified to (system attribute "test") set utf8 to (system attribute "test") as «class utf8» set utf16 to (system attribute "test") as Unicode Text return original & " " & no_encod_specified & " " & utf8 & " " & utf16 --result: "ä aÃà aÃà aÃà" Applescript itself handles the special characters correctly, Alfred by itself, too. Only in this case the text is not read properly. When googling for the problem a bit, I quickly ran into some explainers how applescript can read files properly as utf8 or utf16. Bus as displayed in my code example, it didnt help either. I assume I should not the first one to have this issue, but the only thread on it recommended to use sth different than applescript 😕 isn't there a good solution for this?
  15. Is there a reason to do so with one Scripting action but not the other? It took me actually a while to figure out Alfred does this, as I kept looking for errors in my code. Also makes some further actions a bit intransparent, e.g. Alfreds Conditional Utility does not recognize the line break as \n, but (seemingly) only in its "invisible" form.
  • Create New...