Core Products
 Store Finder
 Shop Genie
 Newsletter Manager
 PowerApp Pro
    PowerApp Reference
 PowerApp Lite
 Product Downloads


Development Services

Web Hosting

Website Marketing


Click here to contact us if you have any questions or need frther information. Click here to contact us

  Print out this page.   Solutions > Products > PowerApp Reference  

Reference for PowerApp V1.0 - Actions, Conditions & Expressions.


pro+ -Indicates that a feature is only present in PowerApp Pro Version.

PowerApp Pro is available for order online from www.core.com.au/multimedia/powerapp.htm

Conditions
Condition
Data Type
Version
Description
Is Connected To Internet TRUE / FALSE
True if a connection to the internet is active.
Actions
Action
Input
Description
Desktop
Change Wallpaper
String
pro+
Changes the current Windows wallpaper to a specified BMP file path.
Restore Wallpaper
pro+
Restores wallpaper to default setting.
Set IE Toolbar Skin
String
pro+
Sets the back bitmap of the toolbar in Internet Explorer. It is a good idea to use the expression "Get IE Toolbar Skin" first so that you can store the user's setting and then restore it later if need be.
Remove IE Toolbar Skin
pro+
Removes any skin set for the toolbar.
Set Application Title
String
Sets the title bar of your application to a string.
Flash Application Title
Flashes the title bar once. Use this with a time condition such as "Every 1 second" to flash continually.
Restore Title State
Restores the flash status of the application title bar to its original state.
Screensaver
Set Current Screensaver
String
pro+
Sets the current screensaver from the file path specified. Example:
"C:\windows\myscreensaver.scr"
Activate Screensaver
pro+
Activates the current screensaver. Screensaver will start after the set timeout period.
De-Activate Screensaver
pro+
De-Activates the current screensaver.
Set Screensaver Timeout
Value
pro+
Sets the time period before current screensaver will start. Input is time in seconds. Example:
180
Explorer
Explore Folder
String
Opens an Explorer style window at the specified folder path. Example: "C:\myfolder"
Delete Folder
String
pro+
Deletes the folder and all files/folders beneath the folder path specified. Example:
"C:\myfolder"

CAUTION: This action will not prompt the user for confirmation for deletion and as such should be used with extreme caution. Path must be more than 3 characters in length. For example specifying "C:\" will not be executed. This limitation has been imposed as a basic precaution to prevent the deletion of entire drives. However this will not prevent the deletion of drives across networks using UNC path names with more than 3 characters etc.
Open Folder
String
Opens a folder in a browse view style to the specified folder path. Example:
"C:\myfolder"
Open File
String
Opens specified file with an associated program for its extension. Example:
"C:\myfolder\readme.txt" Would open readme.txt in Notepad.
"C:\myfolder\readme.doc" Would open file in MS Word.
Print File
String
Prints the specified file on the default printer. Example:
"C:\myfolder\readme.txt"
Internet
Open Url
String
Opens the specified internet address with the default browser. Example:
"http://www.core.com.au"
Open Email
String
Opens a new email message to specified email address using default email program. Example:
"support@core.com.au"
Send Email Via SMTP
String
pro+
After setting a destination and SMTP host this action sends a previously defined email (including From, Subject, Message and Date Stamp Strings) to a an address through the defined SMTP server. SMTP servers are the email servers you use for outgoing email. These are usally named "mail.yourisp.com" for example.

N.B. To test if your message was sent, check the expression "Sendmail Status"
MSG_SENT = Message successfully sent.
MSG_ERROR = Message failed.
Set Subject
String
pro+
Sets the Subject field of the email to be sent with the Send Email Via SMTP action.
Set From
String
pro+
Sets the From field of the email to be sent with the Send Email Via SMTP action.
Set Email Message
String
pro+
Sets the Email Message of the email to be sent with the Send Email Via SMTP action.

