Jump to content

Kaihao

Member
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Kaihao

  1. To fix this, you can add this after line11 of file acshell.sh LIST+=$(find /System/Applications -maxdepth 2 | egrep -i "\.app$" | grep -i "$QUERY") Then it works for most of system apps. But Catalyst Apps, like Podcast.app, still doesn't work. As their internal structures(Info.plist and icns files) are different from the AppKit apps. I don't know how to fix this.
  2. I'm also using Catalina. This workflow works fine, except for system apps. In macOS Catalina, system apps(except Safari) are actually at /System/Applications, not /Applications.
  3. A simple Fix for Alfred 4.0. Right click the workflow, select "open in Finder". Open file acshell.sh. Then Change all the tell application "Alfred 2" to tell application "Alfred 4" Done!
  4. There is an error in bash capturing. It should remove the spaces around the equal sign. output=$(osascript -e 'display dialog "this is the text" buttons {"Cancel","Confirm"} default button 2 with title "this is a title" with icon file "System:Library:CoreServices:CoreTypes.bundle:Contents:Resources:SideBarDownloadsFolder.icns"') answer=${output#button returned:} or just like this answer=$(osascript -e 'button returned of (display dialog "this is the text" buttons {"Cancel","Confirm"} default button 1 with title "this is a title" with icon file "System:Library:CoreServices:CoreTypes.bundle:Contents:Resources:AlertStopIcon.icns")')
×
×
  • Create New...