• 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
"of machine" use?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"of machine" use?


  • Subject: "of machine" use?
  • From: Chris Garaffa <email@hidden>
  • Date: Sun, 10 Nov 2002 15:43:36 -0500

Hi list,

I'm working on an AppleScript Studio application to control an application on a remote machine (the computer is on my LAN here).
Whenever I use something like
tell application "iTunes" of machine "eppc://192.168.2.2"
the app just hangs when that code is called (I mean spinning beachball). I tried putting "eppc://192.168.2.2" in a property, and I tried putting chris:thePass@ after the :// and before the 192 (as that is the user name and password).
I found out this isn't an AppleScript Studio problem (otherwise, I would have sent this to a -Studio list) because I copied the problem code into Script Editor, ran it, and got the same spinning beachball result.
Here's the code I used in Script Editor to test:


property remote_IP : "eppc://192.168.2.2"
set theObject to "Forward"
if theObject = "Forward" then
using terms from application "iTunes"
tell application "iTunes" of machine remote_IP
next track
play
end tell
end using terms from
else if theObject = "GoBack" then
tell application "iTunes" of machine remote_IP
using terms from application "iTunes"
previous track
play
end using terms from
end tell
end if

(it's my Studio code minus the "on clicked", etc. stuff)
I tried putting the "using terms from"... outside of the "tell application "iTunes" of machine"... block, but no difference.

If I try it without "of machine remote_IP, it controls iTunes on my machine just fine. But that's not what I want.


Any ideas?
Thanks in advance,

Chris Garaffa
email@hidden
_______________________________________________
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: "of machine" use?
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Finder selection in column view
  • Next by Date: Re: Finder selection in column view
  • Previous by thread: Finder selection in column view
  • Next by thread: Re: "of machine" use?
  • Index(es):
    • Date
    • Thread