• 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: Problem with POSIX paths?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with POSIX paths?


  • Subject: Re: Problem with POSIX paths?
  • From: Dave <email@hidden>
  • Date: Wed, 15 Jun 2016 21:09:26 +0100

Hi Yvan,

I think I understand what you are saying, but I’m not that good with AppleScript and not sure how to find out if this is the problem, and if it is fix it.

Should I do something like convert it to text? As in:

on getMacPathWithPOSIXPath:(thePOSIXPath as text)
	set myMacPath to thePOSIXPath as POSIX file
	return myMacPath as text					—Convert to Text
end getMacPathWithPOSIXPath:

All the Best
Dave

> On 15 Jun 2016, at 16:30, Yvan KOENIG <email@hidden> wrote:
>
> As some of you know I don't use M…soft products so I can't be sure of my thought.
>
> What is sure is that the instruction :
> set posixFile to posixPath as POSIX file
>
> doesn't return a pathname but a «class furl» object.
> So I wonder if your problem is that maybe Word can't deal with this kind of object.
> On my HD I have access to a dictionary from Word whose version is #14.2.4 which say that full name is a text object.
>
> If it's always true I would not be surprised that the instruction :
> set myDocumentList to (every document whose full name is myDocumentID)
> fails because it compare a text object (full name) to a «class furl» one (myDocumentID).
>
>
>
> Yvan KOENIG running El Capitan 10.11.5 in French (VALLAURIS, France) mercredi 15 juin 2016 17:30:25
>
>
>
> _______________________________________________
> 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


 _______________________________________________
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


References: 
 >Problem with POSIX paths? (From: Dave <email@hidden>)
 >Re: Problem with POSIX paths? (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: Problem with POSIX paths?
  • Next by Date: Re: Problem with POSIX paths?
  • Previous by thread: Re: Problem with POSIX paths?
  • Next by thread: Re: Problem with POSIX paths?
  • Index(es):
    • Date
    • Thread