Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

check size of users "home" folder

Featured Replies

  • Newbies

I work at a edu. facility. and I need to make a applescript that check the size of the users "home" folder at login. I have tried with the following script. I run it from the login items in the system pref. But something is wrong, can you please help....

[color:"red"]

try

tell application "Finder"

activate

set username to name of home

set using to round ((physical size of home) / 1024 / 1024)

tell application "Finder"

if using > "4000" then

display dialog ("Hey... " & username & " You use too much diskspace! You use " & using & "MB your quota are 4000MB") with icon stop buttons ("ok")

else

display dialog "welcome"

end if

end tell

end tell

end try

regards/ E.Jex

What problem are you having? I run this script and it displays a welcome message (my home folder is less than 2 GB). As a test, I changed the test for 4000 to 1000 and it brought up the other dialog box.

Chuck

  • Author
  • Newbies

It seems to "klick" if you put it in the login-items, to autostart when you login.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.