是什么启发了这个愿望清单请求?
通过 Internet 访问文件时,可以评估客户端问题,例如代码 403,这意味着访问用户没有访问该文件的权限。 对此的“修复”是在 JMP 中打开一个网络窗口并让用户进行身份验证。这让我想到... 我可以使用 Wait() 并输入任意等待时间以允许用户在其余代码完成之前进行身份验证,可以使用自定义函数以特定时间间隔不断检查(例如:Wait(1))以查看是否有用户已对自己进行身份验证,然后检查包含 << 有客户端错误的 if 循环,或者 JMP 可以实现一个新函数 Wait Until( ) 因此在满足触发事件之前不会执行其他代码.
您希望看到哪些改进?
例子
Names default to here(1);
auth_test_request = New HTTP Request( URL( some_URL_file_location ), Method( "GET" ) );
test = auth_test_request << Send;
if( auth_test_request << Has Client Error,
// CAN TAKE SECONDS TO FULLY LOAD - Creates new window and loads login page for authentication
webwindow = New window( "Login",
Button Box( "Close when logged ", Wait Until( webwindow << close window ); ),
wb = Web Browser Box()
);
wb << Navigate( authentication_page );
wb << Set Auto Stretching( 1, 1 );
wb << Set Max Size( 800, 1000 );
);
为什么这个想法很重要?
允许进一步的代码执行自定义