What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Shell application, minimized

Shell application, minimized
Author: Message:
Aski
New Member
*


Posts: 2
Joined: Nov 2006
O.P. Shell application, minimized
Hello everybody!
This might be a stupid question...:

I execute an external EXE File with this command:
code:
var objShell = new ActiveXObject("Shell.Application");
    objShell.ShellExecute(MsgPlus.ScriptFilesPath + '\\app.exe', "", "", "open", 3);


What do I have to do, that this application doesn't start maximized?

Thank you very much!

This post was edited on 11-30-2006 at 08:54 PM by Aski.
11-30-2006 08:54 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: Shell application, minimized
MSDN gives you this information

You just need to find the value for SW_SHOWMINIMIZED (which just happens to be 2)

EDIT:
  SW_HIDE = 0
  SW_SHOWNORMAL = 1
  SW_NORMAL = 1
  SW_SHOWMINIMIZED = 2
  SW_SHOWMAXIMIZED = 3
  SW_MAXIMIZE = 3
  SW_SHOWNOACTIVATE = 4
  SW_SHOW = 5
  SW_MINIMIZE = 6
  SW_SHOWMINNOACTIVE = 7
  SW_SHOWNA = 8
  SW_RESTORE = 9
  SW_SHOWDEFAULT = 10
  SW_FORCEMINIMIZE = 11
  SW_MAX = 11

This post was edited on 11-30-2006 at 09:23 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
11-30-2006 09:14 PM
Profile PM Find Quote Report
Aski
New Member
*


Posts: 2
Joined: Nov 2006
O.P. RE: Shell application, minimized
Oh... I'm sorry, that I didn't looked through the MSDN Libary!

thanks anyway!

Have a nice Weekend...
12-01-2006 05:19 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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