royalapplications / toolbox

This repository contains various automation scripts for Royal TS (for Windows) and Royal TSX (for macOS). Also included are dynamic folder samples. This collection consists of scripts by the Royal Apps team or contributions from our great user-base!
https://www.royalapps.com
MIT License
150 stars 76 forks source link

rjson - Redirect Drives #63

Closed nicovs closed 1 year ago

nicovs commented 1 year ago

hi Stefan, Not sure if this is the correct place to create this issue... :)

Could you check out this Royal Rjson issue i'm encountering. When i create an rjson files with some objects like this:

        {
            "Type": "RemoteDesktopConnection",
            "Name": "PowerBox [192.168.1.101]",
            "ComputerName": "192.168.1.101",
            "Username": "nicovs",
            "Password": "olalalapassword",
            "Description": "Prosol PowerBox [192.168.1.101]",
            "Port": "3389",
            "RedirectClipboard": "True",
                         "RedirectDrives": "True",
                     "NetworkLevelAuthentication": "True"
        },

I cannot get the Drive Redirection to work on Mac or Windows Properties_2023-03-03_17h56 powerbox_2023-03-03_20h04

StefanKoell commented 1 year ago

Hi!

In order to set arbitrary properties, put them under the Properties path. See also: https://docs.royalapps.com/r2021/scripting/rjson/advanced-scenarios.html

You should also put the other "advanced" properties there. Also check out the json schema to see which properties can be set directly: https://docs.royalapps.com/r2021/scripting/rjson/json-schema.html

Let me know if this helps. Stefan

nicovs commented 1 year ago

Yes! much better... tnx :)

Nico