Wednesday, May 30, 2007

How to run "Remote Desktop" from Directory Opus

This button shows dialog with string request which asks you for computer name or it's IP address. Default value of this dialog window is clipboard content (helpful if you can copy computer name from other application

<?xml version="1.0"?>
<button backcol="none" display="both" label_pos="right" textcol="none">
<label>Remote Desktop</label>
<icon1>#gomycomputer</icon1>
<function type="normal">
<instruction>mstsc /v: {dlgstringS|Please enter computer name or IP address|{clip}} {dlgchoose|Please choose screen size|Fullscreen=/F+640x480=/w:640 /h:480+800x600=/w:800 /h:600+1024x768=/w:1024 /h:768+1280x1024=/w:1280 /h:1024+1600x1200=/w:1600 /h:1200}</instruction>
</function>
</button>

How to add buttons to your toolbars
DOpus Resource Centre

Tuesday, May 22, 2007

How to run "Disk Management" from Directory Opus?

Type (in one line):

<?xml version="1.0"?>
<button backcol="none" display="both" label_pos="right" textcol="none">
<label>Disk Management</label>
<icon1>C:\WINDOWS\system32\mmc.exe,0</icon1>
<function type="normal">
<instruction>runas /user:DOMAIN\ADMINISTRATOR "%windir%\system32\mmc.exe diskmgmt.msc"</instruction>
</function>
</button>


Where DOMAIN is your domain name and ADMINISTRATOR is your domain administrator account (local "Administrators" group member).