Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Community > Team MacNN > Applescript to launch RC5 at login

Applescript to launch RC5 at login
Thread Tools
Grizzled Veteran
Join Date: Sep 2000
Location: Florida
Status: Offline
Reply With Quote
Feb 27, 2002, 01:13 PM
 
I thought it would be simple enough to make an Applescript application that could be started at login by the Lgin control panel. I wrote this code

Code:
<STRONG>tell application "Terminal"
run
do script "./dnetc/dnetc"
end tell</STRONG>
I have the dnetc executable in this location (home directory)/dnetc so the command i use in the terminal to start it is as simple as ./dnetc/dnetc

Although the check sysntax doesn't report any errors, it does say this when I run it "Terminal got an error: NSInternal Sript Error". I'm inclined to believe that something is wrong with the terminal and not the Applescript, but I don't know for sure. Anyhelp would be appreciated.
-- SBS --
     
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Reply With Quote
Feb 27, 2002, 09:58 PM
 
don't know much about scripting, but wouldn't you want to add a -runonline after the dnetc?

I'd like to know, though, if you figger it out.

CV

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
Grizzled Veteran
Join Date: Sep 2000
Location: Florida
Status: Offline
Reply With Quote
Feb 28, 2002, 02:29 PM
 
I've got the dnetc client running fine now with no commands. I just want an applescript to start it up.
-- SBS --
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 11:45 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2