Lescasse Consulting
 Home    Company    News    Prices    Download    Buy    Forums   
Read Me
Buy
Forums
Resume
AntiSpam 1.2
wBackup 1.11
NetAccess 2.0
Visual APL 1.0 
APL+Win 8.0 
APL+Win Products 
APL+Win Objects™ 
APL+Win Training 
APL+Web Services
APL+Web Component 
APL+ History
Dyalog.Net Tutorial
Conferences 
Powerpoint
White Papers
Web Hosting
References
Links
 
APL+Win Objects™ 6.0

TADO5
TADO5 Tutorial
TAPLDraw5
TAPLEdit5
TAPLSession5
TAbale5
TAboutBox5
TAccess5
TAgent5
TBlatMail5
TButton5
TCDO5
TCRC5
TCancelButton5
TCheck5
TCheckGroup5
TChildForm5
TChooseColor5
TChooseFont5
TClipBoard5
TClock5
TCodeStats5
TColors5
TCombo5
TComboDrive5
TComboFilter5
TComboList5
TComboTree5
TCommandBar5
TCommandButton5
TControlClass5
TCueCard5
TDHTML5
TDHTMLEditor5
TDateTime5
TDateTimeFr5
TDates5
TDemoHandlers5
TDisplay5
TDOS5
TDualSelect5
TEdit5
TEditAmount5
TEditDir5
TEditEnter5
TEditFile5
TEditGrid5
TEditList5
TEditListview5
TEditMenu5
TEditNum5
TEditSelect5
TEditSpin5
TEmail5
TError5
TExampleForm5
TExcel5
TExcel5 Tutorial
TFindReplace5
TFOne5
TFTP5
TFTP5 Tutorial
TFileCompare5
TFileMenu5
TFileMenuDef5
TFlatButton5
TForm5
TFormClass5
TFormEditor5
TFrame5
TGetDir5
TGif5
TGifForm5
TGifWb5
TGoMenu5
TGraphX5
TGrid5
TGridDisplay5
TGridPrint5
TGUID5
THLine5
THTML5
THTML5 Tutorial
THTTP5
THelp5
THelpMenu5
TImagelist5
TInfo5
TIniFile5
TInstall5
TInternet5
TJpg5
TJpgWb5
TLabel5
TList5
TListview5
TLock5
TLogs5
TMAPI5
TMath5
TMDIForm5
TMSOutlook5
TMaskEdit5
TMedia5
TMenu5
TMessage5
TModalCall5
TMsgBox5
TNavigator5
TNetwork5
TNonVisualClass5
TODBC5
TOKButton5
TObject5
TOpenFile5
TOption5
TOptionGroup5
TOutlook5
TOutlookMail5
TOWCSpread5
TPDF5
TPFKeys5
TPage5
TPassword5
TPicture5
TPing5
TPopupMenu5
TPowerpoint5
TPowerpoint5 Tutorial
TPrinter5
TProgress5
TProgressDlg5
TQuestion5
TRegistry5
TRegistryKey5
TResource5
TRichEdit5
TSPX5
TSQLDMO5
TScheduler5
TScroll5
TSelector5
TSpinner5
TSplitter5
TStatus5
TStopWatch5
TTest5
TTestError5
TTextFile5
TTimer5
TTip5
TTipForm5
TTLI5
TToolBar5
TToolbox5
TToolsMenu5
TTrackbar5
TTranslate5
TTree5
TVLine5
TViewMenu5
TWebBrowser5
TWebServer5
TWebSite5
TWebSiteNet5
TWinMenu5
TWord5
TYesNo5
    Visits:  2479 (29 on line) Last Update: Dec 5, 2003  
    TScheduler5    Printer Friendly  
 
Description   Inheritance   Example   Properties   Methods
 
 Description

The non visual TScheduler5 Object uses the Avalio Task Scheduler delivered with APL+Win Objects 6.0 to schedule and manage tasks on your computer.  With this obkect you can programmatically create new scheduled tasks, delete existing ones, change existing ones, etc. Tasks created with TScheduler5 are visible in Start/Programs/Accessories/System Tools/Scheduled Tasks For more information about Avalio Task Scheduler, visit: http://www.avalio.com

Description   Inheritance   Example   Properties   Methods
 
 Inheritance

Inherits from:  TObject5

Description   Inheritance   Example   Properties   Methods
 
 Example
 

      'ts'Świ'*Create' 'TScheduler5'
 
Description   Inheritance   Example   Properties   Methods
 
 Properties
 
