• 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: What is class furl?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is class furl?


  • Subject: Re: What is class furl?
  • From: Luther Fuller <email@hidden>
  • Date: Sun, 16 Jan 2011 08:57:27 -0600

On Jan 14, 2011, I asked:

I just found this line of code in a script ...

if (class of acntDir) = «class furl» then -- true in Leopard

but, I don't remember what «class furl» is. And I need to know.

First, the complete code, in a 'tell application "Mail"' block, is ...

try
get account of mbox
set acnt to the result -- pop OK; "On My Mac" fails; imap Sent, Trash, Junk and Drafts fail.
--
set acntDir to (account directory of acnt) -- OnMyMac errors; imap errors except inbox and TEST; pop OK.
-- test this on Tiger --??? errors here for imap account. pop account OK.
if (class of acntDir) = «class furl» then -- true in Leopard
set acntDir to acntDir as text
else -- in Tiger, acntDir is a text posix path
set acntDir to ((POSIX file acntDir) as alias) as text
end if
--
--
set noAccount to false
on error
set acntDir to ((path to library folder from user domain) as text) & "Mail:Mailboxes:"
set suffix to ".mbox"
set noAccount to true
end try

«class furl» is a file reference of the form ...

file "colon:delimited:text:path:"

But, when I ask ...

class of (file "colon:delimited:text:path:")

I get «class fsrf» . There must be some connection between these classes.

My application no longer supports Tiger, so I removed «class furl» and simplified the code.
The question is now irrelevant.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: What is class furl?
      • From: Axel Luttgens <email@hidden>
References: 
 >What is class furl? (From: Luther Fuller <email@hidden>)

  • Prev by Date: Script Modification
  • Next by Date: Re: Top-posting [ was Variable names]
  • Previous by thread: Re: What is class furl?
  • Next by thread: Re: What is class furl?
  • Index(es):
    • Date
    • Thread