raguay.customct

Member
  • Content count

    642
  • Joined

  • Last visited

  • Days Won

    9

raguay.customct last won the day on January 26

raguay.customct had the most liked content!

About raguay.customct

  • Rank
    Advanced Member

Contact Methods

  • Twitter
    @CustomCT
  • Website URL
    http://customct.com

Profile Information

  • Gender
    Male
  • Location
    Tak, Thailand
  • Interests
    preaching, programming, tatting, crocheting, and knitting!

Recent Profile Visitors

2,213 profile views
  1. Yes, I would love to be able to trigger a text cleaner using ;clean:<name>; where name is the name of the cleaner to use. Would be nice in the normal snippets and the workflow snippets.
  2. I get the message whether Numi is open or not. The version that you get with Setapp must work differently.
  3. It doesn't seem to work with the Numi that comes with SetApp.
  4. It would be nice if Alfred could eject volumes mounted by CloudMounter and Expandrive instead of having special workflows for them.
  5. Okay. I've been using Scriptarian, but I can't get it to produce stack binaries.
  6. Thanks. It is working now. What framework are you using for the automation. I love that it is getting services too!
  7. I've found this script to work better. If you don't have the application, the above scripts will not work as well. This script doesn't stop working if you don't have one of the applications. I've also have other file managers in the list. This is what I use for my Alfred Browser workflow. on pathFinderFile() set appname to "Path Finder" tell application appname set pathfinderselection to selection if pathfinderselection is missing value then display dialog "Nothing selected" buttons {"Oh, crud..."} default button 1 return end if set pathfinderpaths to "" repeat with i from 1 to count of pathfinderselection set pfItem to item i of pathfinderselection -- Corrects for error when hidden files are showing try set currentpathfinderpath to (POSIX path of pfItem) set pathfinderpaths to pathfinderpaths & space ¬ & quoted form of currentpathfinderpath end try end repeat return currentpathfinderpath end tell end pathFinderFile on finderFile() set appname to "Finder" tell application appname try set filep to selection as alias list set finderSelection to POSIX path of filep on error display dialog "Nothing selected" buttons ¬ {"Curses, foiled again!..."} default button 1 return end try end tell return finderSelection end finderFile on commanderOneFile() set appname to "Commander One" tell application appname to activate tell application "System Events" keystroke "c" using {command down, control down} delay 0.5 end tell return the clipboard end commanderOneFile on fmanFile() set appname to "fman" tell application appname to activate tell application "System Events" key code 103 delay 0.5 end tell return the clipboard end fmanFile set fileName to "testing" set frontmostProcessName to "name" tell application "System Events" set frontmostProcess to first process where it is frontmost set frontmostProcessName to name of frontmostProcess as text end tell if frontmostProcessName is "Finder" then set fileName to finderFile() else if frontmostProcessName is "Path Finder" then set fileName to pathFinderFile() else if frontmostProcessName is "Commander One" then set fileName to commanderOneFile() else if frontmostProcessName is "fman" then set fileName to fmanFile() end if return fileName
  8. You need to recompile using static linking. It's requiring a dynalib that I don't have: Code 6: dyld: Library not loaded: @rpath/libswiftAppKit.dylib Referenced from: /Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.85FE278A-FF20-4A2A-919E-8DE7DC7D1C62/./menu Reason: image not found
  9. First, install Hammerspoon. Then run "hs:install" in the Alfred prompt. Whatever hotkey you assigned Alfred to, press that. The default is <command>+space. You should then be able to use the rest of the commands in the workflow. Have fun!
  10. Yes, I split up the repository to Afred 2 and Alfred 3. Here is the link to the latest: https://github.com/raguay/MyAlfred/blob/master/Alfred 3/TextSoapCleaners.alfredworkflow You can see all of the workflows at https://github.com/raguay/MyAlfred/
  11. Here is a quick and easy workflow to do what you want. You will have to assign the hotkeys for each one. It allows you to either open the current OSX selection or clipboard in either chrome, firefox, or safari. You can get it here: https://www.dropbox.com/s/8kkpcjbzr2sde05/Open URL with hotkey.alfredworkflow?dl=0 Examine it and you will see that it is very easy to create workflows like this. There was no programming involved. So, go and experiment.
  12. The workflow works great on Alfred 2 or Alfred 3. The latest version with things for Alfred 3 only can be downloaded from my GitHub account: https://github.com/raguay/MyAlfred/blob/master/Alfred 3/HammerspoonWorkflow.alfredworkflow. It is often easiest to download the whole repo and load the workflow you want to use. I'm not sure which version is on Packal right now (I haven't had time to update it there yet).
  13. The website does that automatically. It'n not suppose to on code blocks, but it does. I've requested the fix several times. But, you can get the files from the download. I always use a TextSoap cleaner to fix them.
  14. Just to let you know, my latest Alfred tutorial is now live: https://computers.tutsplus.com/tutorials/exploring-alfreds-latest-features--cms-27910
  15. I've been experimenting with a new theme and found these funnies. The rounded corner doesn't work for every situation. Some of the corners are still square for different areas (Alfred prompt, Alfred prompt with incomplete keyword, Alfred file browser, and Alfred's clipboard menu).