Jump to content

raguay.customct

Member
  • Posts

    756
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by raguay.customct

  1. If people just want the same functionality as layout, it is there in the workflow. They do not have to add to the Mjolnir config file just like they do not have to add anything to the layout workflow. Therefore, there is no reason they could not try it. It is just as easy as using other workflows. They only need to get into configuring the lua files if they want something that is not there, or ask for it to be added. Just like the other workflows and programs. They can use it without ever touching the lua configuration files.
  2. Okay. It might be easier to start over. Delete that directory. Now, download the workflow from here: https://db.tt/2D5Qu5QZ That links a copy in my DropBox. The fact the GitHub is the inside of the workflow makes it almost impossible to use as a loadable workflow off the bat. So, I recreated it my just ziping the items in the GitHub and renaming that zip to the workflow name. When you download the GitHub, it is in a directory inside the zip. So, Alfred does not recognize it. Now, at a terminal, simply type: sudo gem install totalspaces2 All Mac computers come with Ruby (known as the system Ruby). Therefore, you do not have to install a different Ruby. Just use it. But, to install new gems (Ruby term for a library of functions), you have to use sudo.
  3. If you have never used Ruby, then you will be using the system ruby and will need to use the sudo command without the brackets (the brackets mean optional). Therefore, you should type: sudo gem install totalspaces2 I just installed it all and it works great. I have never seen this one before. Thanks for informing me about it.
  4. Hi, Just made many changes and add ons to the Mjolnir workflow. The Mjolnir program is free and will always be free now. So, have fun! This is the fastest window placement program there is for the Mac and it is very configurable (if you know Lua). The expose a named programs windows is a great example of the power you get with this program. Give it a try. You have to have Lua 5.2 and luarocks installed. Homebrew will do it automatically with "brew install lua" and "brew install luarocks". If you have a problem, just let me know.
  5. Actually, hsl(0, 0, .0000000000000000000000000000000000000000001) get the proper thing, but add just one more zero and you get the Nan!
  6. The Logic Pro X user forum says that there is no AppleScript dictionary for Logic Pro. Therefore, there is no way to really get to the information and remotely configure things on Logic Pro. Bottom Line: Does not look like this would be possible. You need to tell Apple to get a dictionary for remote scripting of Logic Pro.
  7. I noticed that some are having problems with Layout and workflows like that. Try the Mjolnir program and the workflow for it: http://www.alfredforum.com/topic/4889-mjolnir-workflow/?hl=mjolnir It is the fastest window layout program I have seen and works really well. It has just gone through revamping, but is very stable right now. It is configured with Lua, so the possibilities of what you can do is endless. Working on a tutorial for it, but not sure if my editor will take it or not. If not, I will post it on my own web site.
  8. Yep, it only shows my folders. I use it all the time. It's connected to show in Alfred. I use it more than my Path Finder!
  9. I do not see this and I am running the latest. I have a File Filter set as you say and it only shows files. You might need to rebuild your OSX Meta in the advanced settings (and clear the app cache).
  10. You also have my list of tutorials on Alfred: Alfred Workflows for Beginners https://computers.tutsplus.com/tutorials/alfred-workflows-for-beginners--mac-55446 Alfred Workflows for Intermediates http://computers.tutsplus.com/tutorials/alfred-workflows-for-intermediates--mac-60557 Alfred Workflows for Advanced http://computers.tutsplus.com/tutorials/alfred-workflows-for-advanced--mac-60963 Alfred Debugging 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 Track Project Time With Alfred Timekeeper https://computers.tutsplus.com/tutorials/track-project-time-with-alfred-timekeeper--cms-20981?utm_source=feedburner&utm_medium=feed Use a Mac to Monitor Website Uptime or Other Regular Tasks https://computers.tutsplus.com/tutorials/use-a-mac-to-monitor-website-uptime-or-other-regular-tasks--cms-21183 Alfred Workflows in Swift https://computers.tutsplus.com/tutorials/alfred-workflows-in-swift--cms-21807
  11. Your welcome. I enjoy writing and I love Alfred! The tutorials are freelancing, so it helps me to make ends meet.
  12. Hi, A tutorial on writing Alfred Workflows using Swift is now available: https://computers.tutsplus.com/tutorials/alfred-workflows-in-swift--cms-21807 It goes along with the Text Case Converter in Swift workflow in the "Share Workflows" section. I also have a GitHub of the Alfred Library for Swift: https://github.com/raguay/AlfredSwiftLibrary
  13. The tutorial on this workflow is now available: https://computers.tutsplus.com/tutorials/alfred-workflows-in-swift--cms-21807 The compiling instructions inside the workflow are more accurate now with the latest versions.
  14. Added more functionality to the Site Layout file action to make use of the Alfred URI workflow as well. Works great and is a great help to my flat file system CMS!
  15. This workflow is a replication of my "tm:select" command of the Text Massager Workflow done in Swift. You have to have xCode 6 beta 4 to recompile the executable, but it should run on any system that is OS Maverick and up. Instructions for recompiling the Alfred Swift Library and the program is in the workflow directory. The one command is "tc:convert". The string given will be shown in capital case, upper case, lower case, and title case. I would appreciate feedback if someone would run this on a system that has never had xCode 6 installed. I suspect a dynamic link library issue, but I am not sure. There is not much documentation on static linking of Swift code, so I am blazing a new trail. GitHub: https://github.com/raguay/MyAlfred Packal: http://www.packal.org/workflow/text-case-converter-swift
  16. This workflow is for running scripts using Mjolnir 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 Mjolnir. First off, download Mjolnir from https://github.com/mjolnir-io/mjolnir.git. That site also tells how to get started. To install the needed modules and configuration file, you will need to run the "mj:install" command. This will also install the cli program called "mjolnir". Once mjolnir and it's cli program is installed, use the "mj:find mjolnir" command to set the path to the executable. After this step is done, all the following commands are available to use. mj:install This will install some modules that is used in the configuration file for this workflow. It will also install a default configuration file for mjolnir. If you already have one, move it to a temporary location, run this command, and then copy your function to the configuration file. This should be the second command you run to get this workflow running. mj:updateinit This command just updates the init.lua file to the new one for the workflow. It does not try to update the modules. mj:reload This tells mjolnir to reload the configuration file. mj:open This will open the Mjolnir console to the front. mj:nup This nudges the current window up. mj:ndown This nudges the current window down. mj:nleft This nudges the current window to the left. mj:nright This nudges the current window to the right. mj:tcaff This toggles system caffenate. mj:leftthirds This moves the current window to the left 1/3 of the screen. mj:rightthirds This moves the current window to the right 2/3 of the screen. mj:lefthalf This moves the current window to the left half of the screen. mj:righthalf This moves the current window to the right half of the screen. mj:tophalf This moves the current window to the top half of the screen. mj:bottomhalf This moves the current window to the bottom half of the screen. mj:fullScreen This moves the window to the maximum size on the screen. mj:minimize This minimizes the current window. mj: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. mj: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. mj:snap This snaps the current window to the closes grid box area. mj: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 "mj:setgrid 0, 0, 1, 1". There is also a hotkey set to this value as an example. mj:command Type in a command string and it will be sent to Mjolnir directly! mj:ftmove This puts every window for FoldingText to the left half of the screen. mj:fttoday This focuses the window with the title "today.txt". That is my todo list for the day. mj: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! mj:last This will move the last window moved around to it's position and size before the movement. This is a single level return. This workflow is also set up with a Remote page as well. Have fun controlling your windows from your iPad or iPhone. Please let me know if you have any issues with this workflow. Version: 2.1 GitHub: https://github.com/raguay/MyAlfred Packle: http://www.packal.org/workflow/mjolnir-workflow
  17. Just but a markdown anchor and it will work that way in FoldingText or the TaskPaper when the new version comes out. Therefore, to add a link to this page would be [Todo Workflow]() When viewed in FoldingText or Taskpaper 3.0, it will just show the "Todo Workflow" that is clickable. You can edit the link by moving the cursor into the area or holding the Alt key while clicking on the link will expand the whole markdown to as above. Sorry I did not reply sooner. I did not see this question before.
  18. I just made a major update to this workflow. You can now have dated tasks that repeat! I am using this workflow everyday and I haven't seen any issues. Please let me know if you have a problem.
  19. BTW: JavaScript for Application Automation is available in the open Yosemite Beta. My Alfred on my Yosemite beta system does not run JavaScript in the AppleScript script block. The osascript program runs it fine. Therefore, just a new "run" block will be needed. AppleScript has not disappeared. It is still usable. Therefore, everything does not have to be converted, at least not soon.
  20. I was able to fix the issue with a simple delay. The easy things are often the hardest. Please try it out and let me know if you have any issues. Thanks!
  21. I use this for making a site map of my flat file website. It is create for opening directories and files in it. The script creates likes like: [posts/news/customct/](alfreduri://com.apple.AppleScript.AlfredURIhandler?wf=com.customct.FoldingText&ext=viewDir&arg=/Users/raguay/Dropbox%20(Personal)/Richard/rag/go/goPress/site/posts/news/customct) Which will open the Custom Computer Tools News directory in PathFinder for me. The site layout program is a ruby script I recently added to my FoldingText Workflow. Once created and open in FoldingText, just clicking the link opens the directory or file I need. Very handy. I can see other areas to make use of this feature. But, it currently can not be used to start an Alfred session. The Alfred prompt closes too quickly to be useful. If anyone nows a fix for that, please let me know. I am not that good at AppleScript.
  22. Alfred URI Handler GitHub: https://github.com/raguay/MyAlfred/blob/master/AlfredURIHandler.alfredworkflow Packel: http://www.packal.org/workflow/alfred-uri-handler This workflow has one command "au:install". Once you run it, a URI handler for Alfred will be installed. This is used to trigger external triggers in any workflow. The format is: alfreduri://com.apple.AppleScript.AlfredURIhandler?wf=<workflow Bundle ID>&arg=<arguments>&ext=<external trigger name> The arguments should be URI encoded (ie: no spaces, but %20 instead). If you update the workflow, you have to re-apply the handler. Also, do not delete the workflow or the functionality will be removed. I use it to make action links in FoldingText to trigger actions in Alfred. There is also a "search=<search args>" to open the Alfred prompt with a query. It now works. If you already downloaded and installed the handler, please do it again. Version: 1.1 Date: 9/6/2014
  23. I updated the Site Layout function to add leading "#" on the directories to make folding them easier. I also added a link to the FoldingText URI standard documentation to the "ft:docs" script filter. Enjoy!
  24. Hey, I added an extension for FoldingText that allows you to do math similar to Calca. It is more stable than Calca (Calca still jitters when scrolling or adding to a large document) and does the math I need. It is the imath extension: http://customct.com/foldingtext Give it a try!
  25. I just added the Site Layout file action that will trigger on just directories in the Alfred browser. When triggered, it will create a site map from that directory down in a FoldingText file call layout.ft in the directory actioned. That file will label each directory with a @dir tag and each file with a @file tag. Each file will be indented as to the directory it it in. Also, all directories will be linked to open in Finder and FoldingText openable files will be tagged to open in FoldingText. This makes a great way to open files in my flat file system markdown CMS! It is also great for documenting my tutorial writing directories and such. Give it a try and let me know if it is useful or not. It is for me!
×
×
  • Create New...