Zeigt mal den Code den ihr bis jetzt habt.
Ich kann euch das anbieten
Zitat:
property deintext : ""
property costumetext : ""
display dialog "Text Eingeben:" default answer deintext
set the deintext to text returned of the result
if deintext contains "a" then set costumetext to "b"
display dialog costumetext
...
|
Das ist jetzt ein Beispiel für den Buchstaben a
Sonst könntet ihr auch noch groß und kleinbuchstaben ignorieren was so geht:
Zitat:
property deintext : ""
property costumetext : ""
display dialog "Text Eingeben:" default answer deintext
set the deintext to text returned of the result
ignoring case
if deintext contains "a" then set costumetext to "b"
end ignoring
display dialog costumetext
...
|