clock for blog

Office Hours
Mon-Fri 09:00-21:00

Knowledgebase
How To: Add custom buttons to Default Skin
Posted by Panagiotis Mantzouranis on 27 November 2014 01:48 PM

The default Gizmo skin allows you to add any number of custom buttons on the home page, next to the Applications button

  • Navigate to the default Gizmo Skin Folder usually "C:\Program Files (x86)\NETProjects\Gizmo Service\Skins\default\"
  • Open file Config.xml with a text or xml editor

 

This is an example of a 2 button configuration

------------------------------------- Start Code -------------------------------------

<Tabs>

 

<AppTab>

<DisplayName>BUTTON_NAME_1</DisplayName>

<ProcessConfig>

<FileName>EXECUTABLE_OR_FILE_1</FileName>

<Arguments>ARGUMENTS_FOR_EXECUTABLE_1</Arguments>

<WorkingDirectory>WORKING_DIR_EXECUTABLE_1</WorkingDirectory>

</ProcessConfig>

</AppTab>

 

<AppTab>

<DisplayName>BUTTON_NAME_2</DisplayName>

<ProcessConfig>

<FileName>EXECUTABLE_OR_FILE_2</FileName>

<Arguments>ARGUMENTS_FOR_EXECUTABLE_2</Arguments>

<WorkingDirectory>WORKING_DIR_EXECUTABLE_2</WorkingDirectory>

</ProcessConfig>

</AppTab>


</Tabs>

------------------------------------- End Code -------------------------------------

NOTES

  • For each EXTRA button you wish to add, duplicate the code between <AppTab> and </AppTab>, then edit accordingly.
  • If you do not wish to configure an Argument or a Working Dir, REMOVE the line COMPLETELY

 

Here are some of the actions you can add to a button:

Button Action Filename example Argument
Open Application %ProgramFiles(x86)%\Windows Media Player\wmplayer.exe  
Open File C:\Test.PDF  
URL (Default Browser) https://www.google.com/  
URL (Specific Browser) C:\Program Files (x86)\Google\Chrome\Application\chrome.exe https://www.google.com/
"My Documents" Folder %USERPROFILE%\Documents  
Mouse Settings %windir%\System32\rundll32.exe shell32.dll,Control_RunDLL main.cpl @0

 

(5 vote(s))
Helpful
Not helpful