Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
macOS / Mac OS X
»
[Solved] "Open With" - how app can get filename?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
IDE tabs and spaces, auto...
by
chris_laz
[
Today
at 04:23:03 pm]
[maybe SOLVED] BUG in Inp...
by
robert rozee
[
Today
at 04:20:51 pm]
TPrintDialog disable Prop...
by
Zvoni
[
Today
at 04:19:29 pm]
Zebra printer and LazRepo...
by
tito_livio
[
Today
at 03:55:17 pm]
Cannot update a record us...
by
Zvoni
[
Today
at 02:39:34 pm]
Lazarus Release Candidate...
by
Martin_fr
[
Today
at 01:16:07 pm]
Move tab to other pagecon...
by
majid.ebru
[
Today
at 01:15:57 pm]
How to get and use the ma...
by
Hansaplast
[
Today
at 12:46:42 pm]
Tcsvdataset issue
by
Zvoni
[
Today
at 12:17:21 pm]
[Solved] DBEXPORT TFixedl...
by
Zvoni
[
Today
at 10:15:53 am]
NIL vs. Assign: when to u...
by
MarkMLl
[
Today
at 09:47:37 am]
Converting a Project from...
by
Zvoni
[
Today
at 08:11:37 am]
Uninstall
by
TRon
[
Today
at 03:56:15 am]
Using Bresenham's line al...
by
TBMan
[
Today
at 02:40:18 am]
[SOLVED] Remote access to...
by
wcage03
[
Today
at 02:12:39 am]
Hooking to `OnISupport` d...
by
Gustavo 'Gus' Carreno
[
Today
at 02:12:35 am]
Remote access to database...
by
wcage03
[
Today
at 12:48:40 am]
Program crashing with exc...
by
jamie
[March 19, 2025, 11:20:14 pm]
Checking for number or no...
by
Bart
[March 19, 2025, 10:05:18 pm]
Form goes Frame - drag an...
by
Nicole
[March 19, 2025, 07:08:08 pm]
How to block mouse withou...
by
Yurgenz
[March 19, 2025, 06:45:54 pm]
How to download/compile l...
by
zeljko
[March 19, 2025, 06:13:35 pm]
LazTTF2Vector - An Enhanc...
by
maurog
[March 19, 2025, 06:07:44 pm]
AVRPascal – free code edi...
by
ackarwow
[March 19, 2025, 05:22:53 pm]
Freepascal Toolkit in VS ...
by
PhoenixHawk
[March 19, 2025, 04:04:16 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] "Open With" - how app can get filename? (Read 944 times)
AlexTP
Hero Member
Posts: 2541
[Solved] "Open With" - how app can get filename?
«
on:
September 14, 2022, 03:33:13 pm »
User of CudaText tells that editor cannot handle the filename when he runs "Open With" from Finder. So the command-line handling of filenames don't work here, I guess. How to handle the "Open With" then? How does it pass filename to my app?
OS: Monterey, x64.
https://github.com/Alexey-T/CudaText/issues/4364
«
Last Edit: September 15, 2022, 12:52:39 pm by AlexTP
»
Logged
CudaText editor
-
ATSynEdit
-
More from me
MarkMLl
Hero Member
Posts: 8330
Re: macOS "Open With" - how app can get filename?
«
Reply #1 on:
September 14, 2022, 03:38:25 pm »
Does MacOS include the XDG utilities or an equivalent?
MarkMLl
Logged
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories:
https://github.com/MarkMLl?tab=repositories
AlexTP
Hero Member
Posts: 2541
Re: macOS "Open With" - how app can get filename?
«
Reply #2 on:
September 15, 2022, 12:52:12 pm »
Solved. I now recalled that LCL calls TForm.OnDropFiles for those files.
Logged
CudaText editor
-
ATSynEdit
-
More from me
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
macOS / Mac OS X
»
[Solved] "Open With" - how app can get filename?
TinyPortal
© 2005-2018