N.B. This message can have a maximum of 1024 characters.
Control Panel Applets
Control Panel Applets
Launches a Contol Panel Applet and selects a tab. Example:
Selecting "Control Panel Applets -> Display Options -> Settings" Opens the Display Options applet and selects the settings tab.
System Wizards
Launches the selected System Wizard.
Custom About Box
Open About Box
Opens the defined custom About box.
Set Style
pro+
Sets the style to one of six different styles (Pro Version) or two different styles (Lite Version). Available Styles include:
Vertical with 2 text areas.
Vertical with 2 text areas (small).
Vertical with 1 text area.
Vertical with 1 text area (small).
Horizontal with 2 text areas.
Horizontal with 1 text area.
Set Title
String
Sets the text appearing in the title bar of the custom about box.
Set Area #1 Heading
String
Sets the heading text of text area 1.
Set Area #1 Text
String
Sets the text appearing in text area 1.
Set Area #2 Heading
String
Sets the heading text of text area 2.
Set Area #2 Text
String
Sets the text of text area 2.
Set Email Address
String
Sets the mailto email address for the Email Button. When clicked a new email message will be opened to the address set. If no email address is defined then the Email button is not shown. Example:
"support@core.com.au"
Set Website Address
String
Sets the web address address for the Website Button. When clicked the default broswer will be opened to the address set. If no website address is defined then the Website button is not shown. Example:
"http://wwww.core.com.au"
Other
System Alert Sounds
Sounds a selected system defined alert sound. Selectable sounds include: Computer Speaker, Asterisk, Exclamation, Hand, Question and Default/OK.
Pause Application
String
Pauses application and displays a configured message box. Application cannot be accessed until pause message box is dismissed. Once dismissed application continues.
Set Disk Space Drive
String
Sets the drive path to be used for the expressions "Get Total Disk Space" and "Get Free Disk Space".
eg. "C:\"
Expressions
Expression
Ouput
Description
Display
Current Wallpaper
String
pro+
Gets the file path to the current Wallpaper. If none is currenlty selected then returns (none).
Wallpaper Tiling
String
pro+
Gets the the current mode for tiling of the wallpaper.
"1" = Tiling
"0" = No Tiling
IE Toolbar Skin
String
pro+
Gets the file path to the current Internet Explorer Toolbar bitmap defined. If none is defined then returns "".
Work Area X-Right
Value
Returns the right most X co-ordinate of the screens current work area.

The work area is the maximum screen area available to a maximised application ie. screen area minus taskbar, system menus etc.
Work Area X-Left
Value
Returns the left most X co-ordinate of the screens current work area.
Work Area Y-Bottom
Value
Returns the bottom most Y co-ordinate of the screens current work area.
Work Area Y-Top
Value
Returns the top most Y co-ordinate of the screens current work area.
Current Screen Colour Mode
Value
Gets the current screen colour mode.
8 = 256 Colours
16 = 32768 / 65536 Colours
24 = 16 Million Colours
Maximum Screen ResX
Value
pro+
Gets the maximum horizontal screen resolution for the current user.
Maximum Screen ResY
Value
pro+
Gets the maximum vertical screen resolution for the current user.
System
CPU Name
String
pro+
Gets the CPU identifier name.
CPU Vendor
String
pro+
Gets the CPU vendor.
Display Adapter
String
pro+
Gets the currently installed graphic adapter.
Installed Memory
Value
pro+
Gets the amount of physical ram installed and returns it as Kilobytes (1024 bytes).
Free Disk Space
Value
Gets the amount of free disk space in MB (1024 kilobytes) for the specified drive.
Total Disk Space
Value
Gets the total amount of disk space in MB (1024 kilobytes) for the specified drive.
Versions
Windows
String
Gets the version number of the Windows installed.
Internet Explorer
String
Gets the version of Internet Explorer currently installed.
DirectX
String
pro+
Gets the current version of DirectX installed.

Note this gets the version of the DirectX package installed not the verified version of each DirectX component currently running on the current hardware. For example a user might have DirectX 6 installed but their graphics drivers might not be certified for that version and would not be utilising the DirectDraw component for that version.
Language Code
String
pro+
Gets the language code for the current installation of Windows.
Country
String
pro+
Gets the country defined for the current installation of Windows.
Get SendMail Status
String
pro+
Gets the status of the last email sent using the "Send Email Via SMTP" action.
MSG_SENT = Message successfully sent.
MSG_ERROR = Message failed.
Need more information? Want to read it offline? We can email it to you.
Store Finder Store Genie Shopping Cart Newsletter Manager PowerApp Pro Extension
Email: