Jump to content

Halopend

New Member
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Halopend's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. Sweet. I used to have a workflow with similar functionality a long time ago in my engineering degree that was SUPER useful. Like... black magic useful. I could enter complex equations which mixed notations left/right and have extra confidence in my results as if the units didn't work out I'd know something was wrong immediately (like if the answer didn't come out to joules). Anyway, couple of notes. 1. Having c as the keyword trigger, though it works, feels a little too short/generic to me. May sc or something else with a little more personality would be better. Plus it helps with branding. 2. There is a code signing issue for both the alfred-soulvercore executable and the framework. I could fix the "alfred-soulvercore" by launching it manually and clicking open in the security dialog (you don't get this option from alfred... OS X just block it altogether) but the framework has no such luck and just crashes. This is what I get in the console: Crashed Thread: 0 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: DYLD, [0x5] Code Signature Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Library not loaded: @rpath/SoulverCore.framework/Versions/A/SoulverCore Referenced from: /Users/USER/Library/Application Support/Alfred/*/alfred-soulvercore Reason: no suitable image found. Did find: /Users/halopend/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0DDDC4E2-F655-4093-81DC-FD396CFC9585/SoulverCore.framework/Versions/A/SoulverCore: code signature in (/Users/halopend/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0DDDC4E2-F655-4093-81DC-FD396CFC9585/SoulverCore.framework/Versions/A/SoulverCore) not valid for use in process using Library Validation: library load disallowed by system policy Binary Images: 0x108178000 - 0x108187fff +alfred-soulvercore (0) <42BAB712-1AA5-3FB4-BA39-D081C2B1B56D> /Users/USER/Library/Application Support/Alfred/*/alfred-soulvercore 0x10f70b000 - 0x10f7a2fff dyld (832.2.1) <89B0D57A-546A-3F6C-9BFB-D5179B29D542> /usr/lib/dyld 0x7fff201e6000 - 0x7fff2021efff libobjc.A.dylib (818) <502CF9CD-5B59-387F-BD61-2CABEBD5F673> /usr/lib/libobjc.A.dylib 0x7fff2a9bc000 - 0x7fff2a9bdfff libSystem.B.dylib (1292) <AEE1824E-1AAC-356E-8EDE-704ED282BCA7> /usr/lib/libSystem.B.dylib
  2. Nice. Just tried it out and I like it. Maybe a little on the larger side than most, but it's clean and easy to read. I could seriously use this as my daily driver, which considering how picky I am is a pretty great compliment I think. I suggest you give it a cool name and submit it at https://www.packal.org/theme-list.
  3. New user here, so I can't be the most help.... but you definitely want to create a workflow plugin for Alfred. If you go to Alfred's settings > Workflows and then click the + sign you can create a new workflow. I suggest you start from the blank template. After you give it a name and the like like, if you right click your new plugin itself in the left most listings where all the plugins are shown, you can select "open in finder" to reveal the folder where you plugin is. This will let you embed your script files as needed (like your *.py file in this case. Now the juicy part. Think of workflows as something like an automator action or iOS shortcut where you can create a flow of things visually to accomplish your task. The big blank space to your right is your canvas. Simply right click it and you'll be able to added the comments you think link up visually to accomplish the task you want. Based on your simple needs, I think you may just need the "run script" workflow option which you'll find under actions when you right click the blank space. It runs whatever shell command you type in there as if from the root of the folder of the workflow, so basically: /usr/bin/python *.py should be all you need. If you want to be able to supply arguments based on what you type in Alfred, there is an option for that as well.... but I think you'll want to use a script filter first based on the plugins I see. It seems like this allows you to separate the keyword/arguments as otherwise EVERYTHING types in the search bar would be supplied as arguments to the script. Look at the reddit plugin as a simple example to get an idea as it's super easy to figure out/reverse engineer how to from that one. Good luck!
×
×
  • Create New...