What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Send variable as command line paramter

Send variable as command line paramter
Author: Message:
paulieG
New Member
*


Posts: 1
Joined: Oct 2008
O.P. Send variable as command line paramter
Hi,

I can get my command line working with additional arguments, but I want to include the message text as one of these parameters and every time I try to include this variable I get an object error.  See my code below;

var result = Interop.Call("shell32.dll", "ShellExecuteW", null, "open", "C:\\mythtvosd.exe", "--type=scroller --text=" + varmessage,"", 10)

Surely I am just syntaxing it wrong but I cant find anything on the net to help?

Cheers,

PaulieG
10-04-2008 02:31 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Send variable as command line paramter - by paulieG on 10-04-2008 at 02:31 AM
RE: Send variable as command line paramter - by CookieRevised on 10-04-2008 at 10:21 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On