Ignore:
Timestamp:
Nov 7, 2011, 3:06:06 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

GUI-Tools: SMBMON 2.5.x: More work done

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/guitools/smbmon/smbmon.vrx

    r642 r654  
    17951795PB_RELOAD_Click:
    17961796    call VRSet VRWindow(), 'Pointer', 'Wait'
    1797     address CMD samba.!smbcmd' reload '
    1798 
    1799 /* 2>'samba.!error' 1>'samba.!msg
    1800     if \NoMsgBox then call _SambaShowMsg "[32 Done" */
     1797
     1798    call lineout "smbstart", "reload"
     1799    ok = stream("reload","c","close")
    18011800
    18021801    ok = VRSet("TM_Refresh","Delay", 1000)
     
    18081807PB_RESTART_Click:
    18091808    call VRSet VRWindow(), 'Pointer', 'Wait'
    1810     address CMD samba.!smbcmd' restart '
    1811 
    1812 /* 2>'samba.!error' 1>'samba.!msg
    1813     if \NoMsgBox then call _SambaShowMsg "[32 Done" */
     1809
     1810    call lineout "restart", "restart"
     1811    ok = stream("restart","c","close")
    18141812
    18151813    ok = VRSet("TM_Refresh","Delay", 1000)
     
    18401838    call VRSet VRWindow(), 'Pointer', 'Wait'
    18411839
    1842     say "  "samba.!smbcmd' start '
    1843 /*  2>'samba.!error' 1>'samba.!msg */
    1844 
    1845     address CMD samba.!smbcmd' start '
    1846 
    1847 /*  2>'samba.!error' 1>'samba.!msg
    1848     if \NoMsgBox then call _SambaShowMsg "[32 Done"
    1849     else do
    1850         say "Start no msg"
    1851         ok = stream(Samba.!msg,"c","close")
    1852         say "  stream close "Samba.!msg" = "ok
    1853         ok = SysFileDelete(Samba.!msg)
    1854         say "  Delete "Samba.!msg" = "ok
    1855     end */
     1840    call lineout "smbstart", "smbstart"
     1841    ok = stream("smbstart","c","close")
     1842
    18561843    ok = VRSet("TM_Refresh","Delay", 1000)
    18571844    call VRSet VRWindow(), 'Pointer', '<default>'
     
    18611848*/
    18621849PB_STOP_Click:
    1863 
    18641850    say "IPB_Stop_Click started"
    18651851    call VRSet VRWindow(), 'Pointer', 'Wait'
    1866     say "  "samba.!smbcmd' stop '
    1867 /* 2>'samba.!error' 1>'samba.!msg */
    1868 
    1869     address CMD samba.!smbcmd' stop'
    1870 
    1871 /* 2>'samba.!error' 1>'samba.!msg
    1872     if \NoMsgBox then call _SambaShowMsg "[32 Done"
    1873     else do
    1874         say "  Stop no msg"
    1875         ok = stream(Samba.!msg,"c","close")
    1876         say "  stream close "Samba.!msg" = "ok
    1877         ok = SysFileDelete(Samba.!msg)
    1878         say "  Delete "Samba.!msg" = "ok
    1879     end */
     1852
     1853    call lineout "smbstop", "smbstop"
     1854    ok = stream("smbstop","c","close")
     1855
    18801856    ok = VRSet("TM_Refresh","Delay", 1000)
    18811857
    18821858    call VRSet VRWindow(), 'Pointer', '<default>'
    18831859    say "IPB_Stop_Click done"
    1884 
    18851860return
    18861861/*:VRX         PushbackAll
     
    22482223*/
    22492224TM_Refresh_Trigger:
     2225    call beep 1200, 20
    22502226    ok = VRSet("TM_Refresh","Delay", Intervall * 1000)
    22512227    call _Refresh
Note: See TracChangeset for help on using the changeset viewer.