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


Click here to return to the 'Rudimentary Applescript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Rudimentary Applescript
Authored by: rjv on Nov 27, '02 11:18:51PM

Here is a rudimentary Applescript to turn on Bluetooth internet sharing. You still need to turn Internet Sharing using Brickhouse or some other method.

Paste the following into Script Editor:

set runresult to ""
tell me to activate
display dialog "Turn Bluetooth Internet Sharing ON?" buttons {"Cancel", "Yes"} default button 2
set userchoice to button returned of result
if userchoice = "Yes" then
with timeout of 20 seconds
try
do shell script "sudo /usr/libexec/InternetSharing" with administrator privileges
set runresult to "Statement 1 done" & return
on error errormsj
display dialog errormsj as string
set runresult to runresult & "Statement one failed" * errormsj & return
end try
try
do shell script "sudo /usr/sbin/pppd /dev/tty.Bluetooth-PDA-Sync 115200 noauth local passive proxyarp asyncmap 0 silent persist :10.1.1.201 &"
set runresult to "Internet Sharing ON" & return
on error errormsj
display dialog errormsj as string
set runresult to runresult & "Statement 2 failed" * errormsj & return
end try
end timeout
tell me to activate
display dialog (runresult as string) buttons {"OK"} default button 1
end if



[ Reply to This | # ]
The Rudimentary Applescript Works...
Authored by: Gary1701 on Jan 22, '03 05:39:12PM

Hi!

Your script worked great. I followed the palm configuring directions . . . made a Bluetooth connection through my Beige G3 (DSL Connection to the internet). Having done all that, what software do I need to locate & d/l for my treo90 to be able to read and send e-mail messages? Is there a compact browser for Palm OS?

Thanks for your help!

Gary



[ Reply to This | # ]