Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by raguay.customct

  1. Hi, I have been compiling commonly misspelled words from my experience and from others for a while. I used to have the list in TextExpander, but I just moved them over to Alfred 3 since I quit using TE. If your interested, I have them here: https://db.tt/gcJPuiEv. Maybe Packal will get a snippet category as well. (hint)
  2. No. It supplements it. Alfred currently doesn't have any way to get to the clipboard history from any type of script, environment variable, etc. Therefore, if you need that kind of information you will have to have a supplementary piece of software to fill in the gap. I use Keyboard Maestro for that functionality, but CopyQ is free. I have asked for it in the "Alfred Feature Suggestions" forum.
  3. In Alfred alone, no. You can if you install CopyQ and use it's script interface to be past clipboard entries. Works pretty good, but I have found times when CopyQ doesn't catch a new clipboard item. You can get it here: https://sourceforge.net/projects/copyq/
  4. The keyword is having any beginning and trailing spaces removed upon import. Since I am importing a large number of whole word matches, they have to have the leading and trailing spaces to match properly. You can see the import file here: https://db.tt/gcJPuiEv.
  5. Cursor movement like this is best done in the editor itself. For example, Sublime Text allows snippets to have many cursor locations and you tab to each one to fill them in. That would never work for any generic application. It works for Sublime because the program is in complete control of itself already. It's not hacking the UI to get an effect. My Quiver Snippet workflow (and the plain file version as well) uses Keyboard Maestro or TextExpander (which I quit supporting since I no longer use it) to move the cursor to a single location. The Keyboard Maestro solution is buggy since it is forcing the back arrow key. For short distances, it does fine. But for a lot of text, it misses quite often. Part of the bugs is that you are not sure when the system will paste the text to start the backtracking. When the system is running hard, even TE got it wrong a lot of the time. But, multiple locations would never work by stuffing the input buffer as these programs do.
  6. I'm working on uploading all my workflows udated to Alfred 3, but I have over 50 of them. So it is taking a little while. I'm also working on a tutorial for Tuts+ about Alfred 3. Stay tuned for it's publication.
  7. It is faster on Alfred 3 because Alfred 3 is much faster, or as I said, snappier than Alfred 2. I have the workflow updated to Alfred 3, but they have asked us not to upload them to Packal and such until Alfred 3 is out of beta. Should be in a couple of weeks.
  8. Thanks. I am glad you like the workflow. It is the workflow I use the most too! If you do not copy the last lines carriage return, then it doesn't count that line as a full line. I always copy past the last line to get the carriage return and the count always comes out fine. I'll look into adding a detector for the last line not having a carriage return and add one if needed. That would be a more robust solution. But, I've converted everything to Alfred 3 now. Since they do not want us updating everything until Alfred 3 is out completely, you will need to wait until Alfred 3 is fully released to get the full update. For now, just copy past the last CR and your count will be fine. The routine uses the wc command line program. It is a peculiarity with that program. I also noticed that I did not package the "Clean For Word Count" cleaner with the workflow. If you create a cleaner with that name, you can specify actions to clean unwanted items (ie: - / \ * and the like) from the text before counting it. That way, your character count will be accurate to actual words and not punctuations. The wc program doesn't always get it right .
  9. If you use JavaScript for Automation (JXA), you can use this to get environment variables: ObjC.import('stdlib'); var alfver = $.getenv('alfred_version').split(".")[0]; var alfapp = "Alfred " + alfver; var appAlfred = Application(alfapp); appAlfred.includeStandardAdditions = true; appAlfred.runTrigger("OpenDir", { inWorkflow: "com.customct.AlfredBrowser", withArgument: "{query}" }); It is run by oscascript with the "-l JavaScript" flag. This example get the Alfred version for knowing which Alfred to call and external trigger.
  10. Can you open the workflow in Alfred, click on the t:addtask box, click the debug button (looks like a bug in the upper right corner), and post the messages that show up. You can read my tutorials on Alfred workflows to understand how they work: https://computers.tutsplus.com/tutorials/alfred-workflows-for-beginners--mac-55446 http://computers.tutsplus.com/tutorials/alfred-workflows-for-intermediates--mac-60557 http://computers.tutsplus.com/tutorials/alfred-workflows-for-advanced--mac-60963 http://computers.tutsplus.com/tutorials/alfred-debugging--cms-20439?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+mactuts+%28Tuts%2B+Mac+Computer+Skills%29 The last one explains the debugger and how to use it. So, if you do not understand what I mean, definitely read the last tutorial to know how to use the debugger. Here is a picture of what it should look like: https://www.dropbox.com/s/2sdgc4wf2y540b1/Screen.png?dl=0
  11. I just did a major update to this action. The new features are: 1) Paste through Keyboard Maestro (expanding the %| cursor placement macro). 2) Added the next Handlebar helper for doing relative dates (see the new help file). 3) Added the ability to hook into the Handlebar template engine by adding a JavaScript cell in the Defaults notebook. Now you can add your own helper functions. (see the new help file and new defaults file for examples). You will need to redownload from Packal and reinstall the help files to get the new documentation. I'm having a lot of fun with this one and making many templates (over 100 now).
  12. It would not be a url, but a unix path to the file. Since you saw the name of your project "todo", it was working. Type your message and select the project you want it added to. It will then save the file location for next time and add the task. It doesn't save the file location until you have successfully added a new task.
  13. Is TaskPaper open to your project TP file? If not, that is why. The first time you use the "t:addtask", you have to have TP3 open to the project file. It then saves this files location for adding to without TP3 open. It stores the project file name in "~/.tpProjectFile". If this file is blank or points to a non-existing file, the "t:addtask" command does nothing. I should probably add a note for the user. Working on it...just added it to my project list
  14. Okay. I was finally able to get it to statically link. Learned a lot about Haskell! Please download and try it again. Also, make sure node.js is installed on your system.
  15. Can you please select the debug option on the script filter and post the output. That output will tell me whether or not this is a problem that I was somewhat wondering if it would happen. I think I know what the issue might be. I am compiling a Haskell program to get the different snippet names from the library. I have a large number of snippets and the interpreted version was too slow. I believe it isn't able to find the dynamic loading library files on a system without Haskell. I developed the program with the Haskell for Mac IDE, but I can't get it to produce a static link image. Working on it. Also, you might check to see if Alfred can see your node.js install. The ~/Library/Application Support/Alfred 2/workflows/com.customct.QuiverWF/node.txt should point to the program. Check to make sure it is. It good to know that someone else is trying the workflow! Thanks for the feedback.
  16. Just updated the workflow to work with TaskPaper 3 and added a command to add a new task to a selected project.
  17. Just made major revisions to this workflow. It now has help files in Quiver to explain how to use it. Please let me know if you run into any issues.
  18. ยินดีที่ช่วย แต่ web site ที่ไช้อยู่ไม่มีคำสับมาก Glad it is helpful. But, the web site I used doesn't seem to have a lot of words.
  19. The latest release of TextSoap 8 fixes all of the bugs with this workflow. Please update to version 8.0.5. This fixes the issues with new cleaners not showing up in the "tc:getcleaners" command. Please let me know if you find any other problems.
  20. Hi, I actually have a workflow that does just what you are asking. I haven't released it because it is a complicated workflow that needs a tutorial and I haven't had time to write it yet. The workflow uses Alfred, Dropbox, and Hazel. You set up a location in Dropbox for scripts that Hazel sees updated on the other computer and send it to the workflow for running the script. It isn't instant since it depends on the sync time of Dropbox and when Hazel notices the new file (Hazel uses a polling system). I use it to perform tasks on my Mac mini while I am traveling and using my Mac Air. If you are interested, maybe it can whip up a brief description on how to use it this week and sent it out.
  21. It might be that my python was wrong (though it error-ed somewhere else in the code). I am not a strong python programmer. My skills are in PHP, Node, Haskell, and go.
  22. It just affects the location of the Alfred.preferences file (which is actually a directory that contains all the preferences and workflows). The cache and data directories are always in the normal locations. Those directories are not shared. Also, I tried to update the script to take that into effect, but somewhere else in the script it had problems with spaces and parenthesis in the path (My path has both). You might want to thoroughly check the script for that condition.
  23. It only works with Alfred that isn't synced by dropbox. Instead of working from a fixed directory location, the workflow should start at where the workflow is, go up one directory, and process the directories there.
  24. Packal is sometimes flagging an older version as being newer. It has shown this for several workflows. They are working on an all new Packal, so this error will not get fixed until the new Packal is out. Therefore, you can ignore this.
  • Create New...