BoxNameTitle=- vs BoxNameTitle=n [SOLVED]

Utilities designed for use with Sandboxie
Post Reply
Scoox
Posts: 92
Joined: Sat Dec 04, 2010 10:45 am

BoxNameTitle=- vs BoxNameTitle=n [SOLVED]

Post by Scoox » Mon May 16, 2016 5:21 am

The BoxNameTitle setting is a yes/no setting, but disabling it in the SB UI writes BoxNameTitle=- to the INI file. BoxNameTitle=n doesn't seem to work. Shouldn't the this be "n" instead of "-" ? Thanks!

BUCKAROO
Posts: 206
Joined: Sun Oct 24, 2010 3:13 am

Re: BoxNameTitle=- vs BoxNameTitle=n

Post by BUCKAROO » Mon May 16, 2016 12:15 pm

y gives [#] [BoxName] Title [#]
n gives [#] Title [#]
- saves (some CPU time) from adding any and all Sandboxie indicators for each and every title change. Window Titles left unmodified. This preference may avoid adding detours, necessary for Sandboxie's captioning, across program code.

I have known some Sandboxed programs to update their window title without Sandboxie's say to its composition. I haven't any good examples besides the TITLE [string] console command; conhost.exe, do we have you to thank...

Scoox
Posts: 92
Joined: Sat Dec 04, 2010 10:45 am

Re: BoxNameTitle=- vs BoxNameTitle=n

Post by Scoox » Mon May 16, 2016 12:19 pm

Thanks for the detailed reply, that's very helpful :D

BTW did you find that out "empirically" or is it documented somewhere?

BUCKAROO
Posts: 206
Joined: Sun Oct 24, 2010 3:13 am

Re: BoxNameTitle=- vs BoxNameTitle=n

Post by BUCKAROO » Mon May 16, 2016 1:00 pm

OCD spells empirical, almost always... This option having a trinary setting was new to me, and so, I just had to test each value; zero, non-zero and the negative non-zero value - do most programmers default to these to represent the ternary, I know I do. If I'm lazy I am known to infer and doctor test results... not here, no but heed my yes, no, and maybes where explicit and implied. I do italicise, quote or hyperlink when I've bothered to search, and search I haven't here.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests