Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Do not work for me' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Do not work for me
Authored by: eevyl on Jan 11, '03 08:21:21PM

After installing the System Events beta, the script do not work for me, giving the error:

System Events got an error: NSReceiverEvaluationScriptError: 4



[ Reply to This | # ]
Re: Do not work for me
Authored by: eevyl on Jan 11, '03 08:31:21PM

I reply to myself, forgot to activate the Universal Access thing... sorry :)



[ Reply to This | # ]
Add one thing?
Authored by: stevec on Jan 11, '03 11:01:13PM

Can one of you Applescript gurus out there tell me how to add the check box for "Share the connection with other computers on built in ethernet" to this script?

I have a dual NIC setup and without that this script is pretty much useless to me.



[ Reply to This | # ]
Add one thing?
Authored by: thefinite on Jan 11, '03 11:16:38PM
After you have checked the box once, it should stay checked. If it does not stay checked, and you need to recheck it every time you start Internet Sharing, add the following lines after "delay 1" and before "Click button start":

Click checkbox "Share the connection with other computers on Built-in Ethernet"
delay 1

If it doesn't work, shoot me an email at aaronmiller@NOSPAMmac.com and let me know what error comes up. Obviously, remove the NOSPAM from my address.

[ Reply to This | # ]
Re: Do not work for me
Authored by: carbondave on Jan 12, '03 11:43:41AM

This script is great but it is not as easy as it was made to sound. First install the UI Scripting Beta then go into the Universal Access prefs and check "Enable access for assistive devices" and move on to saving the script as an app and putting it in you Login Items. After that you are good to go.



[ Reply to This | # ]
Re: Do not work for me
Authored by: rgmichel on Feb 16, '04 10:07:16AM

OK. But what is the UI Scripting Beta? Is this on the Apple web site?
Panther did leave File sharing "on" on a reboot at first, then I did one of the security updates and it stopped remembering that file sharing should be on. So, this script would be great.

---
Bob



[ Reply to This | # ]
Re: Do not work for me
Authored by: rgmichel on Feb 16, '04 10:12:03AM

OK. I have it working. I guess the thing to do is to go into the Universal Access menu item of System preferences and enable universal access for assistive devices. Then, the script works. Brialliant. Thanks.

---
Bob



[ Reply to This | # ]