Klik op het logo voor hulp op afstand
  
 
 
 
 
 
 
 




Scripting Function Reference D


DateTimeToStr ([Ddatetime]) : S

JoPPS/JCALL/JScripter

 

Converts a date-time value into a string.

î      Ddatetime is a numeric value representing a date-time value.
      If the Ddatetime argument does not contain a date value, 
the date displays as 00/00/00.
      If the Ddatetime argument does not contain a time value, 
the time displays as 00:00:00 AM.


ì       The date-time represented as a string.

&     DateToStr, TimeToStr, FormatDateTime, Now,

 

DateToStr (Ddatetime) : S

JoPPS/JCALL/JScripter

 

Converts the date part of a given date-time value into a string. (using the ShortDateFormat setting from the Windows regional settings)

î       Ddatetime is the date-time value to convert.
ì       The date string.

 

&     Now, DateToStr, DateTimeToStr, FormatDateTime

 

Day ([Ddatetime]) : Dday

JoPPS/JCALL/JScripter

 

Returns the day of the month.

î     If no parameter is given todays date is used as input, the optional Ddatetime argument specifies an alternative date.

ì     Dday is the day of the month

 

&     Now, Month, Year, DayOfWeek, WeekOfYear, DayOfYear

 

DayOfWeek ([Ddatetime]) : Dday

JoPPS/JCALL/JScripter

 

Returns the day of the week.

î       If no parameter is given todays date is used as input, the optional Ddatetime argument specifies an alternative date.

ì       Dday is the day of the week where Monday equals 1, Tuesday equals 2, etc.


&     Now, Day, Month, Year, WeekOfYear, DayOfYear

 

 

DayOfYear ([Ddatetime]) : Dday

JoPPS/JCALL/JScripter

 

Returns the day of the year.

î       If no parameter is given todays date is used as input, the optional Ddatetime argument specifies an alternative date.

ì       Dday is the day of the year where the first day of the year is 1.

 

7     Example :

 

IF DayOfYear() = 1 THEN OutputMsg("HAPPY NEW YEAR !!!");

&     Now, Day, Month, Year, DayOfWeek, WeekOfYear

 

 

DeinstallImportFilter( ? ) : ?

JoPPS – V2.82

 

To be documented.

 

 

DeinstallPlugin( ? ) : ?

JoPPS – V2.82

 

To be documented.

 

 

DeleteFile (Sfn) : B

JoPPS/JCALL/JScripter

 

DeleteFile deletes a single file from disk.

î       Sfn is the name for the file to delete.

ì       Returns TRUE if the file is erased, FALSE if the file cannot be deleted or does not exist.

 

M      Use DeleteFiles to delete multiple files at once.

 

&     DeleteFiles 

DeleteFiles (Sfn[Sfn],Brecycle,BshowUI)

JoPPS/JCALL/JScripter

 

Deletes one or more files at once. (Using the Windows Shell API)

î      Pass the names of the files to delete as separate arguments,

      you can pass filenames using wildcards as well.

    If Brecycle is TRUE the files are deleted but can be recycled from the

      Windows Recycle Bin.

    If BshowUI is TRUE the standard Windows DeleteFile confirmation dialog is  

      shown prior to the deletion and during the operation itself the Windows

      DeleteFile animation is played.

 

ì       TRUE if successful.

M      Only local files can be recycled from the Windows Recycle Bin !

 

 

&     DeleteFile

 

DeleteFromProd( ? ) : ?

JoPPS – V2.82

 

To be documented.

 

 

DirExists (Sdir) : B

JoPPS/JCALL/JScripter

 

Returns whether or not the specified directory exists

î       Sdir is the directory specification.
ì       Returns TRUE if the specified directory exists.

&     FileExists, FileSearch

 

 

DiskFree () : D

DiskFree (DdriveId) : D

DiskDree (SdriveId) : D

JoPPS/JCALL/JScripter

 

Returns the number of bytes free on the specified drive.

î      If no parameter is passed the free space of the current drive is returned,  

      DdriveId is the drive number (0=default, 1=A, 2=B, etc.),
      SdriveId is the drive letter (''=default, 'A'=drive A:, 'B'=drive B:, etc.)

ì       The number of bytes free on the specified drive.

&     DiskSize

 

DiskSize () : D

DiskSize (DdriveId) : D

DiskSize (SdriveId) : D

JoPPS/JCALL/JScripter

 

Returns the size of the specified drive in bytes.

î      If no parameter is passed the size of the current drive is returned,
      DdriveId is the drive number (0=default, 1=A, 2=B, etc.),
      SdriveId is the drive letter (''=default, 'A'=drive A:, 'B'=drive B:, etc.)

 

ì       Returns the total size of the disk in bytes.          

&     DiskFree

 

DoTask( ? ) : ?

JoPPS – V2.82

 

To be documented.

 




 |  History  |
 
 

 
 
 
TECHWIN SOFTWARE
De Regenboog 11
B-2800 Mechelen
T +32(0)15 44 64 64
T +31(0)30 899 32 15 Nederland