Search found 6 matches

by JohnF
Thu Apr 11, 2024 7:45 am
Forum: Mac OSX
Topic: runprogram Command in Mac OS
Replies: 17
Views: 8506

Re: runprogram Command in Mac OS

Hello Piero,

Yes, the code you provided solved the problem. From this I now understand what I was missing. I believed that sending the Commandline$ directly to exiftool within RunProgram (which works in windows) should work the same way in MacOS. It simply does not. I also believed that sending the ...
by JohnF
Wed Apr 10, 2024 5:34 pm
Forum: Mac OSX
Topic: runprogram Command in Mac OS
Replies: 17
Views: 8506

Re: runprogram Command in Mac OS

Hello Piero,

I'm very pleased to know that others have gone completely mad trying to get RunProgram to function as desired. I've been completely successful when compiling and operating under WINDOWS. My trouble seems to be wholly centered around how strings are treated and passed in the MacOS ...
by JohnF
Wed Apr 10, 2024 7:25 am
Forum: Mac OSX
Topic: runprogram Command in Mac OS
Replies: 17
Views: 8506

Re: runprogram Command in Mac OS

Hi Piero,

Thanks for your reply, but I'm afraid I don't quite know what to make of it.

Can you apply your fix to:

Commandline$ = " -LensMake=Leica AG" ?

Many thanks!
John
by JohnF
Wed Apr 10, 2024 5:56 am
Forum: Mac OSX
Topic: runprogram Command in Mac OS
Replies: 17
Views: 8506

Re: runprogram Command in Mac OS

Can you help me with-> you only have to properly escape \ and " in the PB ~"string"...

I'm afraid there's much I don't know, so giving me and example would be helpful.
by JohnF
Wed Apr 10, 2024 12:16 am
Forum: Mac OSX
Topic: runprogram Command in Mac OS
Replies: 17
Views: 8506

Re: runprogram Command in Mac OS

Thank you for the extended reply which, if I understand correctly allows for extended two-way communication between PureBasic and the executable that is being called.

My application is quite simple, and luckily I've made progress, where I am able to launch and send a commandline$ argument to the ...
by JohnF
Thu Dec 14, 2023 9:00 am
Forum: Mac OSX
Topic: runprogram Command in Mac OS
Replies: 17
Views: 8506

runprogram Command in Mac OS

I've been successful using runprogram to call Exiftool (a widely distributed command line program that accesses image files and their associated meta data) in Windows

I have two cases where I call exiftool. Below are the code snippets for the Windows implementation, which work as expected.

The ...