Results 1 to 5 of 5

Thread: Any ideas how to execute a command when phone connects to Freefone?

  1. #1
    Constant Bitrate
    Join Date
    Jan 2007
    Posts
    126

    Any ideas how to execute a command when phone connects to Freefone?

    looking for a way to to execute a command when freefone connects to a phone. I can see from skintool that freefone regularly sets a label which contains OFF and ON. any way i can check the string in regular intervals and set a variable true false??

    any ideas welcome...

    what i am basically trying todo is that as soon as my carpc detects the phone in range via blue tooth to open the doors via fusionbrain...

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    You can place a TMR definition on a skin to execute a command on a timed interval (or you can use RRExtender's global timer feature).

    However, there's no way to check the contents of a custom label right now (because we assume that the application setting the label already knows the content), which means that would have been added.

    In any case, if you can find a COMMAND that Freefone executes when the phone is connected, you can try to execute something using exectbl.

    for instance, if freefone executes this command to set the label when it first comes on:

    "SETLABEL;CUSTOMCONNECTED;ON"

    you can try adding to exectbl:

    "SETLABEL;CUSTOMCONNECTED;ON","MYCMD"
    "MYCMD","<COMMAND>||SETLABEL;CUSTOMCONNECTED;O N"

    However, you may need to use variables and so on to prevent your command from executing several times and so on.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  3. #3
    Constant Bitrate
    Join Date
    Jan 2007
    Posts
    126
    hmm perhaps there is an app that can detect bluetooth traffic and simulate a keystroke?...

    just hoping here

    this is how the command looks like btw "SETLABEL;CUSTOMFREEFONE;OFF|OFF@0@0@"

  4. #4
    Constant Bitrate
    Join Date
    Jan 2007
    Posts
    126
    the program sets the label like this every couple of seconds or so:


    SETLABEL;CUSTOMFREEFONE;ON@OFF@13@93@

    i tried:

    SETVARBYCODE;WOOT;CUSTOMFREEFONE

    then i would use RR extended to truncate the string. however i cant get SETVARBYCODE to set variable WOOT to label CUSTOMFREEFONE

    also tried (FREEFONE and !FREEFONE).... could it be @ symbols?

  5. #5
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Try:
    Code:
    "SETLABEL;CUSTOMFREEFONE;OFF|OFF@0@0@","MYCMD"
    "MYCMD","<COMMAND>||SETLABEL;CUSTOMFREEFONE;OFF|OFF@0@0@"
    You can't "read" CUSTOMFREEFONE with setvarbycode.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

Similar Threads

  1. Software Review: PhoneControl.NET
    By zorro in forum The Review Palace
    Replies: 8
    Last Post: 11-20-2006, 08:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •