Search found 7 matches

by pierre2
Mon Dec 05, 2022 11:25 am
Forum: Coding Questions
Topic: Cross-platform column justification of ListIconGadget
Replies: 27
Views: 15451

Re: Cross-platform column justification of ListIconGadget

Same thing, I'm afraid, with or without the ImportC.
by pierre2
Sun Dec 04, 2022 1:23 pm
Forum: Coding Questions
Topic: Cross-platform column justification of ListIconGadget
Replies: 27
Views: 15451

Re: Cross-platform column justification of ListIconGadget

Using Linux Mint 21 Vannessa Mate, when I compile I get this message:

gtk_tree_view_column_set_alignment() is not a function, array, list, map or macro.

Is anyone able to point me in the right direction, please ?
by pierre2
Wed Mar 03, 2021 4:22 pm
Forum: Coding Questions
Topic: Cross-platform column justification of ListIconGadget
Replies: 27
Views: 15451

Re: Cross-platform column justification of ListIconGadget

Late to the party, but thank you Shardik for your cross-platform alignment code (both here, and elsewhere for TextGadgets) - exactly what I needed. Good work !
by pierre2
Tue Mar 10, 2020 7:28 pm
Forum: Mac OSX
Topic: p7zip and runprogram
Replies: 10
Views: 4420

Re: p7zip and runprogram

Stunning - thank you so much for your reply, which explains so much. I had no idea that PB had 7zip functionality built in. I have stashed your entire reply away in my file of "really useful stuff".
by pierre2
Sat Feb 22, 2020 6:39 pm
Forum: Mac OSX
Topic: p7zip and runprogram
Replies: 10
Views: 4420

Re: p7zip and runprogram

Making progress with a combination of zip (rather than p7zip), a shell script, and of course PB. The p7zip version of the shell script works from the command line, but I can't get it working from RunProgram, so I am now using zip instead.
by pierre2
Fri Feb 21, 2020 6:11 pm
Forum: Mac OSX
Topic: p7zip and runprogram
Replies: 10
Views: 4420

Re: p7zip and runprogram

Thanks for your ideas, and for your time. I tried all of your suggestions, including all variations of the Mac post (except, it seems, the correct one !), e.g.

Code: Select all

theApp.s = "-a 7za --args " + Chr(34) + "a MyBackup *.pdf" + Chr(34)
- no luck yet ...
by pierre2
Fri Feb 21, 2020 5:02 pm
Forum: Mac OSX
Topic: p7zip and runprogram
Replies: 10
Views: 4420

p7zip and runprogram

Apologies for another RunProgram question. I am trying to use p7zip (executable name: 7za) via RunProgram.

Having navigated to the correct directory, the following works in Terminal:

7za a MyBackup *.pdf

(this copies and compresses all .pdf files in the directory, and saves them in an archive ...