How To Supress Bitmap Proxy Settings Popup ?

How To Supress Bitmap Proxy Settings Popup ?

Anonymous
Not applicable
483 Views
3 Replies
Message 1 of 4

How To Supress Bitmap Proxy Settings Popup ?

Anonymous
Not applicable
Hi,

I have made a script that loads bunch of files.
Each call to "loadmaxfile filepath quiet:true",
causes max to popup a proxy settings window, prompting user to
generate proxy files. Script must not generate any files and
run without user interaction.How to supress this popup ?

Thank you.
0 Likes
484 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
btw... I will try with DialogMonitorOPS tommorow...
0 Likes
Message 3 of 4

Steve_Curley
Mentor
Mentor
DialogMonitorOps will not suppress the dialog, it will allow you to automate any response TO the dialog. Plus it's a PITA to use...

If you get that warning when you open one of those scenes normally, maybe it would be better to generate those proxies once so the dialog doesn't appear. Not overly familiar with proxies so that is just a guess.

Max 2016 (SP1/EXT1)
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 430.86).

0 Likes
Message 4 of 4

Anonymous
Not applicable
I got it working.

callback function:

fn ProxySystemPopupRejectCallback = (
_hwnd = DialogMonitorOPS.GetWindowHandle()
_windowText = (UIAccessor.GetWindowText _hwnd)
if _windowText == undefined do return true
if (matchpattern _windowText pattern:"Proxy System") do (
UIAccessor.SendMessageID _hwnd #IDNO
)
true
)


enable:

DialogMonitorOPS.RegisterNotification ProxySystemPopupRejectCallback id:#bprpkillcb
DialogMonitorOPS.Enabled = true
DialogMonitorOPS.ShowNotification()


disable:

DialogMonitorOPS.Enabled = false
DialogMonitorOPS.unRegisterNotification id:#bprpkillcb


Thank you for your answer Steve_Curley. Script will work on a remote
machine where is no user to click the button 🙂

Cheers,
cgBartosz
0 Likes