Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
How to monitor a folder for changes
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
IRC channel
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
For-in loop over constant...
by
VisualLab
[
Today
at 01:49:14 pm]
BUG REPORT: Unable to gen...
by
gasensor
[
Today
at 01:35:19 pm]
Lazarus for Windows on aa...
by
VisualLab
[
Today
at 01:27:12 pm]
The weird Rewrite bug
by
Kays
[
Today
at 01:23:40 pm]
FpDebug unexpected Assemb...
by
440bx
[
Today
at 12:54:43 pm]
Inherits forms and releas...
by
superc
[
Today
at 12:54:22 pm]
InstallAware Using Lazaru...
by
VisualLab
[
Today
at 12:34:43 pm]
Arabic text, problem on L...
by
Zaher
[
Today
at 12:34:05 pm]
RayLib 5.0
by
Guva
[
Today
at 11:25:40 am]
CocoaInt.CocoaIconUse no ...
by
MISV
[
Today
at 09:20:40 am]
Azure sql database will n...
by
paweld
[
Today
at 07:41:17 am]
Does anyone know why this...
by
TYDQ
[
Today
at 06:39:17 am]
TBGRABitmap.TextSize retu...
by
hedgehog
[
Today
at 06:07:46 am]
AI, NLP and CAI: Text Gen...
by
schuler
[
Today
at 04:26:36 am]
Demoscene Square dot flag...
by
KodeZwerg
[
Today
at 03:47:30 am]
How does Castle Game Eng...
by
michalis
[
Today
at 02:51:40 am]
Have anyone develop UEFI ...
by
440bx
[April 16, 2024, 09:39:52 pm]
Lazarus project made on M...
by
Odacir
[April 16, 2024, 08:56:58 pm]
Is it possible to support...
by
PascalDragon
[April 16, 2024, 08:51:36 pm]
CORBA interface and Varia...
by
PascalDragon
[April 16, 2024, 08:35:43 pm]
Macros confuse error mess...
by
PascalDragon
[April 16, 2024, 08:13:25 pm]
Form scaling
by
fxeconomist
[April 16, 2024, 08:09:39 pm]
Post your internal error ...
by
Eugene Loza
[April 16, 2024, 07:12:35 pm]
C-evo: New Horizons 1.3.0...
by
Chronos
[April 16, 2024, 06:32:41 pm]
How can i make this windo...
by
Handoko
[April 16, 2024, 06:23:43 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to monitor a folder for changes (Read 1642 times)
Igor Kokarev
Sr. Member
Posts: 370
How to monitor a folder for changes
«
on:
October 22, 2020, 02:52:34 pm »
Hi,
How to monitor a folder for changes (new/modified files/folders) with Cocoa in macOS? Is there any examples on FPC?
Logged
MarkMLl
Hero Member
Posts: 6683
Re: How to monitor a folder for changes
«
Reply #1 on:
October 22, 2020, 02:57:52 pm »
I've done it on linux but I don't know whether the same API is applicable to Macs.
MarkMLl
Logged
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories:
https://github.com/MarkMLl?tab=repositories
trev
Global Moderator
Hero Member
Posts: 2020
Former Delphi 1-7, 10.2 user
Re: How to monitor a folder for changes
«
Reply #2 on:
October 23, 2020, 01:48:52 am »
See
File System Events
and packages/univint/src/FSEvents.pas
Logged
Igor Kokarev
Sr. Member
Posts: 370
Re: How to monitor a folder for changes
«
Reply #3 on:
October 23, 2020, 01:37:13 pm »
trev,
Mark,
Many thanks for your replies!
I'll learn FSEvents now.
Logged
AlexTP
Hero Member
Posts: 2401
Re: How to monitor a folder for changes
«
Reply #4 on:
October 23, 2020, 02:01:45 pm »
DirectoryWatcher
https://forum.lazarus.freepascal.org/index.php/topic,37415.0.html
Logged
CudaText editor
-
ATSynEdit
-
More from me
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
How to monitor a folder for changes
TinyPortal
© 2005-2018