Macros
Technical Document
These macros provide easy access to several different workstation functions. Each is listed below. This code example shows how a macro might be programmed. The macro name is specified as the program parameter and task must be set to 'macro' as shown.
<html>
<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
<script language="JavaScript" type="text/javascript"> var $jQuery = jQuery.noConflict(); </script>
<script type="text/javascript">
jQuery(document).ready(function()
{
jQuery("#macro_link").on("click", function (event)
{
event.preventDefault(); // Recommended to stop the link from doing anything else
document.dispatchEvent(new CustomEvent('funcIntraLaunch',
{
'detail': { task: 'macro', program: 'LOCK_WORKSTATION' }
}));
});
});
</script>
<body>
<a href="#" id="macro_link">Do groovy macro</a>
</body>
</html>
All Macros
| CONTROL_PANEL | Opens the control panel | Windows 7, 8, 10 |
| ADDREMOVE_PROGRAMS | Opens the control panel's add/remove programs dialog | Windows 7, 8, 10 |
| CONTENT_ADVISOR | Content advisor dialog | Windows 7, 8, 10 |
| DATETIME_PROPERTIES | Opens the date & time dialog for setting date/time | Windows 7, 8, 10 |
| DISPLAY_SETTINGS | Opens the control panel's display settings | Windows 7, 8, 10 |
| DISPLAY_APPEARANCE | Opens the control panel's display appearance | Windows 7, 8, 10 |
| FILEEXPLORER_OPTIONS_GENERAL | File explore folder options - general tab | Windows 7, 8, 10 |
| FILEEXPLORER_OPTIONS_SEARCH | File explore folder options - search tab | Windows 7, 8, 10 |
| FILEEXPLORER_OPTIONS_VIEW | File explore folder options - view tab | Windows 7, 8, 10 |
| DEVICE_MANAGER | Device manager | Windows 7, 8, 10 |
| HIBERNATE | Hibernates the workstation, if permitted. If not permitted may put workstation to sleep instead | Windows 7, 8, 10 |
| SLEEP | Puts workstation to sleep | Windows 7, 8, 10 |
| IE_PROPERTIES | IE properties dialog | Windows 7, 8, 10 |
| KEYBOARD_PROPERTIES | Control panels keyboard properties | Windows 7, 8, 10 |
| LOCK_WORKSTATION | Lock the workstation | Windows 7, 8, 10 |
| MOUSE_PROPERTIES | Mouse properties | Windows 7, 8, 10 |
| MAP_DRIVE_WIZARD | Opens the map drive wizard | Windows 7, 8, 10 |
| NETWORK_CONNECTIONS | Opens the folder showing all network connections | Windows 7, 8, 10 |
| PRINTER_MANAGEMENT_FOLDER | Opens the folder showing all workstation printers | Windows 7, 8, 10 |
| OPEN_WITH_DIALOG | Open with... dialog, see the technical document for details | Windows 7, 8, 10 |
| POWER_OPTIONS | Opens the control panels power options | Windows 7, 8, 10 |
| REGIONAL_LANGUAGE_OPTIONS | Opens the control panels language and region options | Windows 7, 8, 10 |
| STORED_USERNAMES_PASSWORDS | Stored usernames dialog | Windows 7, 8, 10 |
| SAFELY_REMOVE_HARDWARE_DIALOG | Safely remove hardware dialog | Windows 7, 8, 10 |
| SOUND_PROPERTIES | Opens the sound properties dialog | Windows 7, 8, 10 |
| SYSTEM_PROPERTIES | System properties dialog - computer name tab | Windows 7, 8, 10 |
| SYSTEM_PROPERTIES_ADVANCED | System properties dialog - advanced tab | Windows 7, 8, 10 |
| SYSTEM_PROPERTIES_HARDWARE | System properties dialog - advanced tab | Windows 7, 8, 10 |
| SYSTEM_PROPERTIES_SYSTEMPROTECT | System properties dialog - system protect tab | Windows 7, 8, 10 |
| SYSTEM_PROPERTIES_REMOTE | System properties dialog - remove tab | Windows 7, 8, 10 |
| TASKBAR_PROPERTIES | Taskbar properties dialog | Windows 7, 8, 10 |
| USER_ACCOUNTS | User accounts dialog | Windows 7, 8, 10 |
| UNPLUG_EJECT_HARDWARE | Eject hardware dialog | Windows 7, 8, 10 |
| WINDOWS_SECURITY_CENTER | Opens the Windows security center | Windows 7, 8, 10 |
| WINDOWS_FONTS | Opens the windows fonts dialog showing all installed fonts | Windows 7, 8, 10 |
| WINDOWS_FIREWALL | Opens the control panels firewall | Windows 7, 8, 10 |
| WIRELESS_NETWORK_SETUP | Wireless network setup, may not do anything if wireless disabled | Windows 7, 8, 10 |
| SHUTDOWN | Immediately shuts down the workstation, no prompt | Windows 7, 8, 10 |
| SIGNOUT | Immediately signs out of the workstation, no prompt | Windows 7, 8, 10 |
| RESTART | Immediately restarts the workstation, no prompt | Windows 7, 8, 10 |
| SCREENSAVER_SETTINGS | Control panels screen savers dialog | Windows 7, 8, 10 |
| CONTROLPANEL_PERSONALIZATION | Control panels personalization settings | Windows 7, 8, 10 |
| CONTROLPANEL_SCREEN_RESOLUTION_SETTINGS | Control panels screen resolution settings | Windows 7, 8, 10 |
| INSTALL_TURN_WIN_FEATURES_ONOFF | Opens the add/remove's windows features dialog from the control panel | Windows 7, 8, 10 |
| INSTALL_ADDREMOVE | Opens the add/remove dialog, same as ADDREMOVE_PROGRAMS | Windows 7, 8, 10 |
| WINDOWS_SOUNDS_DIALOG | Opens the assigned windows system sounds | Windows 7, 8, 10 |
| WINDOWS_SOUNDS_PLAYBACK_CONTROL | Opens the windows playback control dialog for sound | Windows 7, 8, 10 |
| ADD_PRINTER_WIZARD | Opens the add new printer wizard | Windows 7, 8, 10 |
| WIN10_MSSETTINGS | Settings applet | Windows 10 |
| WIN10_DATETIME_SETTINGS | Date & time applet from settings | Windows 10 |
| WIN10_NOTIFICATION_SETTINGS | Notification applet from settings | Windows 10 |
| WIN10_BLUETOOTH_SETTINGS | Bluetooth applet from settings | Windows 10 |
| WIN10_MOUSETOUCHPAD_SETTINGS | Mouse & touchpad applet from settings | Windows 10 |
| WIN10_POWERSLEEP_SETTINGS | Power and sleep applet from settings | Windows 10 |
| WIN10_NETWORK_ETHERNET_SETTINGS | Network & ethernet applet from settings | Windows 10 |
| WIN10_DATA_USAGE | Data usage applet from settings | Windows 10 |
| WIN10_PERSONALIZATION | Personalization applet from settings | Windows 10 |
| WIN10_WINDOWSUPDATE | Windows update applet from settings | Windows 10 |
| WIN10_SIGNIN_OPTIONS | Signin options from settings | Windows 10 |
| WIN10_SYSTEM_STORAGE | System storage applet from settings | Windows 10 |
| WIN10_NETWORK_WIFI_SETTINGS | WIFI settings applet from settings | Windows 10 |
| OPEN_RECYCLE_BIN | Opens the recycling bin | Windows 7, 8, 10 |
| EMPTY_RECYCLE_BIN | Empties the recycling bin, no prompt or result notification is provide | Windows 7, 8, 10 |
| OPEN_DEVICES_AND_PRINTERS | Opens all devices and printers folder/dialog | Windows 7, 8, 10 |
| SHUTDOWN_DIALOG | Opens the shutdown dialog with multiple options including logoff, restart, etc. | Windows 7, 8, 10 |
| RUN_DIALOG | Opens the run dialog from the start menu | Windows 7, 8, 10 |
| SHOW_DESKTOP | Toggles the desktop | Windows 7, 8, 10 |
| MIN_ALL_APPS | Similar to SHOW_DESKTOP, but minimizes all open applications on the first monitor only | Windows 7, 8, 10 |
| ABOUT_INTRALAUNCH | Shows the version of the IntraLaunch Connector currently running | Windows 7, 8, 10 |