Home   Archive   Permalink



Suppress security pop-ups

Hello,
    
I'm trying to lower the security level, so I do not get any security check pop-ups anymore. Specifically for printing a piece of text (to an actual printer).
    
I did the following (in Windows 10):
- Create a shortcut for C:\myscript.r, and then at the target field I wrote C:\myscript.r -s. This had no effect.
- I added "secure none" in myscript.r, but that gave me two security pop-ups, one asking me if it's okay to lower the security level, and then the regular security pop-up.
- I created a myscript.bat file with the following line: C:\rebol.exe -s C:\myscript.r. This initially removed the security pop-up, but it also opened a command window. Also when I click on a link in myscript.r, that launches another script, that other script still has the security pop-ups. Using the code "launch %/c/otherscript.r". I tried adding -s to this launch code, with no success.
    
How would I be able to suppress all security check pop-ups, without creating a command window, and also being able to click on links within my script gui that launches other scripts, without security pop-ups?
    
Thanks


posted by:   Jay     13-May-2021/17:33:05-7:00



Hi!
In myscript.bat use "start" (https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/start), in script use "secure allow" (http://www.rebol.com/docs/words/wsecure.html)
    
myscript.bat:
start C:\rebol.exe -s C:\myscript.r
    
myscript.r:
...
secure allow
...

posted by:   Sergey_Vl     20-Jan-2022/17:06:28-8:00



Name:


Message:


Type the reverse of this captcha text: "d a o l"



Home