class    
Description:  Return current object class 
Syntax:  class„'obj' Świ 'class' 
help    
Example: 
0 0˝'ts' Świ '*Create' 'TScheduler5' 
© Create a taks to launch notepad.exe today at 5:15 pm 
© 'ts' Świ 'CreateTask' 'notepad.exe' 5 15 
© Create a task to launch notepad.exe every tuesday at 20:30 
© 'ts' Świ 'CreateTask' 'notepad.exe' 20 30 0 0 2 1    © (2=Tuesday) 
© Create a task to launch the APL+Win LC application every 10th and 20th of the month at 18:45 
© 'ts' Świ 'CreateTask' 'c:\aplwin50\aplw.exe c:\aplwin\lc\lc.w3' 18 45 0 (10 20) (0) 1 
© Create a task to launch the APL+Win LC application every 120 minutes on the 15th of the month at 12:20 
© 'ts' Świ 'CreateTask' 'c:\aplwin50\aplw.exe c:\aplwin\lc\lc.w3' 12 20 0 (15) (0) 0 120 
© Create a task to run the wBackup application to backup my PC every day at 5:00 am 
© 'ts' Świ 'CreateTask' 'C:\PROGRA~1\wBackup\wBackup.exe  24m "C:\PROGRA~1\wBackup\wBackup.ini" "C:\PROGRA~1\wBackup\wBackup.w3" "C:\Program Files\wBackup\Bsf\Backup8300.bsf"' 5 0 0 (0) (Ľ7) 1 
© Report all task numbers 
© 'ts' Świ 'GetTasks' 
© Report all scheduled tasks 
© 'ts' Świ 'Tasks' 
© Delete task 6 
© 'ts' Świ 'DeleteTask'6 
© Delete all remaining takss 
© 'ts' Świ 'DeleteAllTasks' 
Description   Inheritance   Example   Properties   Methods
 
 Methods
 
CreateTask    
Description:  Creates execution task with prescribed parameters 
Syntax:  taskid„'obj' Świ 'CreateTask'command hour minute runtoday daysofmonth daysofweek periodically everyXminutes 
command:  program to run with its optional arguments 
hour:  the hour when to run the task 
minute:  the minute at which to run the task 
runtoday:  1(default)=tun today  0=don't 
daysofmonth:  an integer scalar or vector of numbers between 1 and 31 
daysofweek:  an integer scalar or vector of numbers between 1(=Monday) and 7(=Sunday) 
periodically:  1=task should run periodically  0(default)=it shoud not 
everyXminutes:  schedule a task at intervals of everyXminutes 
taskid:  task it number of scheduled task 
Examples: 
      'ts' Świ 'CreateTask' 'notepad.exe'18 30       © run notepad.exe at 18:30 today 
      'ts' Świ 'CreateTask' 'c:\aplwin50\aplw.exe'12 45 0 (1 3) 
DeleteAllTasks    
Description:  Delete all tasks scheduled with TScheduler5 
Syntax:  rc„'obj' Świ 'DeleteAllTasks' 
Example: 
      'ts' Świ 'DeleteAllTasks' 
DeleteTask    
Description:  Delete a task given by its id 
Syntax:  rc„'obj' Świ 'DeleteTask'id 
id:  a valid task <id> number 
Example: 
      'ts' Świ 'DeleteTask'4 
GetTasks    
Description:  Return all existing task id numbers 
Syntax:  ids„'obj' Świ 'TaskIds' 
Example: 
      'ts' Świ 'TaskIds' 
New     Description: Create a new instance of TScheduler5
Example:
      'obj' Świ '*Create' 'TScheduler5'

Tasks    
Description:  Return a nested array describing all currently  registered tasks 
Syntax:  narray'obj' Świ 'Tasks' {taskid} 
taskid:  (optional) restrict the query to one or more task ids 
narray:  nested array containing 1 line per tasks contining the following columns 
         [1]  task id 
         [2]  command 
         [3]  hour 
         [4]  minute 
         [5]  1=task runs today; 0=it does not 
         [6]  days of month when task runs (1 to 31) 
         [7]  days of weeks when task runs (1 to 7) 
         [8]  1=task runs periodically; 0=it does not 
         [9]  1=this task last executed with error;  0=it did not 
Example: 
      'ts' Świ 'Tasks' 
      'ts' Świ 'Tasks'4 6 
Description   Inheritance   Example   Properties   Methods
 
 This entire Web site has been dynamically generated by APL+Win Objects™ 6.0
 For all questions contact:  info@lescasse.com
 Copyright © 2003-2005 Lescasse Consulting. All rights reserved.