using parameter as argument for an external application

Help each other out

using parameter as argument for an external application

Postby badubo on Sat Jun 05, 2004 12:19 am

Hello,

we would like to create a contact screen from which we can call people with the voIP application "Skype".

Skype allows to call people directly from the command line :
"c:\program file\skype\skype.exe /CALLTO://callerID"


where callerID represents the username of the person to contact.
(note that no files are used, callerID is only a parameter)

Our idea was to create a database where contacts are stored and <parameter> contains the callerID

We tried several possibilities (like execute file, using file types, ...) but until now we were unable to call skype with the correct argument taken from the database.

Has somebody a solution for getting info from a database and put it in a command line.
Thx
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby lar282 on Sat Jun 05, 2004 9:31 am

I use it for maplayer and it works. Don't have the htpc here now and will give u the parameter tonite.


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby lar282 on Sat Jun 05, 2004 5:32 pm

Is this what u are looking for as the ARGUMENT

%movies2>parameter%

where movies2 is MY database
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby badubo on Sat Jun 05, 2004 6:11 pm

Hello,

yes, it works, great thanks :)
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium