New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

AppleScript application


Post Reply New Thread Subscribe

 
Thread Tools
ajdevi92

 
Member Since: Mar 25, 2009
Posts: 1
ajdevi92 is on a distinguished road

ajdevi92 is offline
Hi,

Im making an applescript application at the moment with xcode, the basics of the program is to run remote scripts when i press buttons, so things happens on another mac via remote apple events.

Firstly, can some one please tell me how to link a text field so that it inputs text into the script ?

so say i have a username, password and server text box which i want to input text into the script "eppc://(usernameinsertedhere)password)@(server.local)"

Secondly how do i run shell scripts on remote apples using applescript, i can get it to work just fine locally, with

do shell script "say hello"

but how do i send this as a remote apple event ? I've tried

set remoteFinder to application "Finder" of machine "eppc://username:pass@comp.local"
using terms from application "Finder"
tell remoteFinder
do shell script "say hello"
end tell
end using terms from

but that gives me an error saying 'Finder got an error: "say hello" doesn’t understand the do shell script message.'

i know these are probably really nooby Q's, but can anyone help me please ?
QUOTE Thanks

Post Reply New Thread Subscribe


« open a terminal with top on startup | How to generate profiling code in xcode 3 »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Logic Express and Applescript via GUI Scripting albertaurus Music, Audio, and Podcasting 0 04-09-2009 01:13 PM
Protect Content of Applescript Application BS0D OS X - Development and Darwin 2 12-21-2008 11:34 AM
AppleScript Application with Keyboard activation DCPomeroy OS X - Operating System 0 03-18-2008 01:29 AM
applescript syntax help jakeroberts OS X - Development and Darwin 1 05-12-2007 11:19 AM
Firefox, Passwords & an AppleScript Brown Study OS X - Apps and Games 0 03-03-2007 12:22 AM

All times are GMT -4. The time now is 07:08 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?