• 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: Christopher Nebel <email@hidden>
  • Date: Fri, 10 Oct 2003 15:37:44 -0700

On Oct 10, 2003, at 9:36 AM, Steve Roy wrote:

Here's something weird:

tell application "System Events" of machine "eppc://some.valid.address"
using terms from application "System Events"
application file of first application process
--> alias "Beautyloginwindow.app"
end using terms from
end tell

The alias returned is completely invalid. I also tried 'file' instead of
'application file', as well as "Finder" instead of "System Events", and
they all return the same bogus alias.

Does anyone know of a workaround for this?

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?


--Chris Nebel
AppleScript Engineering
_______________________________________________
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.

  • Follow-Ups:
    • Re: application file of remote app broken
      • From: Steve Roy <email@hidden>
References: 
 >application file of remote app broken (From: Steve Roy <email@hidden>)

  • Prev by Date: Re: Call an osax remotely?
  • Next by Date: Re: OSX help
  • Previous by thread: Re: application file of remote app broken
  • Next by thread: Re: application file of remote app broken
  • Index(es):
    • Date
    • Thread