close a internet explorer window with a button in an Internet explorer plugin...
[1/9] from: e::lauret::gmail::com at: 16-Jun-2005 14:09
Hello Rebolers !!! I'd like to know if it is possible to close a internet explorer window with a button. Thank you for help ! ~~Manu~~
[2/9] from: petr:krenzelok:trz:cz at: 16-Jun-2005 14:21
Emmanuel LAURET napsal(a):
>Hello Rebolers !!! > I'd like to know if it is possible to close a internet explorer window with >a button. >Thank you for help ! > ~~Manu~~ >
Hi, I am not the right-one to ask, but imo it is not easily possible. It is just imo, but imo Rebol uses kind of 'call internally to start browser via 'browse. You have 'call function available, so maybe you could call start.exe, which has some other options, but the result you receive is always:
>> ble: call/info "start /B iexplore.exe" >> probe ble
make object! [ id: none exit-code: 0 ] So - it does seem to me, that you are not able to obtan particular window handler. I am not sure if it is achievable at all, maybe you could try your luck with Win32API library calls, but you need /Pro version of Rebol for that ... -pekr-
[3/9] from: greggirwin::mindspring::com at: 16-Jun-2005 9:31
Hi Emmanuel, EL> I'd like to know if it is possible to close a internet explorer window with EL> a button. Petr is right; you would need to use API calls to find and close the window. Not too hard, but you would need a /pro license to make library calls. -- Gregg
[4/9] from: hallvard::ystad::oops-as::no at: 16-Jun-2005 20:55
[5/9] from: Izkata:Comcast at: 16-Jun-2005 14:02
> Emmanuel, > You mean with the rebol plugin, right? Try 'do-browser and some
<<quoted lines omitted: 4>>> trick, > I guess...
[6/9] from: hallvard:ystad:oops-as:no at: 16-Jun-2005 21:09
Dixit Izkata (21.02 16.06.2005):
Unless if you want to close another window, and you don't know it's name or ID. HY
[7/9] from: e:lauret:gmai:l at: 17-Jun-2005 7:13
[8/9] from: pwawood::mango::net::my at: 17-Jun-2005 14:26
[9/9] from: e::lauret::gmail::com at: 17-Jun-2005 11:26
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted