| To: | REALbasic NUG French <realbasic-nug dot fr at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Place Disque |
| From: | Mathieu Fay <mfay at free dot fr> |
| Date: | Fri, 30 May 2008 21:02:27 +0200 |
| Authentication-results: | mx.google.com; spf=pass (google.com: domain of realbasic-nug dot fr-bounces at lists dot realsoftware dot com designates 66.116.103.65 as permitted sender) smtp dot mail=realbasic-nug dot fr-bounces at lists dot realsoftware dot com |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-nug dot fr at lists dot realsoftware dot com |
| References: | <92B01452-F417-4897-A327-0DFAB771F951 at marine-label dot com> |
Sur Mac, on peut essayer un petit AppleScript : (il suffit de lui
passer un AbsolutePath de Volume).
on run (MonFich)
-- Attention MonFich est un TEXTE
try
set Var to MonFich as string
tell application "Finder"
set Ret to ((free space of item Var) / 1024 / 1024) as
integer
end tell
return "Reste : " & (Ret as string) & " Mo"
on error
return ""
end try
end run
A+
Mathieu (Borak sur MacFR)
Le 30 mai 08 à 16:49, frael a écrit :
Bonjour, est-ce que quelqu'un sait trouver en RB la place disque dispo sur un volume donné ?Marc |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: postgreSQL et Mac Intel, Robin de Kat |
|---|---|
| Next by Date: | Re: Place Disque, Eric Ferrer |
| Previous by Thread: | Re: Place Disque, Stephane Pinel |
| Next by Thread: | Re: Place Disque, Eric Ferrer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |