raguay.customct
-
Posts
756 -
Joined
-
Last visited
-
Days Won
12
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by raguay.customct
-
-
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
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:
-
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).
-
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.
-
Hello ! Thx for your work but it's doesn't work for me. When I want to add a new task, nothing happened.
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
-
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.
-
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.
-
Just updated the workflow to work with TaskPaper 3 and added a command to add a new task to a selected project.
-
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.
-
ยินดีที่ช่วย แต่ web site ที่ไช้อยู่ไม่มีคำสับมาก
Glad it is helpful. But, the web site I used doesn't seem to have a lot of words.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
It sounds like you have the "Argument" set to "OS Selection" on your hotkey and you do not have the hotkey box connected to the "Launch Apps/Files". Or, you have the action in the hotkey to "Show Alfred". If the action isn't "Pass through" then the next block will not be triggered.
-
Have your hot key box feed directly to a script box. You do not have to go through a input box if you do not want to edit the input first. I have a test workflow just like that you can download here: https://db.tt/m1VslfOW
-
I just updated the workflow to work with TextSoap 8. If you haven't upgraded to this version, you should. It runs much faster and lots of bug fixes. The workflow currently only works with version 8. If you haven't upgraded, then just use the older version. I haven't added any other features.
-
Yep. I keep forgetting which one Alfred uses: directory or zip. It does get confusing.
Therefore, just zip the file alone and rename with the ".alfredworkflow". Then it should work. Sorry, my net has been down for a while and I could not reply sooner.
-
Just create a directory with just the info.plist file that you found in it. then add the ".alfredworkflow" to the directory name. When you double click on it, it will automatically be loaded into Alfred. In OS X, a directory with a specialize extension is not treated like a directory, but like a data file for a particular program to load. Alfred registers any directory with the extension ".alfredworkflow" as a data file that Alfred can load. Alfred then copies the directory to a directory of all workflows. You can then use it freely.
-
Yep. That did the job. Thanks.
-
Just you system. I give me this:
Starting debug for 'Unicode Characters'
[ERROR: alfred.workflow.input.scriptfilter] Code 1: 09:27:57 workflow.py:1972 DEBUG Workflow version : 0.1.0
09:27:57 workflow.py:1646 DEBUG Cached data saved at : /Users/raguay/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-unicode/last-query.cpickle
09:27:57 characters.py:117 DEBUG 50 results for `s`
09:27:57 characters.py:231 INFO 50 results for `s` in 0.072 seconds
09:27:57 workflow.py:1387 DEBUG Reading settings from `/Users/raguay/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-unicode/settings.json` ...
09:27:57 icons.py:37 DEBUG Generating 50 icons...
09:27:57 icons.py:51 DEBUG cmd : ['/Volumes/Users/daj/Library/Developer/Xcode/DerivedData/IconGenerationHelper-bbowvswngqbbjugdvgdqtwpjvgdp/Build/Products/Debug/IconGen', '--outputdir', '/Users/raguay/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-unicode/icons', '--font', 'ArialUnicodeMS', '--size', '256', '--logfile', '/Users/raguay/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-unicode/net.deanishe.alfred-unicode.log']
09:27:57 workflow.py:1990 ERROR [Errno 2] No such file or directory
Traceback (most recent call last):
File "/Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.163952ED-A8FB-4341-B0E6-6FD9CA0F65AC/workflow/workflow.py", line 1983, in run
func(self)
File "characters.py", line 252, in main
size=wf.settings.get('size'))
File "/Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.163952ED-A8FB-4341-B0E6-6FD9CA0F65AC/icons.py", line 55, in generate_icons
stdout=subprocess.PIPE,
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
09:27:57 workflow.py:2008 DEBUG Workflow finished in 0.123 seconds.
[iNFO: alfred.workflow.input.scriptfilter] <?xml version="1.0" encoding="utf-8"?>
<items><item valid="no"><title>Error in workflow 'net.deanishe.alfred-unicode'</title><subtitle>[Errno 2] No such file or directory</subtitle><icon>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns</icon></item></items> -
Didn't catch that. Then use: http://www.packal.org/workflow/alfred-browser-toolbox
One of the action is to copy the files contents to the clipboard. It's the "Copy File Contents to Pasteboard".
-
Try out my Alfred Workflow for doing that: http://www.packal.org/workflow/copymove
This allows you to create a list of directories to copy/move files into. You just invoke either the copy file or move file file action in the Alfred Browser. I use it all the time.
How to get into workflow folder using NSApplescript?
in Workflow Help & Questions
Posted
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.