{"name":"ctrlSetURL","title":"ctrlSetURL","type":"command","url":"https://community.bistudio.com/wiki/ctrlSetURL","revid":325207,"updated":"2022-07-03T07:02:32Z","groups":["GUI Control"],"status":"ok","games":{"arma3":"2.02"},"since":"arma3 2.02","arma3_since":"2.02","description":"Sets URL property of the given control subject to `allowedHTMLLoadURIs[]` whitelisting in CfgCommands config. Supported controls are:\n\n- `CT_BUTTON`\n- `CT_SHORTCUTBUTTON`\n- `CT_ACTIVETEXT`","syntaxes":[{"syntax":"control ctrlSetURL URL","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"URL","type":"String","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"control"},"right":{"text":"URL"}}],"examples":[{"code":["_control ctrlSetURL \"http://arma3.com/\";"]}],"see_also":["ctrlURL","menuSetURL"]}