Page 15 of 108 FirstFirst ... 510111213141516171819202565 ... LastLast
Results 281 to 300 of 2146
  1. Rino808's Avatar
    Posts
    338 Posts
    Global Posts
    347 Global Posts
    #281  
    hey sling which version will work for the 750??? or is there one out for the 750..i just got back from vaca...in vegas...thanks in advanced...
  2.    #282  
    I will start building the 750 4.2 version this weekend
  3. #283  
    i just wrote my first script. it's for my favorite app "treo alert".

    auto starts treo alert after reset and remembers the settings you had it at.

    check it out here

    still needs beta testers.
  4.    #284  
    Great job cody
    Question,
    You never want to turn script off ?
    hmm that would bug the heck out off me when eating,meetings,movies,and all that good stuff not forgetting if your sleeping. lol
    I turn treo alert off at night and save battery life.
    That defeats having on/off icon.
  5. #285  
    no you can turn it off. then if you do a reset it will still be off. if you have it on and do a reset, it will remember and turn it back on after reset.

    i thought i had it perfect, but i removed it for more testing. imagine that. lol
  6.    #286  
    hmmm I was going to give you the key posted hmmm I pulled it.You can tackel this one cody Take your time and think it out.
  7. #287  
    Quote Originally Posted by codyppc View Post
    i just wrote my first script. it's for my favorite app "treo alert".

    auto starts treo alert after reset and remembers the settings you had it at.

    check it out here

    still needs beta testers.
    ok, i just loaded it up agian. click the link in the quote and take a look.
  8. #288  
    sling, when doing all my testing today. i did a bunch of softresets. my script that i have in the startup folder has a sleep of 30 seconds. i wanted to give plenty of time for everything to load up.

    i got quite a few " call in progress " things in the carrier plugin. could this be do to your quicker "start.mscr"? i have changed mine to 15000 instead of your 5000 just to kind of test. i doesn't matter to me if it loads supper fast as long as it loads.

    what happens in my case is at first the carrier plugin says "no service" for a while. i think you start.mscr has already started before i connect. kind of like the roaming thing before.

    what else do you think could have caused the "call in progress"? remember i got it last night before i started messing with anything. it seems hard to get rid of once it happens. a softreset doesn't remove it. i have to pull the battery for a few seconds.
  9.    #289  
    yes yes that change you are making on softreset is tricky.If your roam is taking longer to load you will have to delay writeregstring giving more time for plugin.That why im not crazy about the auto start on softreset.memaid quick clean is the way to go at 2 am in the mourning.
  10.    #290  
    Turns on TREO ALERT at 800am and turns off at 1100pm

    ####################################################
    # TREO ALERT AWAKE.mscr - ALERTSLEEP 11:00 PM ####### ALERTAWAKE ON 8:00 AM

    # initialize variables
    CurrentHour = 0
    CurrentMinute = 0
    CurrentSecond = 0
    CurrentDay = 0
    CurrentMonth = 0
    CurrentYear = 0
    #Figure out what year, month, and day it is
    GetTime ( CurrentHour, CurrentMinute, CurrentSecond, CurrentDay, CurrentMonth, CurrentYear )
    If (CurrentHour < 23)
    RunAt( CurrentYear, CurrentMonth, CurrentDay, 23, 0, "\Program Files\TREO ALERT\OFF.mscr" )
    Rerun = Timestamp()+86401
    RunAt( Rerun, "\Program Files\TREO ALERT\TREO ALERT AWAKE.mscr" )
    EndIf
    If ((CurrentHour < 8))
    RunAt( CurrentYear, CurrentMonth, CurrentDay, 8, 0, "\Program Files\TREO ALERT\ON.mscr" )
    Rerun = Timestamp()+43201
    RunAt( Rerun, "\Program Files\TREO ALERT\TREO ALERT AWAKE.mscr" )
    EndIf
    If (CurrentHour >= 8)
    Rerun = Timestamp()+86401
    RunAt( Rerun, "\Program Files\TREO ALERT\TREO ALERT AWAKE.mscr" )
    EndIf
    ###################################################

    #ON.mscr--turns treo alert on
    RegWriteDword ("HKLM", "System\CurrentControlSet\Control\Power\State\led", "ONOFF", 1 )
    RegWriteString "HKLM","System\State\Phone","Current Operator Name", TREO ALERT- ACTIVE
    NOTIFY = RegValueExists( "HKLM", "System\State\Shell\Notifications\Active", "CLSID" )
    If ( NOTIFY )
    Run ( "\Program Files\TREO ALERT\RESTART.mscr" )
    EndIf

    ###################################################

    #OFF.mscr-turns treo alert off
    RegWriteDword ("HKLM", "System\CurrentControlSet\Control\Power\State\led", "ONOFF", 0 )
    RegWriteString "HKLM","System\State\Phone","Current Operator Name", TREO ALERT- OFF
    Run ( "\Windows\LEDUp.exe", "0 0" )
    RemoveNotifications( "\Program Files\TREO ALERT\REMIND.mscr" )

    ###################################################

    Drop 3 files located in zip into TREO ALERT folder located in Program Files.
    Give the TREO ALERT AWAKE.mscr a screen tap to start.
    Attached Files Attached Files
  11. #291  
    Quote Originally Posted by slingbox View Post
    yes yes that change you are making on softreset is tricky.If your roam is taking longer to load you will have to delay writeregstring giving more time for plugin.That why im not crazy about the auto start on softreset.memaid quick clean is the way to go at 2 am in the mourning.
    i gave it 30 seconds. you dont think that's long enough?
  12.    #292  
    hmm it should be
  13.    #293  
    I took wav.s out on timer so it would not wake me up if I crash at 10pm
  14. #294  
    Quote Originally Posted by slingbox View Post
    Turns on TREO ALERT at 800am and turns off at 1100pm

    ####################################################
    # TREO ALERT AWAKE.mscr - ALERTSLEEP 11:00 PM ####### ALERTAWAKE ON 8:00 AM

    # initialize variables
    CurrentHour = 0
    CurrentMinute = 0
    CurrentSecond = 0
    CurrentDay = 0
    CurrentMonth = 0
    CurrentYear = 0
    #Figure out what year, month, and day it is
    GetTime ( CurrentHour, CurrentMinute, CurrentSecond, CurrentDay, CurrentMonth, CurrentYear )
    If (CurrentHour < 23)
    RunAt( CurrentYear, CurrentMonth, CurrentDay, 23, 0, "\Program Files\TREO ALERT\OFF.mscr" )
    Rerun = Timestamp()+86401
    RunAt( Rerun, "\Program Files\TREO ALERT\TREO ALERT AWAKE.mscr" )
    EndIf
    If ((CurrentHour < 8))
    RunAt( CurrentYear, CurrentMonth, CurrentDay, 8, 0, "\Program Files\TREO ALERT\ON.mscr" )
    Rerun = Timestamp()+43201
    RunAt( Rerun, "\Program Files\TREO ALERT\TREO ALERT AWAKE.mscr" )
    EndIf
    If (CurrentHour >= 8)
    Rerun = Timestamp()+86401
    RunAt( Rerun, "\Program Files\TREO ALERT\TREO ALERT AWAKE.mscr" )
    EndIf
    ###################################################

    #ON.mscr--turns treo alert on
    RegWriteDword ("HKLM", "System\CurrentControlSet\Control\Power\State\led", "ONOFF", 1 )
    RegWriteString "HKLM","System\State\Phone","Current Operator Name", TREO ALERT- ACTIVE
    NOTIFY = RegValueExists( "HKLM", "System\State\Shell\Notifications\Active", "CLSID" )
    If ( NOTIFY )
    Run ( "\Program Files\TREO ALERT\RESTART.mscr" )
    EndIf

    ###################################################

    #OFF.mscr-turns treo alert off
    RegWriteDword ("HKLM", "System\CurrentControlSet\Control\Power\State\led", "ONOFF", 0 )
    RegWriteString "HKLM","System\State\Phone","Current Operator Name", TREO ALERT- OFF
    Run ( "\Windows\LEDUp.exe", "0 0" )
    RemoveNotifications( "\Program Files\TREO ALERT\REMIND.mscr" )

    ###################################################

    Drop 3 files located in zip into TREO ALERT folder located in Program Files.
    Give the TREO ALERT AWAKE.mscr a screen tap to start.
    you are da man. is there any way to hook this up with some sort of popup thing asking the user when thay want to turn on and off? kind of like the "tweeker" app does? you know the one z did.

    this is really nice. i just wasted 10+ hours of my life for nothing.
  15.    #295  
    yes you could add a toggle on/off RemoveNotifications.
  16.    #296  
    no your wrong.you wasted no time.It,s called learning cody
    now build the toggle on/off Base it off the treoset.mscr.It,s all there.you can make it work
    Last edited by slingbox; 03/30/2007 at 12:26 AM.
  17. #297  
    Quote Originally Posted by slingbox View Post
    no your wrong.you wasted no time.It,s called learning cody
    now build the toggle on/off Base it off the treoset.mscr.It,s all there.you can make it work
    hmmmm...... maybe.

    I did see some stuff like that in the manual.
  18.    #298  
    Catch 22
    A pop up asking you if you want to turn off and on hmmm
    If you fall a sleep early and timer set -Treo alert off at 11:00 and not check the pop box reminder will stay on all night then wake you up like an alarm clock on snooze if call is received early early in the mourning.
  19.    #299  
    First of all I want to thank all that have worked with me to make TREO ALERT such a stable app Ive shrunk scripts to 4 of them and 1 shortcut in Windows Startup.What we get from this is much faster response from mortscript.As much as I hate to say it we now have longer vib alert once more .I will post the FINAL build of TREO ALERT tonight.I hope all will enjoy.

    Script view below
    TREO ALERT
    ####################################################

    #ALERT CONTROL.mscr-Sends Hit to Remind
    Sleep 5000
    RegWriteDword ("HKLM", "System\CurrentControlSet\Control\Power\State\led", "Toggle", 1 )
    RegWriteDword ("HKLM", "System\CurrentControlSet\Control\Power\State\led", "ONOFF", 0 )
    RegWriteDword ("HKLM", "System\CurrentControlSet\Control\Power\State\led", "ALERT", 0 )
    Sleep 10000
    RemoveNotifications( "\Program Files\TREO ALERT\REMIND.mscr" )
    RegWriteString "HKLM","System\State\Phone","Current Operator Name", TREO ALERT- HELLO

    # initialize variables
    Notify = FALSE
    ChimeIsOn = FALSE

    # start notification check loop
    While ( 1 )

    # check the registry for any notifications
    Notify = RegValueExists( "HKLM", "System\State\Shell\Notifications\Active", "CLSID" )

    #check the ALERT
    ONOFF = RegRead("HKLM", "System\CurrentControlSet\Control\Power\State\led", "ONOFF" )

    # turn on Chime if any notifications are pending whenever Ringer on.
    If ( Notify && NOT ChimeIsOn && ONOFF )
    RunWait( "\Windows\LEDUp.exe", "0 1" )
    RegWriteDword ("HKLM", "System\CurrentControlSet\Control\Power\State\led", "Toggle", 1 )
    CallScript( "\Program Files\TREO ALERT\REMIND.mscr" )
    ChimeIsOn = TRUE
    EndIf

    # turn off the Chime if no notifications are pending
    If ( ChimeIsOn && NOT Notify )
    RemoveNotifications( "\Program Files\TREO ALERT\REMIND.mscr" )
    RunWait( "\Windows\LEDUp.exe", "0 0" )
    ChimeIsOn = FALSE
    EndIf
    # wait 1 seconds
    Sleep( 2000 )

    EndWhile

    ###################################################

    #
    # REMIND.mscr - Remind works alerts mscr
    #
    ErrorLevel ("syntax")

    Run ( "\Windows\LEDUp.exe", "0 1" )
    Run("\Program Files\TREO ALERT\ALERTS.mscr" )

    Sleep 800
    RegWriteDword ("HKLM", "System\CurrentControlSet\Control\Power\State\led", "Toggle", 0 )

    #Set when the script should run again, 2 minutes from the current time
    Rerun = Timestamp()+120
    RunAt( Rerun, "\Program Files\TREO ALERT\REMIND.mscr" )

    ###################################################

    #Treo Alert.mscr -Turn on/off Treo Alert

    A = RegRead("HKLM", "System\CurrentControlSet\Control\Power\State\led", "ONOFF" )

    If ( A = 0 )
    Call ALERTON
    Else
    Call ALERTOFF
    EndIf

    Sleep 500
    ToggleDisplay(on)

    Sub ALERTON
    PlaySound "Program Files\TREO ALERT\ON.wav"
    Sleep 500
    RegWriteDword ("HKLM", "System\CurrentControlSet\Control\Power\State\led", "ONOFF", 1 )
    RegWriteString "HKLM","System\State\Phone","Current Operator Name", TREO ALERT- ACTIVE
    NOTIFY = RegValueExists( "HKLM", "System\State\Shell\Notifications\Active", "CLSID" )
    If ( NOTIFY )
    Run ( "\Program Files\TREO ALERT\REMIND.mscr" )
    EndIf

    EndSub

    Sub ALERTOFF
    PlaySound "Program Files\TREO ALERT\OFF.wav"
    Sleep 500
    RegWriteDword ("HKLM", "System\CurrentControlSet\Control\Power\State\led", "ONOFF", 0 )
    RegWriteString "HKLM","System\State\Phone","Current Operator Name", TREO ALERT- OFF
    RemoveNotifications( "\Program Files\TREO ALERT\REMIND.mscr" )
    Run ( "\Windows\LEDUp.exe", "0 0" )

    EndSub

    ###################################################

    #ALERTS.mscr -Reminder sound and vib

    W = RegRead ("HKLM", "System\CurrentControlSet\Control\Power\State\led", "Toggle" )
    If ( W = 0 )
    PlaySound "Program Files\TREO ALERT\Reminder.wav"
    EndIf

    B = RegRead("HKLM", "System\CurrentControlSet\Control\Power\State\led", "Toggle" )
    If ( B = 0 )
    V = RegRead( "HKLM", "System\State\Hardware\", "Ringer" )
    If ( V = 0 )
    Run ( "\Windows\LEDUp.exe", "1 1" )
    Sleep 1400
    Run ( "\Windows\LEDUp.exe", "1 0" )
    EndIf

    ###################################################
    Last edited by slingbox; 03/30/2007 at 05:15 PM.
  20. #300  
    Quote Originally Posted by slingbox View Post
    First of all I want to thank all that have worked with me to make TREO ALERT such a stable app Ive shrunk scripts to 4 of them and 1 shortcut in Windows Startup.What we get from this is much faster response from mortscript.As much as I hate to say it we now have longer vib alert once more .I will post the FINAL build of TREO ALERT tonight.I hope all will enjoy.
    nice.

    1. will it still have the 2 minute delay?

    2. will this version continue to run until all notifacations are dismissed?

Posting Permissions