• 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: application file of remote app broken
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: application file of remote app broken


  • Subject: Re: application file of remote app broken
  • From: Walter Ian Kaye <email@hidden>
  • Date: Fri, 10 Oct 2003 22:59:32 -0700

At 09:55p -0400 10/10/2003, Steve Roy didst inscribe upon an electronic papyrus:

Christopher Nebel <email@hidden> wrote:

> Realize that you're asking a somewhat nonsensical question. If that
> machine's disk isn't mounted (and arguably even if it is), then the
> alias is fundamentally meaningless anywhere other than the remote
> machine. What does it mean to have an alias to something on a disk
> that, from your local machine's point of view, doesn't exist? Now, if
> you just want the path, then you could convert the alias to a string,
> but you'd have to do that on the remote machine. What are you
actually
> trying to do?

I'm trying to get the filepath,

I think he meant "In support of what underlying goal?"...

but as other's have noted, coercing to a string doesn't work.

tell application "System Events" of machine "eppc://192.168.1.103"
using terms from application "System Events"
application file of first application process as string
--> "Beautyloginwindow.app"
end using terms from
end tell

I agree that retrieving an alias of a remote machine is nonsensical, but
how can I get the path

Well, as he said, you'd have to do that _on_ the remote machine.

and why isn't the coercion happening correctly?

You mean instead of throwing an exception? Perhaps it should error, if in fact the coercion is something that must be done on the remote machine.

Personal homepage: <http://ho; PPge.mac.com/sroy>

Yikes, what happened there? Your .sig got corrupted, at least here.
Did that happen elsewhere too?


-boo
_______________________________________________
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: application file of remote app broken (From: Steve Roy <email@hidden>)

  • Prev by Date: Re: A simple script.
  • Next by Date: changing start up disk
  • Previous by thread: Re: application file of remote app broken
  • Next by thread: How do I format a number or Round a number?
  • Index(es):
    • Date
    • Thread