Powerscript
General
Get the PBL name
Time the execution
Rename an object
Get the numeric value for a color
Retrieve an environment variable
Common XP environment variables
Blank an array
Make a reference to an instance variable from a Menu
Make a reference to a Menu from a frame or a sheet
Get the Frame from a sheet
Get the remainder of a decimal
Detect PB version
Make a window stay "on top"
Attach a menu in a response window
Navigate through a Tab control with keyboard
Remove the rtf information from the rte content
Capitalize a name
Convert an hex string to its decimal equivalent
Have a window close itself after a delay
Have a "mouse-over" on a component
Convert a number to hexadecimal
Evaluate an expression
Detect if running in PB or executable
Change text on a button to bold
Sort an array
Get data from the Internet
Transform a KeyCode! to a String
Use the undocumented INDIRECT keyword
Encrypt/Decrypt a string
Check if an event is supported by an object
Check if an object definition exists
Have a button with many lines
Display Powerbuilder's easter egg
Close a window with ESC
Terminate an another application
Get the current function/function name
Send email with attachment (MAPI)
Use a Java class (PB9)
Know more about the Java support in PB9
Check if the current user belongs a specific Windows group/role
Enable/disable a component from its name
Encode and display character using hex code
Use the clipboard
Overload a global function
Override system functions
Unicode String versus ANSI String (PB10)
File
Get the execution path of the current application
Get the current directory
Change directory
Create or remove a directory
Rename a file
Generate a unique filename
Determine the TEMP directory designated for temporary files.
Check if a file is open from another process
Read big file (>32765 bytes)
Set File Attribute
Browse for a folder using the standard Win dialog
Retrieve a file timestamp
Convert a short pathname to a long
Truncate a long path with ellipses
Date
Validate a date
Obtain the day of the year
Obtain the week of the year
Set the system date/time
Obtain the last day of a month
Get the time and date from a server
Powerscript
If you find this article useful, consider making a small donation
to show your support for this Web site and its content.