Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by raguay.customct

  1. Once you have Mjolnir installed (loaded on your hard drive, but not configured) and this workflow installed, run "mj:install". This will create the lua.ini file in the ~/.mjolnir directory and install the modules it uses. Make sure you have a working lua 5.2 interpreter as well. That can be loaded using Home Brew with : brew install lua Or, remove Mjolnir and install Hammerspoon. It is the same program with the right Lua interpreter and modules pre-packaged. My workflow for it is: http://www.alfredforum.com/topic/5334-hammerspoon-workflow/?hl=hammerspoon
  2. Well, I was able to get it working easy enough. The new Mjolnir workflow is uploaded to Packal and my GitHub account. Both Mjolnir and Hammerspoon now have the exact same functionality. Let me know if you need anything else. BTW: Try it with Alfred Remote. Makes handling your windows really nice!
  3. Hi, Sorry, but my Mjolnir application kept dying and I have switched to Hammerspoon. It is the same code base, but done as a all in one package (ie: you do not have to figure out dependencies at all or load other versions of Lua). The Hammerspoon workflow has the two mentioned commands and Alfred Remote added as well. This page is the main thread for it: http://www.alfredforum.com/topic/5334-hammerspoon-workflow/?hl=hammerspoon BTW: The lua script has the command in it I think: type in an Alfred prompt: mj:command moveLeftHalf() mj:command moveRightHalf() If you want to stay with this version, let me know and I will try to revive Mjolnir on my system. I will have to take off another program with a conflicting lua install.
  4. I just updated this workflow by increasing the intelligence of the ft:bookmarks command. If you type partial parts of a title with spaces between, it will wildcard match for the title. For example: ft:bookmarks tut cro will match Tutorial: Cross-platform Application Development Since my bookmark list is over 100, I needed better searching!
  5. Hey, that is what I wrote my ScratchPad Workflow for: http://www.packal.org/workflow/scratchpad-workflow You type "sp:". If you do not type anything, it will pull up the clipboard contents. Modify it and enter and it will be copied to your clipboard. But, I use Textwell for scratch padding more these days and the workflow I made for it: http://www.packal.org/workflow/textwell-workflow Give these a try to see if it fits your needs.
  6. This workflow is for sequentially going through the contents of a directory. You can get entries for file and directory separately. The are counted independently. Set Processing Directory This file action only appears on directories in the Alfred browser. It will set the directory that is being processed. Both file and directory counters get reset with this action. dp:nextfile This command will put the next file in the processing directory to the clipboard and to notifications. dp:showdir This command shows the directory currently being processed. dp:reset This resets the counts for the current file and directory. dp:nextdir This command will put the next directory in the processing directory to the clipboard and to notifications. This is distributed under the MIT license. Packal: http://www.packal.org/workflow/directory-processing-workflow GitHub: https://github.com/raguay/MyAlfred My Website: http://customct.com/alfred-2-workflows
  7. This workflow is for processing a text list of items separated by a single character. You set the character and the direction of the search, and the workflow will give you one at a time. lp:save This sets the list of items. This is tied to a hotkey that takes the current selection. If there is nothing on the input, the command will grab the clipboard to use. Or, the user can type in what they want. lp:next This gives the next item. This is tied to a hotkey as well. lp:forwardbackward This sets the direction of the lookup. If backwards, the last item will be given in lp:next. If forwards, the first item in the list will be given. lp:setseparator This sets the separator that will be used to process the list. lp:reset This sets the list processing back to the original list. Therefore, lp:next starts fresh. lp:show This will show the list on the screen for the user to see. lp:length This will show the number of items in the list separated by the given separator. lp:left This will show the number of items left to be shown. lp:shown This will show how many items have been shown. Version: 1.1 Packal: http://www.packal.org/workflow/list-processing-workflow GitHub: https://github.com/raguay/MyAlfred My Website: http://customct.com
  8. This workflow assumes that the kramdown ruby package is installed on the system already. To install, simply type in a command line: gem install kramdown Some system might require a sudo for this command. If you get an error message, try: sudo gem install kramdown This has a single file action that takes the given markdown file and converts it to a slide show in HTML and CSS. The command mds:theme is used to set the theme. It will let the user pick from a list of themes. The command mds:showtheme shows the user the currently set theme. This workflow is explained in detail in my tutorial: http://goo.gl/ENZGgV If you make a new theme, send it to me and I will include it. More coming soon... version: 1.0 Packal: http://www.packal.org/workflow/markdown-pressentation-workflow Github: https://github.com/raguay/MyAlfred My Web site: http://customct.com/alfred-2-workflows
  9. This is now the NW.js Toolkit in my GitHub. Latest version is up to date with Chrome finally.
  10. Just updated to work with NW.js instead of Node Webkit. Working on major upgrade to the Ace JavaScript library for the editor instead of CodeMirror. CodeMirror messes up all the time in scrolling. Not sure how Brackets work okay.
  11. I just added a command to the Alfred Browser workflow for opening the current Finder or Path Finder folder in Alfred Browser.
  12. Typing Finder in Alfred just launches Finder. Therefore, it brings every Finder window to the forefront. You would need to use a window manager like Hammerspoon to single out a single window and move it around. I wrote a workflow to use Hammerspoon, but it doens't do that either. But, that functionality could be added. You can get the workflow on Packal: http://www.packal.org/workflow/hammerspoon-workflow Conversations about it can be put in the Alfred Forums for it: http://www.alfredforum.com/topic/5334-hammerspoon-workflow/ Try it out and see what it does. Then let me know what you would like functionality wise and I will look into providing you a solution. You will need to get a PowerPack license to use it. If you do, add it to your profile so that it shows up here.
  13. Textwell Workflow This workflow is for working with the [Textwell](http://sociomedia.com/textwell/) program for the Mac. It currently give a command for opening it quickly, tw:front. It also has: tw:edit This copies the selected text and pastes it into TextWell. It also saves the name of the application that the text was copied from. tw:paste This copies what is in TextWell and pastes it back into the application that the text was copied from. There are hotkeys setup for the last two commands as well: tw:edit and tw:paste. You have to assign the hotkeys yourself. This gives similar feature as QuickCursor, though I have never used that application. I am exploring more ways to extend this workflow. Keep an eye on it! Version: 1.0 Packal: http://www.packal.org/workflow/textwell-workflow My Github: https://github.com/raguay/MyAlfred My Web site: http://customct.com
  14. Just uploaded a fix to the expose mode. It wasn't just bring a single window to the front. It now works.
  15. Okay, I found the bug in the copy/move for removing the directory from the list. The php strpos function did not do what I expected. I am now using strcmp and it seems to be working better. Not sure what your error message is coming from as that section of code doesn't use osascript. It is updated on Packal and my GitHub. Please redownload and give it a try.
  16. If you are having problems installing Mjolnir, try out Hammerspoon: https://github.com/Hammerspoon/hammerspoon/releases/latest It is Mjolnir with everything packed together in one place. No external modules and it only loads extensions as they are used. But, Hammerspoon has the window animations built in and can be slow, but Mjolnir doesn't. That is the largest differences. I will be maintaining both of these workflows. Any new feature of one will be added to the other. The other workflow is here: http://www.alfredforum.com/topic/5334-hammerspoon-workflow/
  17. This is a direct port of my Mjolnir Workflow. Installing Hammerspoon is much simpler without any external modules needing to be installed. Everything is internal. This workflow is for running scripts using Hammerspoon to control your windows. This is just a sample of the things that can be done. Follow this layout and you can do many neat things with Hammerspoon. First off, download Hammerspoon from http://www.hammerspoon.org/. Once installed, run the "hs:install" to set the configuration file this workflow expects and reload Hammerspoon. After that, everything should just work. hs:install Configure Hammerspoon with the configuration file that this workflow needs. The original is backed up into the users home directory as hs.orig. hs:upgrade This will upgrade the hammerspoon configuration file instead of writing the main config file. This will work for all versions newer than version 1.4. hs:reload This tells Hammerspoon to reload the configuration file. hs:open This opens the Hammerspoon console to the foreground. hs:nup This nudges the current window up. hs:ndown This nudges the current window down. hs:nleft This nudges the current window to the left. hs:nright This nudges the current window to the right. hs:tcaff This toggles system caffenate. If the AnyBar workflow and program are installed, then an indicator is shown. If caffenate is active, red "zzz" will be shown. Otherwise, grey "zzz" are shown. hs:leftthirds This moves the current window to the left 1/3 of the screen. hs:rightthirds This moves the current window to the right 2/3 of the screen. hs:lefthalf This moves the current window to the left half of the screen. hs:righthalf This moves the current window to the right half of the screen. hs:tophalf This moves the current window to the top half of the screen. hs:bottomhalf This moves the current window to the bottom half of the screen. hs:fullScreen This moves the window to the maximum size on the screen. hs:minimize This minimizes the current window. hs:tzoom This toggles the system fullscreen on and off for the current window. This moves the window to it's own space taking up the entire screen. hs:running This will list all the running apps. You can then just select one to bring it to the front, select with alt key to hide it, select with ctrl key to unhide it, and select with the fn key to close the application. hs:snap This snaps the current window to the closes grid box area. hs:setgrid This requires you to put the x, y for a starting position in a 3x3 matrix for the current window. Then you give the width and height. Therefore, to move the current window to the upper left most block in a 3x3 matric, you would do "hs:setgrid 0, 0, 1, 1". There is also a hotkey set to this value as an example. hs:command Type in a command string and it will be sent to Hammerspoon directly! There is also an external trigger HammerspoonCommand that will pass whatever is sent in the trigger to Hammerspoon using the command processor as in "hs:command". This gives other workflows or scripts the ability to interact with Hammerspoon through Alfred. hs:expose This will list all applications. When an application is selected, it will show all of it's windows in a matrix on the screen and ask the user for the coordinates of the one to show. It will then put all the windows back to their original position and bring the one selected to the foreground. If the application has only one window, it will simply bring it to the front. I also created a hotkey for doing Expose on FoldingText. The user can create more in the same manner. Just be careful to get the name of the application correct! hs:last This command undoes the very last window move. This assumes all window movements were done with Hammerspoon and this workflow functions. This workflow is also set up with a Remote page as well. Have fun controlling your windows from your iPad or iPhone. Version: 1.4 Packal: http://www.packal.org/workflow/hammerspoon-workflow GitHub: https://github.com/raguay/MyAlfred
  18. Just updated to new functionality that allows you to create a list of tag and then search for all files with those tags. It is assuming you have added the Alfred URI handler and installed the foldingtext node.js command globally: npm install foldingtext -g
  19. Just fixed another bug that stored files and not directories. I also added the ability to open a favorite directory in a terminal program. It uses the Alfred Terminal command that defaults to Terminal.app, but can be made to use iTerm in the Alfred configurations.
  20. Editor Features: - syntac highlighting for: HTML CSS Markdown FoldingText Markdown PHP go FoldingText SASS SCSS Scheme Python C, C++ PList XML Shell Lua SQL Haml Jade CoffeeScript Lisp Ruby Erlang Scala - Full Vim and Sublime keyboard support - Regular expression search/replace - Multiple cursors - code folding - Emmet expansions!!!! - Themes (currently just three - help me make more!) - more coming (ex: plugins, commands, external control, etc). There are still several bugs I am working on. But, I was wanting some user feedback and help making themes.
  21. Hi, just updated it again. I had a misspelling on the ae:windowlist command. It should now work if you have Mjolnir Workflow installed as well.
  22. Okay, I just pushed a new update: version 1.9. Two more modules were depressiated, so I removed them. I also added a command to update the init.lua file without trying to re-install the modules. Let me know if you have any issues.
  • Create New...