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


Click here to return to the 'Display the size of the trash prior to emptying - Major rev 4 :D' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Display the size of the trash prior to emptying - Major rev 4 :D
Authored by: cougar718 on Mar 02, '03 10:04:01PM

Oh I see now. Wish I would have seen that before my last post... HAHA. I thought you didn't know what I was doing which was indicated by the "?" mark. So what happened...

MacOSXhints put a ? question mark there. It should be this instead...

if (trashamount <= 0) then
display dialog "Trash currently contains no items" buttons {"Ok"} default button 1
return false
end if

Compile to get the less than or equal sign.

Thanks Noja for seeing this.

---
Rick Bargerhuff alias cougar
Programmer / Developer
Apple Technician / Specialist / Web Designer
Personal Email: cougar718@comcast.net



[ Reply to This | # ]
Display the size of the trash prior to emptying - Major rev 4 :D
Authored by: nosaj56 on Mar 02, '03 10:58:58PM

I changed "is" on that line to what you told me to change it to. Script Editor 2.0b changed that to ≤. I get the same result as with "is." The script wouldn't complie with the "?".

[ Reply to This | # ]