XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently May 10th, 2025, 10:04 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: April 28th, 2013, 7:48 am 
Offline
User avatar

Joined: June 12th, 2012, 11:05 am
Posts: 257
Location: Barcelona
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!


Top
 Profile  
 
PostPosted: April 28th, 2013, 5:21 pm 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
So, You are a programmer right?? Kudos!! :mrgreen: :mrgreen: :D
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

_________________
Life is a myriad game... Just play it!


Top
 Profile  
 
PostPosted: April 29th, 2013, 6:22 am 
Offline
User avatar

Joined: June 12th, 2012, 11:05 am
Posts: 257
Location: Barcelona
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 :)


Top
 Profile  
 
PostPosted: April 29th, 2013, 4:40 pm 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
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..

_________________
Life is a myriad game... Just play it!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group