Handbook
Glossary
find-notepadnext-path ( -- path line#? )
Vocabulary
editors
.
notepadnext
Inputs
None
Outputs
path
an
object
line#?
an
object
Definition
USING:
system
;
IN:
editors.notepadnext
HOOK:
find-notepadnext-path
os
( -- path line#? )
Methods
USING:
editors.notepadnext
io.standard-paths
system
;
M:
linux
find-notepadnext-path
"NotepadNext"
find-in-path
t
;
USING:
editors.notepadnext
io.pathnames
io.standard-paths
kernel
sequences
system
;
M:
macos
find-notepadnext-path
{
"com.yourcompany.NotepadNext"
"io.github.dail8859.NotepadNext"
}
[
find-native-bundle
[
"Contents/MacOS/NotepadNext"
append-path
]
[
f
]
if*
]
map-find
"io.github.dail8859.NotepadNext"
=
;
USING:
editors.notepadnext
io.standard-paths
kernel
system
;
M:
windows
find-notepadnext-path
{
"Notepad Next"
}
"NotepadNext.exe"
find-in-applications
[
"NotepadNext.exe"
]
unless*
t
;