View Single Post
Old 07-21-2008, 11:12 PM   #4
x10
Constant Bitrate
 
x10's Avatar
 
Join Date: Mar 2004
Location: Pittsburgh, PA
Posts: 145
ok you need to use rasdial...its the easiest way to connect to a phone modem (USB or bluetooth)

all you need to do is create a standard dial up connection using your phone as a modem...

Next is to create 2 batch files..just use notepad and when you save the file just make sure you put .bat at the end of it....I called my disconnect.bat and connect.bat

In the following examples..."NationalAccess - BroadbandAccess" is the name of my dial-up connection...change it to the name of your dial-up connection

connect.bat looks like this:
Code:
rasdial "NationalAccess - BroadbandAccess"

and disconnect.bat looks like this:
Code:
rasdial "NationalAccess - BroadbandAccess" /d

Next are the button codes....put the 2 batch files you made into your skins directory...

the code for the buttons are:
Code:
B,120,175,250,75,"RunQ;$SKINPATH$\connect.bat",

and
Code:
B,440,174,250,75,"RunQ;$SKINPATH$\disconnect.bat",


that should do it...
x10 is offline   Reply With Quote