Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: A set of AppleScripts to toggle item visiblity' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: A set of AppleScripts to toggle item visiblity
Authored by: marky on Nov 26, '03 05:43:01PM

I cannot save the invisible script.I copied and pasted everything from this hint into the script editor but when I try to save it it says:

Expected "then", etc. but found unknown token.

It highlights the question mark in this line towards the top:

if ii ? 1 then

How can I fix this?


Mark

---
Forgive the self promotion...

Add the AboveCalifornia Sherlock channel!
sherlock://www.AboveCalifornia.com/sherlock/SherlockChannel.xml?action=add



[ Reply to This | # ]
10.3: A set of AppleScripts to toggle item visiblity
Authored by: kerbaugh on Dec 01, '03 07:51:14AM

Forgive the tardiness of the response but I only just encountered this. I would have to conjecture, based on the logic, that the "question mark" in line 23 of the "Make Invisible" should be a "greater than" symbol.



[ Reply to This | # ]
10.3: A set of AppleScripts to toggle item visiblity
Authored by: Gnarlodious on Dec 21, '03 01:13:15AM
The line

if ii ? 1 then 

contains an error. Looks like the "?" character should be a comparison operator. If so, it didn't translate well to HTML

 < , > , = or != (not equal) 

are some likely candidates.

---
If you're going to sin, it might as well be original

[ Reply to This | # ]