How to hide web browser while using web function
4 次查看(过去 30 天)
显示 更早的评论
For instancce, I want to open the URL 'GOOGLE.COM' by using web function ---
[stat,h]=web('Google.COM');
can I hide web browser?
0 个评论
回答(3 个)
Jan
2013-2-6
编辑:Jan
2013-2-6
You want to open a web browser and hide it? What about using urlread instead?
[EDITED]
[stat,h] = web('www.google.com');
h.setVisible(0)
This the the window be visible, but the contents is invisible.
To hide the window:
h.getParent.getParent.getParent.getParent.getParent.getParent.getParent.setVisible(0)
Let's ask Yair, if there is a more direct solution, which looks less like I'm stammering. Bur at least, it works.
1 个评论
Sean de Wolski
2013-2-6
[~,h] = web('whatever')
methods(h)
There are some methods in there that might work, but these aren't documented and aren't guaranteed to work. Some relevant ones I saw: hide() and setVisible().
@Kye, I guess you could have "Hide Stuff the Boss Can't See" quick access toolbar button :)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!