Jump to content

raguay.customct

Member
  • Posts

    708
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by raguay.customct

  1. Yep, that seems to of fixed it. My tab completion is working again too! It had died on some workflow with 2.8, but I was having a hard time parameterizing it for reporting. Thanks.
  2. Hi, the problem was so bad, I had to roll back to the last 2.8 version from the website. Interestingly, my Mac Mini doesn't show this problem. Just my Macbook Air. Both are running the latest public beta of El Capitan (10.11.2 beta (15C27e)).
  3. It has now done it twice that I had to kill the process and restart to get it working. I figured out one thing: Range {0, 7} out of bounds; string length 5 This is referring to the Alfred Browser input. The string length in the browser is always the same as the "string length" item. Therefore, Alfred is looking at the string and over shooting the bounds all the time. Once done enough times, it locks up very hard.
  4. I just updated to the latest release and it started locking up. The console program is giving these errors: 11/10/15 12:05:03.892 PM Alfred 2[10385]: -[__NSCFString replaceOccurrencesOfString:withString:options:range:]: Range {0, 7} out of bounds; string length 5 11/10/15 12:05:03.896 PM Alfred 2[10385]: ( 0 CoreFoundation 0x00007fff8ba1cc72 __exceptionPreprocess + 178 1 libobjc.A.dylib 0x00007fff91d9ef7e objc_exception_throw + 48 2 CoreFoundation 0x00007fff8ba1cb1d +[NSException raise:format:] + 205 3 CoreFoundation 0x00007fff8b970b8f -[__NSCFString replaceOccurrencesOfString:withString:options:range:] + 255 4 Foundation 0x00007fff9d5b4bed -[NSString stringByReplacingOccurrencesOfString:withString:options:range:] + 184 5 Alfred 2 0x000000010000c12d Alfred 2 + 49453 6 AppKit 0x00007fff8e0c99fa -[NSView _drawRect:clip:] + 3626 7 AppKit 0x00007fff8e0c82d9 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1873 8 AppKit 0x00007fff8e0c86b6 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2862 9 AppKit 0x00007fff8e0c86b6 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2862 10 AppKit 0x00007fff8e0c86b6 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2862 11 AppKit 0x00007fff8e0c61ff -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 838 12 AppKit 0x00007fff8e218ae0 -[NSNextStepFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 284 13 AppKit 0x00007fff8e0c1fc7 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2449 14 AppKit 0x00007fff8e07c749 -[NSView displayIfNeeded] + 1950 15 AppKit 0x00007fff8e0b776a -[NSWindow _setFrameCommon:display:stashSize:] + 3835 16 AppKit 0x00007fff8e0b6860 -[NSWindow _setFrame:display:allowImplicitAnimation:stashSize:] + 222 17 AppKit 0x00007fff8e0b677b -[NSWindow setFrame:display:] + 67 18 Alfred 2 0x0000000100005af3 Alfred 2 + 23283 19 Alfred 2 0x000000010000b65f Alfred 2 + 46687 20 Alfred 2 0x000000010000a8e8 Alfred 2 + 43240 21 CoreFoundation 0x00007fff8b9d68fc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 22 CoreFoundation 0x00007fff8b9d686f ___CFXRegistrationPost_block_invoke + 63 23 CoreFoundation 0x00007fff8b9d5f37 _CFXRegistrationPost + 407 24 CoreFoundation 0x00007fff8b9d5ca2 ___CFXNotificationPost_block_invoke + 50 25 CoreFoundation 0x00007fff8b9cff32 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922 26 CoreFoundation 0x00007fff8b8bea85 _CFXNotificationPost + 693 27 Foundation 0x00007fff9d592921 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66 28 Alfred Framework 0x00000001000bfe34 -[AlfredWorkflowManager setSearchQuery:] + 1297 29 Foundation 0x00007fff9d618d4b __NSThreadPerformPerform + 279 30 CoreFoundation 0x00007fff8b92ce41 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 31 CoreFoundation 0x00007fff8b91ed5c __CFRunLoopDoSources0 + 556 32 CoreFoundation 0x00007fff8b91e27f __CFRunLoopRun + 927 33 CoreFoundation 0x00007fff8b91dc78 CFRunLoopRunSpecific + 296 34 HIToolbox 0x00007fff932a6935 RunCurrentEventLoopInMode + 235 35 HIToolbox 0x00007fff932a6677 ReceiveNextEventCommon + 184 36 HIToolbox 0x00007fff932a65af _BlockUntilNextEventMatchingListInModeWithFilter + 71 37 AppKit 0x00007fff8e078ec6 _DPSNextEvent + 1067 38 AppKit 0x00007fff8e445621 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 39 AppKit 0x00007fff8e06eda0 -[NSApplication run] + 682 40 AppKit 0x00007fff8dff10ec NSApplicationMain + 1176 41 Alfred 2 0x000000010000170c Alfred 2 + 5900 ) 11/10/15 12:05:50.881 PM Alfred 2[11561]: [TIMER] 1.949491 seconds to initialise Alfred 11/10/15 12:05:55.418 PM Alfred 2[11561]: Bartender: Loaded BartenderHelperNinetySix Let me know if there is any other information I can get for you.
  5. This workflow does web scraping on the http://www.thai-language.com/ site to translate words from english to thai/thai to english. It does an exact match first. If the exact match fails, then it does an inexact match. Consequently, the results do not always produce what you would expect all the time. This workflow requires Node.js to be installed already. Remember to set the result count with “tt:setcount”! tt:engthai Translate an English word to Thai. tt:thaieng Translate a Thai word to English. tt:setcount Set the number of results to display to the user. Packal: http://www.packal.org/workflow/thai-translation-workflow My Github: https://github.com/raguay/MyAlfred Version: 1.00
  6. Just updated the Alfred Browser Workflow to work with Commander One file manager as well. If you do not have Commander One, you owe it to yourself to check it out: http://mac.eltima.com/file-manager.html
  7. If you download version 1.2, please re-download version 1.3. I had forgotten about the option to use the clipboard as a template. Version 1.3 should have that now.
  8. I just updated the workflow to use a Haskell made directory lister for the templates. It now shows the templates and the filtering 100% faster. Let me know if you see anything else to improve.
  9. For an interesting note, I just installed PHP 7.0 RC2 and the original script now works fine! With the standard PHP on a Mac, I could only get it to work with a VPS going to the states. Very Interesting....
  10. Hi, Just updated Alfred Browser with some new commands requested: copy and paste absolute file paths.
  11. I just updated the workflow to read the workspaces faster. This workflow requires version 1.3.1 of DockShelf which will be released this week.
  12. I am sorry. I have prematurely released this. The current version doesn't support this, but the next version will. I have a pre-release copy that has the support for this feature. I will post when the new version is released.
  13. This workflow is for automating the DockShelf program. The following items are defined: Commands: “ds:space” This command will show a list of workspaces currently defined. You can narrow the list by typing part of a name. Selecting one causes DockShelf to switch to that workspace. External Triggers: Focus Named Workspace This external trigger will switch to the workspace given. You can get it at: Packal: http://www.packal.org/workflow/dockshelf-workflow My GitHub: https://github.com/raguay/MyAlfred Version: 1.1 date: 09/15/2015
  14. As far as I can tell, it should be the same. My name is set properly in the settings.json file. But, it still doesn't show any. I change the two keywords to st:activate and st:lib to keep from that confusion.
  15. I have only been able to use the activator. The lister doesn't work for me. It always gives zero items in the list which defaults to the default search. You should catch that and give a proper message. I do not have as many games as you, but I keep mine on an external drive. I opened the script.py file and change the default library location to my external drive. It now reads: DEFAULT_STEAM_LIBRARY = "/Volumes/External/SteamLibrary/steamapps/" But, it still will not get my games.
  16. Sorry, just edited the description. It was missing some details. Let me know if you find this useful or not!
  17. This workflow allows you to create templates with Handlebar syntax. To use the workflow, you have to have Node.js installed first. I recommend using Homebrew to install it. Once Node.js is installed, go to your snippets directory in Alfred Browser and select the “Set Template Directory” file action. This tells the workflow where your templates (or snippets) are to be kept. You then run the “tp:install” to install the example templates and a default global.json file. This file should be edited to match your needs. Any data item added to this file is then passed to the Handlebar render as data. All templates have to have the “.txt” extension. If you want data to be associated with a template, then place a JSON file with the same name as the template in the the template directory with the ".json" extension. It will be loaded and used along with the global json file. When you run “tp:expand” or “tp:exptext”, it will list all of your template files in the template directory. When you select one, it will be expanded with any json file with the same name and the global json file data. The “tp:expand” will put the result into your clipboard and the topmost application. The “tp:exptext” will give it to TextExpander (if you have it installed) to expand and place in the topmost application. With the “tp:exptext” command, TextExpander will also expand any of it’s macros in the template file. I mostly use it for placing the cursor after expansion. These two commands also have an associated Alfred Browser File action. These macros also have the option to use the clipboard for a template. If the clipboard is used for a template, only the global json file will be used as the data. All of the Handlebar helpers are usable in any of the modes. The “tp:open” command opens the template/snippet directory in Alfred Browser. If you press the Command key, it will open it in the Finder. The “tp:editglobal” will open the global.json file in your template directory with the default editor for JSON files. The “tp:create” command requires a name. A file with that name and a “txt” extension is created in the template directory and opened in the default editor for files with a “txt” extension. The “tp:createclip” command is the same as the “tp:create”, but this command takes the current clipboard contents as the text for the file. It is then opened in the default editor for “txt” files. The “tp:edittemplate” command will give a list of templates. When you choose one, it is opened in the default editor for a file with the “txt” extension. The “tp:edittemplatedata” command will give a list of templates. When you choose one, it’s corresponding JSON file is opened in the default editor for a JSON file. There are two special helper function for Handlebars defined. They are: {{save <name> <text>}} This command creates a helper named “<name>” with the expanding text of “<text>”. It also places the given “<text>” at the point of definition. This allows you to create text snippets on the fly inside the template. Very handy. {{clpboard}} This helper command places the current clipboard contents at the point in the template. The following data expansions are defined as well: {{cDateMDY}} gives the current date in Month Day, 4-digit year format {{cDateDMY}} gives the current date in Day Month 4-digit Year format {{cDateDOWDMY}} gives the current date in Day of Week, Day Month 4-digit year format {{cDateDOWMDY}} gives the current date in Day of Week Month Day, 4-digit year format {{cDay}} gives the current date in Day format {{cMonth}} gives the current date in Month format {{cYear}} gives the current date in 4-digit year format {{cMonthShort}} gives the current date in Short Month name format {{cYearShort}} gives the current date in 2-digit year format {{cDOW}} gives the current date in Day of Week format {{cMDthYShort}} gives the current date in Month day 2-digit year format {{cMDthY}} gives the current date in Month Day 4-digit year format {{cHMSampm}} gives the current date in h:mm:ss a format {{cHMampm}} gives the current date in h:mm a format {{cHMS24}} gives the current date in H:mm:ss 24 hour format {{cHM24}} gives the current date in H:mm 24 hour format {{filename}} gives the name of the template file. If the clipboard was expanded, then it gives nothing. Let me know if you need more pre-defined macros or have some great templates to add to the default set. The default set mostly just shows how to create basic Handlebar templates. Please visit Handlebars website for more information on the Handlebar format. Packal: http://www.packal.org/workflow/template-workflow My GitHub page: https://github.com/raguay/MyAlfred My Home Page: http://customct.com Version: 1.4 Date: 09/30/2015
  18. Hi, I just updated the Alfred Browser Workflow with many new commands. Give it a try!
  19. Hey, it quite working for me as well. I have php 5.6.10 that I loaded with Homebrew. I am using OS X 10.10.4. Not sure when it quit working as I have not used it in about a week or so. If everyone that is using it is out of the US, then it might be a location limitation on the API? Testing says yes. I opened my VPN to a US location and the workflow works great. Therefore, this workflow will only work if you are in the US (or some short list of countries). It doesn't work here in Thailand anymore! But, I can get it to work with my VPN.
  20. Great. I had been using the older version that did not always align the columns. This one is working great with my theme! Thanks.
  21. So far so good. But, just this week I have noticed that the Alfred debugger does not always show the output of a Script Filter. I have not figured out way or when it does or doesn't. I have just seen some inconsistencies with both normal distribution version and this version. I will keep an eye on it and let you know when I figure out more.
  22. Hammerspoon supports multiple monitors and I have a workflow that makes use of Hammerspoon (I can resize the current window with vim like keyboard shortcuts. Very handy). You can get the workflow here: http://www.alfredforum.com/topic/5334-hammerspoon-workflow/ I do not have any predefined items for multiple monitors because I do not have multiple monitors. But, if anyone that has that type of setup would like to expand this workflow, please do and send me the changes to keep them updated on Packal! My multiple monitor setup is really three computers I use together. :smile:
  23. Hi, I just noticed a problem with ampersands in the input string killing proper xml processing of the script filter. It now escapes all ampersands before pushing the xml to Alfred. If anyone sees anything else like this, just let me know. I use this all the time, but rarely use an ampersand in a title.
  24. I created a quick, easy workflow that displays all of the memory stats put out by vm_stat (a command line utility in Mac OS X). You can get it here: https://db.tt/rRjW0q7Y I might polish up a bit and add it to Packal soon.
×
×
  • Create New...