Re: Universal or general path to desktop?
Re: Universal or general path to desktop?
- Subject: Re: Universal or general path to desktop?
- From: Malcolm Fitzgerald <email@hidden>
- Date: Tue, 8 Apr 2003 12:50:32 +1000
Mike,
On Monday, April 7, 2003, at 09:57 PM, MR wrote:
I need to make the following line, within an Applescript within a
Filemaker script, able to work on any desktop within the office,
whether running OSX or OS9.2:
set sourceFolder to "MacintoshHD:Users:username:desktop:fileondesktop:"
The above is specific to OSX on one desktop and I need it to work
on one of several different desktops.
Try...
set sourceFolder to ((path to desktop folder as string) &
"fileondesktop") as string
And if that solution isn't sufficient you can use FMPs built-in
functions to test for status(CurrentSystemVersion) and provide code
accordingly.
--
--
Malcolm Fitzgerald email@hidden
Database Manager
http://www.asauthors.org
The Australian Society of Authors ph: 02 93180877 fax: 02 93180530
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.