diff --git a/BOOPy/.DS_Store b/BOOPy/.DS_Store new file mode 100644 index 0000000..125470d Binary files /dev/null and b/BOOPy/.DS_Store differ diff --git a/BOOPy/BOOPy.alfredworkflow b/BOOPy/BOOPy.alfredworkflow index 8b957d5..6305428 100644 Binary files a/BOOPy/BOOPy.alfredworkflow and b/BOOPy/BOOPy.alfredworkflow differ diff --git a/BOOPy/source/info.plist b/BOOPy/source/info.plist index 39b14e3..bc64510 100644 --- a/BOOPy/source/info.plist +++ b/BOOPy/source/info.plist @@ -5,7 +5,7 @@ bundleid me.npearce.boopy category - Productivity + Neil connections 0CB1AAD6-DE5B-4C25-8520-B06C13DA8F12 @@ -34,11 +34,11 @@ - 2218D1DA-4947-4DEE-944D-78F22738D7D1 + 2800B29F-84FF-45E1-A04C-9B549C243B03 destinationuid - 0EE1D0A7-C069-4D9F-9675-7D121076901A + CF81AEF0-83C9-4E10-A7DE-BAE28D240242 modifiers 0 modifiersubtext @@ -47,11 +47,11 @@ - 2800B29F-84FF-45E1-A04C-9B549C243B03 + 553E77C0-5D96-463A-BB23-1559E8B5DDA3 destinationuid - CF81AEF0-83C9-4E10-A7DE-BAE28D240242 + 8AD99F77-9A78-4649-AD78-703FD7E3D20A modifiers 0 modifiersubtext @@ -60,11 +60,11 @@ - 553E77C0-5D96-463A-BB23-1559E8B5DDA3 + 588EB07C-FF80-41C5-B102-D27484996D00 destinationuid - 2218D1DA-4947-4DEE-944D-78F22738D7D1 + EA36E24B-E1EB-4562-B832-B8C47D4A9268 modifiers 0 modifiersubtext @@ -73,11 +73,11 @@ - 588EB07C-FF80-41C5-B102-D27484996D00 + 6433720E-6BAE-4DA0-85D3-443852046E15 destinationuid - EA36E24B-E1EB-4562-B832-B8C47D4A9268 + 2800B29F-84FF-45E1-A04C-9B549C243B03 modifiers 0 modifiersubtext @@ -86,11 +86,11 @@ - 6433720E-6BAE-4DA0-85D3-443852046E15 + 68B83BBA-CD15-4D58-9984-16C928436985 destinationuid - 2800B29F-84FF-45E1-A04C-9B549C243B03 + 553E77C0-5D96-463A-BB23-1559E8B5DDA3 modifiers 0 modifiersubtext @@ -103,7 +103,20 @@ destinationuid - 0CB1AAD6-DE5B-4C25-8520-B06C13DA8F12 + A8D90DD3-8421-4D0C-BA08-66B3A777C257 + modifiers + 0 + modifiersubtext + + vitoclose + + + + 8AD99F77-9A78-4649-AD78-703FD7E3D20A + + + destinationuid + 0EE1D0A7-C069-4D9F-9675-7D121076901A modifiers 0 modifiersubtext @@ -151,6 +164,32 @@ + A8D90DD3-8421-4D0C-BA08-66B3A777C257 + + + destinationuid + 0CB1AAD6-DE5B-4C25-8520-B06C13DA8F12 + modifiers + 0 + modifiersubtext + + vitoclose + + + + AF59304E-49CC-47CE-8732-A7DF77F224D3 + + + destinationuid + B4BABCE8-138A-4E7E-AFEF-BB03F06694E8 + modifiers + 0 + modifiersubtext + + vitoclose + + + B89FEFD4-5D43-48A0-8A0E-0358E91142AF @@ -168,7 +207,7 @@ destinationuid - 2B19DE82-C21B-4EC8-ACB5-4A15E4BFC6D7 + AF59304E-49CC-47CE-8732-A7DF77F224D3 modifiers 0 modifiersubtext @@ -214,23 +253,6 @@ BOOPy objects - - config - - paths - - /Applications/Boop.app - - toggle - - - type - alfred.workflow.action.launchfiles - uid - 8C697305-BB60-4A6D-9081-8663251C2A6C - version - 1 - config @@ -255,49 +277,87 @@ config + paths + + /Applications/Boop.app + + toggle + + + type + alfred.workflow.action.launchfiles + uid + 8C697305-BB60-4A6D-9081-8663251C2A6C + version + 1 + + + config + + alfredfiltersresults + + alfredfiltersresultsmatchmode + 0 + argumenttreatemptyqueryasnil + argumenttrimmode 0 argumenttype + 2 + escaping + 102 + queuedelaycustom + 3 + queuedelayimmediatelyinitially + + queuedelaymode + 0 + queuemode 1 - fixedorder - - items - [{"title":"Camelcase","arg":"camel"},{"title":"Uppercase","arg":"upper"},{"title":"Escape Text","arg":"add\tslashes"},{"title":"Remove linebreaks","arg":"Collapse lines"},{"title":"Lowercase","arg":"downcase"},{"title":"Format JSON","arg":"format JSON"}] - keyword - bp runningsubtext + script + + +cat << EOB +{"items": [ +EOB + +for entry in /Applications/Boop.app/Contents/Resources/scripts/* +do + file=${$(basename $entry)%.*} + cat << EOB + { + "title": "$file", + "arg": "$file" + }, +EOB + +done + + +cat << EOB +]} +EOB + scriptargtype + 1 + scriptfile + subtext title + type + 11 withspace - - - inboundconfig - - inputmode - 1 - - type - alfred.workflow.input.listfilter - uid - 2218D1DA-4947-4DEE-944D-78F22738D7D1 - version - 1 - - - config - - seconds - 1 + type - alfred.workflow.utility.delay + alfred.workflow.input.scriptfilter uid - EA36E24B-E1EB-4562-B832-B8C47D4A9268 + 8AD99F77-9A78-4649-AD78-703FD7E3D20A version - 1 + 3 config @@ -310,8 +370,6 @@ command {query} - text - {clipboard:0} type @@ -321,6 +379,19 @@ version 1 + + config + + seconds + 1 + + type + alfred.workflow.utility.delay + uid + EA36E24B-E1EB-4562-B832-B8C47D4A9268 + version + 1 + config @@ -353,6 +424,37 @@ version 1 + + config + + action + 0 + argument + 1 + focusedappvariable + + focusedappvariablename + + hotkey + 11 + hotmod + 1966080 + hotstring + B + leftcursor + + modsmode + 0 + relatedAppsMode + 0 + + type + alfred.workflow.trigger.hotkey + uid + 68B83BBA-CD15-4D58-9984-16C928436985 + version + 2 + config @@ -374,25 +476,6 @@ version 1 - - config - - autopaste - - clipboardtext - {var:command} - ignoredynamicplaceholders - - transient - - - type - alfred.workflow.output.clipboard - uid - B89FEFD4-5D43-48A0-8A0E-0358E91142AF - version - 3 - config @@ -417,23 +500,21 @@ config - count - 1 - keychar - - keycode - 36 - keymod - 0 - overridewithargument + autopaste + + clipboardtext + {var:command} + ignoredynamicplaceholders + transient + type - alfred.workflow.output.dispatchkeycombo + alfred.workflow.output.clipboard uid - 85937AF8-3C5D-4EB5-BE0E-6D509B77EE12 + B89FEFD4-5D43-48A0-8A0E-0358E91142AF version - 1 + 3 config @@ -510,6 +591,61 @@ version 1 + + config + + count + 1 + keychar + + keycode + 48 + keymod + 1048576 + overridewithargument + + + type + alfred.workflow.output.dispatchkeycombo + uid + AF59304E-49CC-47CE-8732-A7DF77F224D3 + version + 1 + + + config + + count + 1 + keychar + + keycode + 36 + keymod + 0 + overridewithargument + + + type + alfred.workflow.output.dispatchkeycombo + uid + 85937AF8-3C5D-4EB5-BE0E-6D509B77EE12 + version + 1 + + + config + + seconds + 1 + + type + alfred.workflow.utility.delay + uid + A8D90DD3-8421-4D0C-BA08-66B3A777C257 + version + 1 + config @@ -601,12 +737,29 @@ fi version 2 + + config + + autopaste + + clipboardtext + {clipboard} + ignoredynamicplaceholders + + transient + + + type + alfred.workflow.output.clipboard + uid + B4BABCE8-138A-4E7E-AFEF-BB03F06694E8 + version + 3 + readme Run your favourite BOOP (https://github.com/IvanMathy/Boop) scripts from Alfred. -The list is configurable by you in the List Filter so it does not currently have all BOOP scripts just a few to test with. - It isn't very elegant, but it works for me. Have fun @@ -619,9 +772,9 @@ Have fun note Select all xpos - 375 + 395 ypos - 615 + 720 0EE1D0A7-C069-4D9F-9675-7D121076901A @@ -629,20 +782,9 @@ Have fun Save clipboard to text (maybe removed soon) Save command from List Filter to command to run in BOOP xpos - 265 - ypos - 95 - - 2218D1DA-4947-4DEE-944D-78F22738D7D1 - - colorindex - 1 - note - ADD YOUR FAVE BOOP SCRIPTS HERE - xpos - 90 + 265 ypos - 65 + 95 2800B29F-84FF-45E1-A04C-9B549C243B03 @@ -651,9 +793,9 @@ Save command from List Filter to command to run in BOOP note short delay to make sure BOOP is ready xpos - 710 + 710 ypos - 255 + 255 2B19DE82-C21B-4EC8-ACB5-4A15E4BFC6D7 @@ -662,16 +804,16 @@ Save command from List Filter to command to run in BOOP note OneUpdater xpos - 375 + 395 ypos - 790 + 895 553E77C0-5D96-463A-BB23-1559E8B5DDA3 xpos - 240 + 230 ypos - 435 + 545 588EB07C-FF80-41C5-B102-D27484996D00 @@ -680,9 +822,9 @@ Save command from List Filter to command to run in BOOP note Clear Boop xpos - 550 + 550 ypos - 65 + 65 6433720E-6BAE-4DA0-85D3-443852046E15 @@ -691,9 +833,18 @@ Save command from List Filter to command to run in BOOP note Copy text to work on into BOOP xpos - 550 + 550 + ypos + 225 + + 68B83BBA-CD15-4D58-9984-16C928436985 + + colorindex + 1 + xpos + 50 ypos - 225 + 395 85937AF8-3C5D-4EB5-BE0E-6D509B77EE12 @@ -702,27 +853,34 @@ Save command from List Filter to command to run in BOOP note Run the palette command xpos - 815 + 70 ypos - 415 + 745 + + 8AD99F77-9A78-4649-AD78-703FD7E3D20A + + xpos + 65 + ypos + 65 8C697305-BB60-4A6D-9081-8663251C2A6C note Launch BOOP and bring to front xpos - 375 + 375 ypos - 65 + 65 9211A1AB-DDD0-41F0-A6FC-8725E06DB6B8 colorindex 1 xpos - 90 + 50 ypos - 405 + 515 9DD94E7E-D2FB-4FB9-92E2-A94DBD9678C3 @@ -731,9 +889,42 @@ Save command from List Filter to command to run in BOOP note short delay to make sure BOOP is ready xpos - 710 + 730 + ypos + 550 + + A8D90DD3-8421-4D0C-BA08-66B3A777C257 + + colorindex + 3 + note + short delay to make sure BOOP is ready + xpos + 305 + ypos + 750 + + AF59304E-49CC-47CE-8732-A7DF77F224D3 + + colorindex + 9 + note + Select all + xpos + 750 ypos - 445 + 720 + + B4BABCE8-138A-4E7E-AFEF-BB03F06694E8 + + colorindex + 7 + note + Run the command from list filer + xpos + 220 + ypos + 895 B89FEFD4-5D43-48A0-8A0E-0358E91142AF @@ -742,9 +933,9 @@ Save command from List Filter to command to run in BOOP note Run the command from list filer xpos - 550 + 570 ypos - 415 + 520 BFAB59E8-7E31-4F51-BB20-5B44858790F2 @@ -753,9 +944,9 @@ Save command from List Filter to command to run in BOOP note Copy to Clipboard xpos - 550 + 570 ypos - 615 + 720 CF81AEF0-83C9-4E10-A7DE-BAE28D240242 @@ -764,9 +955,9 @@ Save command from List Filter to command to run in BOOP note Call up palette in BOOP xpos - 375 + 395 ypos - 415 + 520 EA36E24B-E1EB-4562-B832-B8C47D4A9268 @@ -775,15 +966,17 @@ Save command from List Filter to command to run in BOOP note short delay to make sure BOOP is ready xpos - 710 + 710 ypos - 95 + 95 + userconfigurationconfig + variablesdontexport version - 1.0.1 + 2.0 webaddress npearce.me