XWidgetSoft Forum https://www.bbs.xwidget.com/ |
|
Xwidget can't interact with other programs, right? https://www.bbs.xwidget.com/viewtopic.php?f=8&t=2999 |
Page 1 of 1 |
Author: | Armando [ April 28th, 2013, 7:48 am ] |
Post subject: | Xwidget can't interact with other programs, right? |
I supose that Xwidget can't interact with other programs, right? I'm was seeing this "app" that was done with Visual Basic: http://www.youtube.com/watch?feature=player_detailpage&v=B3Idy1robU8 It wold be great do this kind of things (inteacts) with others programs, but I supose that this is ask too much to XW. Bye! |
Author: | digigamer [ April 28th, 2013, 5:21 pm ] |
Post subject: | Re: Xwidget can't interact with other programs, right? |
So, You are a programmer right?? Kudos!! ![]() ![]() ![]() On yeah! It can be done. XWidget uses Windows Script Host. That includes support for ActiveX and COM. You can see the MSDN for more details. http://msdn.microsoft.com/en-us/library/bb871518.aspx A step closer the tutorial you gave video you there uses the Skype ActiveX controls. You can create an ActiveX control and interact with it. The steps are same that you would follow for any WSH application/ VBScript. I assume you are familiar with these stuff, since you're attempting to do such stuff ![]() here is a small code in jscript (vbscript is greek for me;) ) Code: var ocx = false try { ocx = new ActiveXControl("SKYPE4COMLib.Skype"); } catch(e){ //do something... Skype is not installed } if(ocx) { //call methods... do suff. } Sidenote: Event handling in script is weird. You can see the MSDN for more details. Such a discussion is out of the scope of this reply. Here is something more you can grab... http://devforum.skype.com/t5/Desktop-API/Basic-Skype4COM-question-messages-are-not-updated/m-p/7227#M54 https://dev.skype.com/desktop-api-reference Regards, digigamer |
Author: | Armando [ April 29th, 2013, 6:22 am ] |
Post subject: | Re: Xwidget can't interact with other programs, right? |
Hey digigamer you were very kind to your detailed reply! Thanks so much! Quote: I assume you are familiar with these stuff, since you're attempting to do such stuff Sorry to disappoint ... Maybe I got into an area that is not for me ... I'm just a designer, but I more interested in functionality ability of XWidget than it's aesthetic power. I mean, I love the ability of XW to easily create useful widgets. I recently met a person who knows how to program in JavaScript, and I'm interested to combine my ability design with its ability to program... Anyway, thanks again for all your detailed answer! I will try to learn about this stuff ![]() |
Author: | digigamer [ April 29th, 2013, 4:40 pm ] |
Post subject: | Re: Xwidget can't interact with other programs, right? |
JScript is very very simple... Take a few tutorials and you can master it in a few hours (this is much). And after all there is Google and MSDN for your rreference.. |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |