auto shutdown Tally at 10 PM everyday TDL

Discussion in 'Tally Developer' started by Pavankumar N, Nov 14, 2018.

    
  1. Pavankumar N

    Pavankumar N New Member


    Dear all

    Is it possible to write a tdl to shutdown (Quit) tally application daily night at 10 pm
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Yes it is possible
     


  3. Pavankumar N

    Pavankumar N New Member


    Please share me the code... Thanks in advance.. :)
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    i don't have .........

    refer to file "System Events.TXT" in Tally developer's sample folders...........

    it is easy one to make, so try it on your own.
     


  5. Pavankumar N

    Pavankumar N New Member


    Hi Sir, thank you for the reply, I am new to this, i have no idea but i can tryout if you can help me, where exactly i have to refer "System Events.TXT"???
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    download developer...........it is free
    along with it samples files also download
    open the specified file
    then start making..............will guide you, if you are stuck
     


  7. sivam

    sivam Active Member



    Yes. You Should run a timer in System Event, and call a function based on your condition. It ll work.
     


  8. Pavankumar N

    Pavankumar N New Member


    Sir, I am new to this.. but no idea how to take it further, as u said I installed everything.
     


  9. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    that wot we are doing...guiding you.....

    Our parents taught us to walk, but we used our own legs...isn't it.......... Same way, we can guide you, but you have to make your own efforts in making TDL.

    Start taking steps and you will learn. Start with simple TDL...look in samples folder.
     
    admin likes this.


  10. MarutiKalekar

    MarutiKalekar Member



    This is syntax of system event, I did a demo for you
    You can replace your CONDITION and TIMER
    [System: Events]
    Label : <EventKeyword> : <ConditionExpr> : <ActionKeyword> : <Action Parameters>

    [System: Events]
    TimerStart: System Start : NOT $$IsRemoteCompany : CALL : StartTimer
    TimerQuit :Timer: True: CALL : AutoQuitTally

    [Function: AutoQuitTally]

    01 : Msg Box:"":"Time Out\n\n" + "Tally Auto Quit"
    02 : Trigger Key: Ctrl + Q

    [Function: StartTimer]
    100 : Start Timer:TimerQuit :10
     


  11. velan

    velan New Member



    HOW TO SET TIME IN secondS timer,,,,
     


  12. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    just use number......e,g, 180 for 3 mins, 120 for 2 mins...........
     


  13. velan

    velan New Member


    how to set machine time....for ex : 1.30 pm
     


Share This Page