Display Home folder space in Menu Bar
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Display Home folder space in Menu Bar
Hi,
I would like to create a small app that shows the logged in user how much space is left in their User directory visually within the menu bar. Is there a way to do this within livecode without any 3rd party apps/software?
Thanks in advance for any help forthcoming
I would like to create a small app that shows the logged in user how much space is left in their User directory visually within the menu bar. Is there a way to do this within livecode without any 3rd party apps/software?
Thanks in advance for any help forthcoming
Re: Display Home folder space in Menu Bar
Hi derr1ck,
this is not possible with the build in functionality of Livecode.
Best
Klaus
this is not possible with the build in functionality of Livecode.
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 9867
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Display Home folder space in Menu Bar
The diskSpace function may help.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Display Home folder space in Menu Bar
Richard,
checking the empty space is definitively not the problem here!
Best
Klaus
checking the empty space is definitively not the problem here!
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 9867
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Display Home folder space in Menu Bar
I may not have correctly interpreted "shows the logged in user how much space is left in their User directory" - does the system in question impose user-specific quotas?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Display Home folder space in Menu Bar
Hi Richard,
I was actially referring to this part: "... within the menu bar"
Best
Klaus
I was actially referring to this part: "... within the menu bar"
Best
Klaus
Re: Display Home folder space in Menu Bar
Yes Richard, there is a quota on user accounts, but its only enforced by a php script that runs nightly & checks the users account and if over quota moves the account from the Users folder. I want a visual display of the users account space while the user is logged in or something that pops up before the user logs out displaying how much space the account has.
-
- VIP Livecode Opensource Backer
- Posts: 9867
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Display Home folder space in Menu Bar
Since this is on a server, the good news is that you could probably write a PHP script to return that info. But the bad news is what Klaus drew my attention to: you'll have to find another place to display that than the menubar, unless you want to write an external to hook into that.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn