GithubHelp home page GithubHelp logo

Comments (8)

NeighNeighNeigh avatar NeighNeighNeigh commented on September 4, 2024 1

Hey that fixed it, thanks. It's so nice to have note linking functionality πŸ’›

from alfred-search-notes-app.

sballin avatar sballin commented on September 4, 2024

Thanks for the report. I can't reproduce this... Can you verify that Alfred has permissions enabled in System Preferences > Security & Privacy > Privacy > Accessibility, Full Disk Access, Files and Folders, and Automation (for which there should be an "Alfred 4 > Notes" checkbox)?

If that doesn't fix it, what is your system language? Does this happen when you try to get the URL for a particular note, or any one of them?

from alfred-search-notes-app.

NeighNeighNeigh avatar NeighNeighNeigh commented on September 4, 2024

Hi thanks for getting back to me. Alfred has permissions in all those places. My system language is English (Australia). And the problem occurs with all notes. I should mention the rest of the workflow functions and if I manually create a notes:// link, the Note Opener app works as expected.

from alfred-search-notes-app.

sballin avatar sballin commented on September 4, 2024

Hmm, that's weird. You could try copying it into Script Editor.app and seeing where it goes wrong. If you need some guidance, I would start with trying just this to see if it works:

use framework "Foundation"
use scripting additions -- fixes errors due to previous line
property NSString : a reference to current application's NSString
property NSCharacterSet : a reference to current application's NSCharacterSet

tell application "Notes"
    set q to "x-coredata://E56025F2-FC6A-42A7-8A73-EC73F575F9EF/ICNote/p3007?"
    set q to text 1 thru ((offset of "?" in q) - 1) of q
end tell

then keep adding lines before end tell and see where the error happens.

from alfred-search-notes-app.

NeighNeighNeigh avatar NeighNeighNeigh commented on September 4, 2024

Screen Shot 2020-08-19 at 1 52 38 am

Seems that error crops up immediately :(

Screen Shot 2020-08-19 at 1 53 23 am

from alfred-search-notes-app.

sballin avatar sballin commented on September 4, 2024

Can you try restarting? And if that doesn't fix it, try unchecking and rechecking the permission checkboxes.

from alfred-search-notes-app.

NeighNeighNeigh avatar NeighNeighNeigh commented on September 4, 2024

Im so sorry to report that neither has made a difference. Unfortunately for now I have to go to bed (its 2:33am here lol)

from alfred-search-notes-app.

sballin avatar sballin commented on September 4, 2024

Oh, I think we encountered this issue before! Try changing the line to

set noteName to name of note id q in default account

from alfred-search-notes-app.

Related Issues (20)

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.