Changeset 654 for trunk/guitools/smbmon/smbmon.vrx
- Timestamp:
- Nov 7, 2011, 3:06:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/guitools/smbmon/smbmon.vrx
r642 r654 1795 1795 PB_RELOAD_Click: 1796 1796 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") 1801 1800 1802 1801 ok = VRSet("TM_Refresh","Delay", 1000) … … 1808 1807 PB_RESTART_Click: 1809 1808 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") 1814 1812 1815 1813 ok = VRSet("TM_Refresh","Delay", 1000) … … 1840 1838 call VRSet VRWindow(), 'Pointer', 'Wait' 1841 1839 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 1856 1843 ok = VRSet("TM_Refresh","Delay", 1000) 1857 1844 call VRSet VRWindow(), 'Pointer', '<default>' … … 1861 1848 */ 1862 1849 PB_STOP_Click: 1863 1864 1850 say "IPB_Stop_Click started" 1865 1851 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 1880 1856 ok = VRSet("TM_Refresh","Delay", 1000) 1881 1857 1882 1858 call VRSet VRWindow(), 'Pointer', '<default>' 1883 1859 say "IPB_Stop_Click done" 1884 1885 1860 return 1886 1861 /*:VRX PushbackAll … … 2248 2223 */ 2249 2224 TM_Refresh_Trigger: 2225 call beep 1200, 20 2250 2226 ok = VRSet("TM_Refresh","Delay", Intervall * 1000) 2251 2227 call _Refresh
Note:
See TracChangeset
for help on using the changeset viewer.