Discussion:
[fpc-pascal] Linux Yad
Brian via fpc-pascal
2021-06-06 18:13:01 UTC
Permalink
Has anyone called Yad (linux file manager) as an external program form a main
program ?

If so can you provide an example of how to do it and retrieve the selected
file name?

Thanks
Brian



--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
_______________________________________________
fpc-pascal maillist - fpc-***@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/ma
Dennis Lee Bieber via fpc-pascal
2021-06-06 21:39:24 UTC
Permalink
On Sun, 6 Jun 2021 11:13:01 -0700 (MST), Brian via fpc-pascal
<fpc-***@lists.freepascal.org> declaimed
the following:

Apologies, no actual experience -- just consolidation of Google
results...
Post by Brian via fpc-pascal
Has anyone called Yad (linux file manager) as an external program form a main
program ?
https://www.systutorials.com/docs/linux/man/1-yad/
"""
YAD is a program that will display GTK+ dialogs, and return (either in the
return code or on standard output) the users input.
"""
Post by Brian via fpc-pascal
If so can you provide an example of how to do it and retrieve the selected
file name?
Seem the second ("an improved example...") example at
https://wiki.freepascal.org/Executing_External_Programs#TProcess
covers reading the stdout of the spawned process.. Or the simplified
interface of
https://wiki.freepascal.org/Executing_External_Programs#.28Process..29RunCommand
--
Wulfraed Dennis Lee Bieber AF6VN
***@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

_______________________________________________
fpc-pascal maillist - fpc-***@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/lis
Loading...