Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

User-friendliness is what really matters

Name: Anonymous 2009-02-27 15:55

on space_check(threshold_percentage)
    tell application "Finder"
        set the percent_free to ¬
            (((the free space of the startup disk) / ¬
                (the capacity of the startup disk)) * 100) div 1
    end tell
    if the percent_free is less than the threshold_percentage then
        tell application (path to frontmost application as text)
            display dialog "The startup disk has only " & the percent_free & ¬
                " percent of its capacity available." & return & return & ¬
                "Should this script continue?" with icon 1
        end tell
    end if
end space_check

Name: Anonymous 2009-02-28 11:59

>>39
retroactive trolling is not allowed on this forum

Name: Anonymous 2009-02-28 14:11

Name: Anonymous 2009-02-28 14:41

>>42
I am aware where did >>33 come from.
I was just pointing out the misuse of '.
Oh, wait. IHBT

Name: Anonymous 2009-02-28 14:43

>>43
IHBT - The Universal Excuse.

Name: Anonymous 2009-02-28 14:54

ITTWHABT Anyway

Name: Anonymous 2009-02-28 15:02

>>44
What do you mean? I admit I've been trolled by responding to >>43. And to you too.
oh god I'm turning intoFrozenVoid

Name: FrozenVoid 2009-02-28 15:05

Maybe you would like to use IHBD,IHBC and IHBW?
(which is;I Have Been [Disproved,Corrected,Wrong])

Name: Anonymous 2009-02-28 15:06

>>46
oh god I'm turning intoFrozenVoid

You should see a doctor and get some medication before it spreads to the rest of /prog/

Name: Anonymous 2009-02-28 15:09

/prog/ delenda est

Name: Anonymous 2009-02-28 15:29

>>48
Nah, I'll control this. I'll just take a little break from /prog/.
I'm not responding after this post.

Name: Anonymous 2009-02-28 16:07

>>1
Actually, true user-friendliness would be Automator.app.
Unfortunately it doesn't seem to be as powerful as Applescript. I struggle to find a way to reproduce your script in it, maybe it's just my unfamiliarity with the IDE: http://img19.imageshack.us/img19/8319/picture1nhu.png

Name: Anonymous 2009-02-28 16:21

>>51
no, true user-friendliness would be to tell the user to get a real operating system.

Name: 2009-02-28 17:02

>>52
Such as VxWorks.

Name: Anonymous 2009-02-28 17:27

>>52
Such as emacs

Name: 2009-02-28 17:30

Name: Anonymous 2010-11-02 9:58

Name: Anonymous 2010-12-27 9:59

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List