Groups
Groups
Sign in
Groups
Groups
TiddlyWiki
Conversations
Labels
About
Send feedback
Help
Help with a small script please
14 views
Skip to first unread message
axelm
unread,
Aug 19, 2011, 3:40:25 PM
8/19/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tiddl...@googlegroups.com
Hello All,
I have neat little script:
<script>var tiddler = store.getTiddler(title); if (tiddler.isTagged("A")) return "Done";</script>
How do I change it so that it returns "Done" if the tag "A" is NOT there?
Tried this "tiddler.isNOTTagged" but that doesn't work.
Please help,
axelm
whatever
unread,
Aug 19, 2011, 3:46:33 PM
8/19/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
Add an exclamation point in front of the condition:
if (!tiddler.isTagged("A"))
Or use an else statement.
w
Reply all
Reply to author
Forward
0 new messages