Skip to content

Commit

Permalink
Fix issue #29
Browse files Browse the repository at this point in the history
  • Loading branch information
sballin committed Aug 19, 2020
1 parent a42cb5c commit 49db6c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@ property NSCharacterSet : a reference to current application's NSCharacterSet
on alfred_script(q) tell application "Notes"
-- Get note id which is first item in q
set q to text 1 thru ((offset of "?" in q)-1) of q set noteName to name of note id q
set the clipboard to noteName set noteName to (NSString's stringWithString:noteName) set noteName to (noteName's stringByAddingPercentEncodingWithAllowedCharacters:(NSCharacterSet's URLPathAllowedCharacterSet)) as text
set q to text 1 thru ((offset of "?" in q)-1) of q set noteName to name of note id q in default account
set the clipboard to noteName set noteName to (NSString's stringWithString:noteName) set noteName to (noteName's stringByAddingPercentEncodingWithAllowedCharacters:(NSCharacterSet's URLPathAllowedCharacterSet)) as text
set noteUrl to "notes://" & noteName
set the clipboard to noteUrl end tell
end alfred_script</string>
Expand Down Expand Up @@ -681,7 +681,7 @@ or create note</string>
<string>1</string>
</dict>
<key>version</key>
<string>3.1.0</string>
<string>3.1.1</string>
<key>webaddress</key>
<string>https://github.com/sballin/alfred-search-notes-app</string>
</dict>
Expand Down

0 comments on commit 49db6c2

Please sign in to comment.