Built in functions

John Ambeliotis edited this page Jun 13, 2017 · 11 revisions

Under Construction

Until this section is completed, you can test function results by yourself.

Those functions can be included within an Instruction Set, and be translated into values in real-time. Some examples: http://jubitoblog.blogspot.gr/2013/02/built-in-functions-and-api.html

%exit% %quit% - Terminate application

%clear% %cls% - Clear console

%mute% %unmute% - Disable speech synthesis

%inet% %inetcon% - Check internet connection (True/False)

%gmailcount% %gcount% - Returns the number of unread Gmail messages (max 20)

%gmailreader% %gmailheaders% %greader% %gheaders% - Returns Gmail message number, subject, from and date

%pop3count% - Returns the number of unread POP3 messages

%user% %whoami% - Returns the logged user

%usercheckin% %checkin% - Those functions raise oncheckin event (see below picture)

%usercheckout% %checkout% - Those functions raise oncheckout event (see below picture)

%time% - Returns time

%time24% - Returns time in 24h format

%hour% - Returns system hour (e.g. 17)

%minute% - Returns system minute (e.g. 56)

%date% - Returns system date on specified culture

%calendardate% - Returns system date on specified culture (e.g. dd/mm/yyyy)

%day% %todayday% - Returns system day (e.g. Wednesday)

%tomorrowday% - Returns the day after

%calendarday% - Returns date in dd format

%calendarmonth% - Returns month in mm format

%calendaryear% - Returns year in yyyy format

%daypart% %partofday% %salute% - Returns the part of day (e.g. morning, afternoon)

%todayconditions% - Returns the weather conditions (e.g. Rain)

%todaylow% - Returns the low temperature (if the weather API support it)

%todayhigh% - Returns the high temperature (if the weather API support it)

%currenttemperature% %currenttemp% %todaytemp% %todaytemperature% - Returns current temperature

%currenthumidity% - Returns current humidity

%currentpressure% - Returns current pressure

%currentcity% - Returns current city

%weathericon% - Returns the path of the weather icon (if the weather API support it)

%whereami% %userstat% %userstatus% - Returns the status of the user (present/absent)

%uptime% %updays% %uphours% %upminutes% %upseconds% - Returns system uptime

%about% %copyright% - Returns about message

%apppath% %applicationpath% - Returns application directory

%publicip% %checkip% - Returns public IP address

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.