It looks like the default clippings can’t be edited. They also seem to be stored in a different folder.
This is an issue for a couple reasons.
First, opening and editing the default clippings is how I learned to work with place holders (they’re barely mentioned in Help). But now I can’t look at the source text at all.
Second, there are some of the default clippings I like, but most, not so much. My preference is to populate the clippings menu with mostly my clippings, and a few of the default clippings, in the order I choose. It looks like I no longer have this option.
Now, another question. I am trying to make a text substitution, out of this:
--DisplayDialog (with answer)
set [[template:dialogText]] to "[[template:]]"
set [[template:dialogTitle]] to "[[template:]]"
set [[template:defaultAnswer]] to "[[template:]]"
set [[template:hiddenAnswer]] to [[template:false]]
set [[template:dialogButtons]] to {"Cancel","Skip","OK"}--{[[template:value1]], [[template:value2]], [[template:value3]]}
set [[template:defaultButton]] to [[template:custompicker:Default Button Number:1:2:3]]
set [[template:cancelButton]] to [[template:custompicker:Cancel Button Number:1:2:3]]
set [[template:dialogIcon]] to [[template:custompicker:Select Icon:caution:note:stop]]
set [[template:givingUpAfter]] to [[template:60]]
set [[template:dialogReply]] to ¬
display dialog [[template:dialogText]] ¬
with title [[template:dialogTitle]] ¬
default answer [[template:defaultAnswer]] ¬
hidden answer [[template:hiddenAnswer]] ¬
buttons [[template:dialogButtons]] ¬
default button [[template:defaultButton]] ¬
cancel button [[template:cancelButton]] ¬
with icon [[template:dialogIcon]] ¬
giving up after [[template:givingUpAfter]]
But in the text substittuion editing window it looks like this:
set #~dialogText~# to "#~replace me~#"
set #~dialogTitle~# to "#~replace me~#"
set #~defaultAnswer~# to "#~replace me~#"
set #~hiddenAnswer~# to #~false~#
set #~dialogButtons~# to {"Cancel","Skip","OK"}--{#~value1~#, #~value2~#, #~value3~#}
set #~defaultButton~# to #~custompicker:Default Button Number:1:2:3~#
set #~cancelButton~# to #~custompicker:Cancel Button Number:1:2:3~#
set #~dialogIcon~# to #~custompicker:Select Icon:caution:note:stop~#
set #~givingUpAfter~# to #~60~#
set #~dialogReply~# to ¬
display dialog #~dialogText~# ¬
with title #~dialogTitle~# ¬
default answer #~defaultAnswer~# ¬
hidden answer #~hiddenAnswer~# ¬
buttons #~dialogButtons~# ¬
default button #~defaultButton~# ¬
cancel button #~cancelButton~# ¬
with icon #~dialogIcon~# ¬
giving up after #~givingUpAfter~#
(Although it still works. Those look like the same tags that you get from the dictionary.)
So when you click the Open in Script Debugger button the choices for default button and cancel buttons don’t work the way a clipping does, but everything else does.
Some of the placeholders are handled in different places in the code, for fairly complex reasons, which is why you see some work in substitutions and others not.
Hmmm… On my work Mac the text substitution looks correct in the window. But it doesn’t work. (When I type the characters and hit return the characters don’t get replaced. Other text substitutions still work)
It seems like there’s a limit to how many characters you can have in a text substitution.
Is that fixable??
→ Script Debugger 7.0.13 (7A125)
→ Mac OS 10.11.6 (15G22010)