• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Universal or general path to desktop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Re: Universal or general path to desktop? (From: Ben Waldie <email@hidden>)

  • Prev by Date: XML DOM
  • Next by Date: Re: Can't get the application's event dictionary
  • Previous by thread: Re: Universal or general path to desktop?
  • Next by thread: Using Applescript To Dial a Phone Number Mac OS X
  • Index(es):
    • Date
    • Thread