Code Monkey home page Code Monkey logo

anybox-alfred-workflow's People

Contributors

francisfeng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

anybox-alfred-workflow's Issues

Icons in Anybox don't match Alfred if icon changed

Minor issue, but would be great if this could be fixed.... I use the app Hook (now called Hookmark) to "enhance" linking across apps. If I add a link to Anybox that was copied using Hookmark, the icon in Anybox is the Hookmark Icon. My workflow is to then change that icon (easy to do.... CMD-D) to the actual app (in attached example, Apple Notes). While this then shows the Notes icon in Anybox, in Alfred, it still shows the Hookmark icon (see attachment). I appreciate this may be beyond what can be done here, but would be great to quickly visually see the correct icon using Alfred- thanks!
Anybox- Icon Issue

Automatically Open Anybox

Description

I think it would be helpful, if the workflow would just start Anybox, if it is not running already. For example, this is also the default behavior of the Dash Alfred workflow.

Steps to Reproduce

  1. Make sure Anybox is not running
  2. Open Alfred
  3. Enter the keyword or shortcut you configured for the workflow (e.g. sd)

Expected Result

The workflow shows a list of Anybox items.

Anybox Items

Actual Result

The workflow asks the user to start Anybox using :

Anybox Not Running

Workflow fails with AttributeError: 'str' object has no attribute 'removeprefix'

I get the stack trace below whenever I activate the Anybox workflow.

[05:59:04.443] Anybox[Script Filter] Queuing argument 'python'
[05:59:04.619] Anybox[Script Filter] Script with argv 'python' finished
[05:59:04.625] ERROR: Anybox[Script Filter] Code 1: Traceback (most recent call last):
  File "/Users/shannon/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/488BBB8C-FB6A-4713-AC4E-DA74EEDFFED4", line 211, in <module>
    links = get_links()
  File "/Users/shannon/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/488BBB8C-FB6A-4713-AC4E-DA74EEDFFED4", line 128, in get_links
    'subtitle': format_subtitle(link),
  File "/Users/shannon/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/488BBB8C-FB6A-4713-AC4E-DA74EEDFFED4", line 64, in format_subtitle
    subtitle = format_url(link['url']) + date
  File "/Users/shannon/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/488BBB8C-FB6A-4713-AC4E-DA74EEDFFED4", line 40, in format_url
    return url.removeprefix('https://')
AttributeError: 'str' object has no attribute 'removeprefix'

Environment details:

  • anybox-alfred-workflow 2.0.1
  • Anybox 2.0.3 (140)
  • Alfred 5.1.3 (2175)
  • /usr/bin/python3 3.8.2
  • /usr/bin/env python3 3.11.5
  • macOS Sonoma 14.0

Feature requirement: Improve search

Seems like the search via Alfred does not search in comments / descriptions (unlike the quick find of AnyBox).
Would you be able to improve the workflow to search in a same way to AnyBox quick find?

sd not working to show links in Anybox

Howdy- Using current versions of Alfred, Anybox. Installed workflow... save commands work in Alfred, but sd-space not showing links. Tried the fix suggested in terminal, but no go (did not offer to install after request). Really would like to use this- please advise, thanks, Emory

emory@Emorys-Mac-Studio ~ %
emory@Emorys-Mac-Studio ~ % /usr/bin/python3
xcode-select: note: No developer tools were found, requesting install.
If developer tools are located at a non-default location on disk, use sudo xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools, and cancel the installation dialog.
See man xcode-select for more details.
emory@Emorys-Mac-Studio ~ %
emory@Emorys-Mac-Studio ~ %
emory@Emorys-Mac-Studio ~ % xcode-select --install
xcode-select: note: install requested for command line developer tools
emory@Emorys-Mac-Studio ~ % install
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
emory@Emorys-Mac-Studio ~ %
emory@Emorys-Mac-Studio ~ % sudo xcode-select --reset
Password:
emory@Emorys-Mac-Studio ~ %
[Restored Jul 30, 2024 at 3:53:41 PM]
Last login: Tue Jul 30 15:49:51 on ttys000
/Users/emory/.zsh_sessions/83885054-D06C-47DA-A641-828BCE137FCC.session:2: command not found: Saving
emory@Emorys-Mac-Studio ~ %

Include Orion RC as a browser

Would you please consider including Orion RC (the release candidate version of the Orion browser) among the browsers that "save current tab" can work with?

If this helps, from Orion RC's info.plist:

<key>CFBundleExecutable</key>
<string>Orion RC</string>

Happy to provide other info if needed!

Search for files?

Hi, it seems the workflow only search for links, is it possible to search for files as well?

Change `open with` browser to chrome, opens two tabs every time.

image

  • Anybox Version 1.19.1 (57)
  • Chrome Version 107.0.5304.110 (Official Build) (arm64)
  • MacBook Pro with Apple M1 Max, macOS Ventura 13.0.1

Expected behavior

opens one selected tab in chrome

Actual behavior

opens one expected tab and one blank tab in chrome

how to reproduce

  1. download the alfredworkflow file and install
  2. change open URL -> open with to chrome browser

image

  1. trigger alfred, type in sd, select one bookmark and hit enter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.