Oops! Here's an update to the script with correction for writing 'No Label' by inserting following at line 56
if ACatItem.ColorLabel = 'No Label' then ACatItem.ColorLabel := '';
Corrected script:
// Color label names in string list must match those set in PSU Preferences,
// so edit as ...
Search found 22 matches
- 31 Aug 21 5:33
- Forum: Photo Supreme
- Topic: Reading and Writing Color Labels
- Replies: 6
- Views: 2818
- 30 Aug 21 22:21
- Forum: Photo Supreme
- Topic: Reading and Writing Color Labels
- Replies: 6
- Views: 2818
Re: Reading and Writing Color Labels
Hello
These might be of help. Just cobbled together but work on my setup (Windows 10 PSU 6.4.0.3863 64bit).
Custom Thumbnail Info to read and display color label:
%code
var
ACatItem: TCatalogItem;
begin
ACatItem := TCatalogItem.Create(nil);
if PublicCatalog.FindImageCombined (ImageItem ...
These might be of help. Just cobbled together but work on my setup (Windows 10 PSU 6.4.0.3863 64bit).
Custom Thumbnail Info to read and display color label:
%code
var
ACatItem: TCatalogItem;
begin
ACatItem := TCatalogItem.Create(nil);
if PublicCatalog.FindImageCombined (ImageItem ...
- 31 Jul 21 10:10
- Forum: Photo Supreme
- Topic: can you pre-select a checkbox when scripting using AskCustom?
- Replies: 3
- Views: 1386
Re: can you pre-select a checkbox when scripting using AskCustom?
Ok, that's great. Will investigate forms.
Many thanks for your reply.
Many thanks for your reply.
- 30 Jul 21 15:12
- Forum: Photo Supreme
- Topic: can you pre-select a checkbox when scripting using AskCustom?
- Replies: 3
- Views: 1386
Re: can you pre-select a checkbox when scripting using AskCustom?
...further to my last...
How do you display radio buttons instead of checkboxes, and can you pre-select one of them?
thanks again
How do you display radio buttons instead of checkboxes, and can you pre-select one of them?
thanks again
- 30 Jul 21 15:04
- Forum: Photo Supreme
- Topic: can you pre-select a checkbox when scripting using AskCustom?
- Replies: 3
- Views: 1386
can you pre-select a checkbox when scripting using AskCustom?
Hello
Referring to the example script 'Say and Ask.psc' from the script repository, and in particular the 'AskCustomChecked' example, is it possible to pre-select one of the checkbox items, so it appears already checked?
following code from 'Say and Ask.psc':
procedure AskCustomChecked;
var
ASl ...
Referring to the example script 'Say and Ask.psc' from the script repository, and in particular the 'AskCustomChecked' example, is it possible to pre-select one of the checkbox items, so it appears already checked?
following code from 'Say and Ask.psc':
procedure AskCustomChecked;
var
ASl ...
- 15 Nov 20 16:33
- Forum: Photo Supreme
- Topic: Custom Thumbnail Info - remove the underline from link text when using <a href=...
- Replies: 6
- Views: 2805
Re: Custom Thumbnail Info - remove the underline from link text when using <a href=...
Many thanks for the list. That's exactly what I wanted - have got lots to work with now.
The tip re multiple <img> paths is really helpful too.
Still on the subject of removing the underline from an href link text, I've just tried surrounding the link text with <p style="text-decoration: none;"></p ...
The tip re multiple <img> paths is really helpful too.
Still on the subject of removing the underline from an href link text, I've just tried surrounding the link text with <p style="text-decoration: none;"></p ...
- 14 Nov 20 8:01
- Forum: Photo Supreme
- Topic: Custom Thumbnail Info - remove the underline from link text when using <a href=...
- Replies: 6
- Views: 2805
Re: Custom Thumbnail Info - remove the underline from link text when using <a href=...
Question update:
Regarding my question about <img>, having investigated further, I have discovered the following:
The <img> 'path' attribute uses path data taken from an svg (scalable vector graphic) file. An svg file is a text file written using XML.
A website explaining the svg 'path' syntax may ...
Regarding my question about <img>, having investigated further, I have discovered the following:
The <img> 'path' attribute uses path data taken from an svg (scalable vector graphic) file. An svg file is a text file written using XML.
A website explaining the svg 'path' syntax may ...
- 13 Nov 20 16:47
- Forum: Photo Supreme
- Topic: Custom Thumbnail Info - remove the underline from link text when using <a href=...
- Replies: 6
- Views: 2805
Re: Custom Thumbnail Info - remove the underline from link text when using <a href=...
Question update:
Addition to my last submission:
I would like to know the full list of attributes available for <img> and if documentation exists for any of them?
For the <img> 'path' attribute, in the forum I have found some complex shape examples such as an 'anchor' and a 'globe'. Is there a ...
Addition to my last submission:
I would like to know the full list of attributes available for <img> and if documentation exists for any of them?
For the <img> 'path' attribute, in the forum I have found some complex shape examples such as an 'anchor' and a 'globe'. Is there a ...
- 13 Nov 20 13:17
- Forum: Photo Supreme
- Topic: Custom Thumbnail Info - remove the underline from link text when using <a href=...
- Replies: 6
- Views: 2805
Re: Custom Thumbnail Info - remove the underline from link text when using <a href=...
Many thanks for your reply Ralf. Any suggestions always welcome.
Just to clarify:
I am still trying to figure out how to remove the underline from the link text
Regarding scripting documentation or reference:
I understand use of color, bgcolor and bgradius but would like to know what other ...
Just to clarify:
I am still trying to figure out how to remove the underline from the link text
Regarding scripting documentation or reference:
I understand use of color, bgcolor and bgradius but would like to know what other ...
- 13 Nov 20 9:33
- Forum: Photo Supreme
- Topic: Custom Thumbnail Info - remove the underline from link text when using <a href=...
- Replies: 6
- Views: 2805
Custom Thumbnail Info - remove the underline from link text when using <a href=...
Hello
Is it possible to remove the underline from link text when using '<a href=" ">link text</a>';
The equivalent effect is achieved in html using:
'<a href=" " style="text-decoration: none;">link text</a>';
Also, is there any scripting documentation or reference for any of the following ...
Is it possible to remove the underline from link text when using '<a href=" ">link text</a>';
The equivalent effect is achieved in html using:
'<a href=" " style="text-decoration: none;">link text</a>';
Also, is there any scripting documentation or reference for any of the following ...
- 11 Nov 20 11:09
- Forum: Photo Supreme
- Topic: Custom thumbnail shape text
- Replies: 2
- Views: 1347
Re: Custom thumbnail shape text
That's excellent. Just tried both methods. Just what I wanted.
Many thanks. Regards
Mike
Many thanks. Regards
Mike
- 11 Nov 20 8:59
- Forum: Photo Supreme
- Topic: Custom thumbnail shape text
- Replies: 2
- Views: 1347
Custom thumbnail shape text
Hello
Is there a way to overlay text onto a shape (or use a text box) when writing scripts for custom thumbnails?
The following creates a rectangle followed by the text 'label' but I'd like to overlay the text onto the rectangle:
%code
begin
AFontColor := '#FFFFFFFF';
AShapeColor := '#FF40FF40 ...
Is there a way to overlay text onto a shape (or use a text box) when writing scripts for custom thumbnails?
The following creates a rectangle followed by the text 'label' but I'd like to overlay the text onto the rectangle:
%code
begin
AFontColor := '#FFFFFFFF';
AShapeColor := '#FF40FF40 ...
- 03 Sep 20 8:32
- Forum: Photo Supreme
- Topic: Get current Portfolio Name or GUID?
- Replies: 2
- Views: 1654
Re: Get current Portfolio Name or GUID?
That's great. Exactly what I was after. I am now able to retrieve the name and GUID data I was seeking.
Many thanks. Regards
Mike
Many thanks. Regards
Mike
- 02 Sep 20 15:23
- Forum: Photo Supreme
- Topic: Get current Portfolio Name or GUID?
- Replies: 2
- Views: 1654
Get current Portfolio Name or GUID?
Hello
Is it possible to get the name or GUID of the currently selected Portfolio/Gallery/Collection?
When viewing the 'Portfolios' tab, I would like to get this data whether or not image(s) are selected.
Is it possible to get the name or GUID of the currently selected Portfolio/Gallery/Collection?
When viewing the 'Portfolios' tab, I would like to get this data whether or not image(s) are selected.
- 22 Aug 20 8:37
- Forum: Photo Supreme
- Topic: Create new portfolio using script?
- Replies: 2
- Views: 1509
Re: Create new portfolio using script?
That's great Hert. Just tried your snippet, which does exactly what I wanted. Excellent.
Many thanks for the details regarding the Object Model too. Hadn't really understood the Portfolio-Gallery connection before. And didn't know about the legacy naming either - very useful info - can make more ...
Many thanks for the details regarding the Object Model too. Hadn't really understood the Portfolio-Gallery connection before. And didn't know about the legacy naming either - very useful info - can make more ...