gettingstarted
[Top] [All Lists]

Re: desktopfolder

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: desktopfolder
From: Phil Mobley <phil at mobleybros dot com>
Date: Fri, 29 Oct 2004 08:12:27 -0700
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <200410291446 dot i9TEkD16021884 at claeys dot com>
On Oct 29, 2004, at 7:46 AM, Joseph Claeys wrote:

I tried the follow code (from the language reference) using RB 5.5.3 on WinXP(SP2)

...

F=volume(0).desktopfolder

The Desktop Folder is a Macintosh invention. On Windows (especially W2K and higher) there is no concept of a volume desktop folder, hense the Nil object. Instead, there is only a user space desktop folder.

In fact, it is rare even on the Macintosh to need to explicitly access the DesktopFolder of a Volume. Most of the time you would want to access the User Desktop folder which will be the ~/Desktop for OS X. For OS 9, the DesktopFolder object automatically defaults to the Volume(0).DesktopFolder (unless Multiple Users is enabled).

As Will mentioned, just use the DesktopFolder object.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>