Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Start Vista calendar minimized from startup folder

Reply
Thread Tools Display Modes

Start Vista calendar minimized from startup folder

 
 
KumbiaKid
Guest
Posts: n/a

 
      08-12-2009
Hi,

I'm using Vista (with SP2) and have set the Windows Calendar to run from the
Startup folder, but despite selecting Run: "Minimized" from the shortcut
properties, it still opens in a normal window every time I boot Vista. How
can I get it to start minimized?

The shortcut Target is: "%ProgramFiles%\Windows Calendar\wincal.exe"
The "Run" option is set to "Minimized"

Is there a command line switch to do it?

Thanks,
KumbiaKid

 
Reply With Quote
 
 
 
 
Jon
Guest
Posts: n/a

 
      08-12-2009

"KumbiaKid" <> wrote in message
news25B309B-8881-4019-ABEF-...
> Hi,
>
> I'm using Vista (with SP2) and have set the Windows Calendar to run from
> the
> Startup folder, but despite selecting Run: "Minimized" from the shortcut
> properties, it still opens in a normal window every time I boot Vista. How
> can I get it to start minimized?
>
> The shortcut Target is: "%ProgramFiles%\Windows Calendar\wincal.exe"
> The "Run" option is set to "Minimized"
>
> Is there a command line switch to do it?
>




I think it's built into Calendar to want to run non-minimized, so changing
shortcut properties won't work. There isn't a setting within Windows
Calendar that I can see either that would help either.

So a way round this would be to write a small script to launch Calendar and
then immediately minimize it. If you're familiar with VBScript, JScript,
Powershell or another scripting language, then it's possible with one of
these. Post back if you need some tips.

--
Jon



 
Reply With Quote
 
KumbiaKid
Guest
Posts: n/a

 
      08-13-2009
Thanks Jon. Yet another example of Microsoft's arrogance - deciding that
users have to open an app in a window whether they want to or not and flying
in the face of their own standards (i.e., ignoring the shortcut
specifications). Thanks for the tip. If you wouldn’t mind, a snippet of
VBScript would be appreciated including how to set it up and implement it.

"Jon" wrote:

> "KumbiaKid" <> wrote in message
> news25B309B-8881-4019-ABEF-...
> > Hi,
> >
> > I'm using Vista (with SP2) and have set the Windows Calendar to run from
> > the
> > Startup folder, but despite selecting Run: "Minimized" from the shortcut
> > properties, it still opens in a normal window every time I boot Vista. How
> > can I get it to start minimized?
> >
> > The shortcut Target is: "%ProgramFiles%\Windows Calendar\wincal.exe"
> > The "Run" option is set to "Minimized"
> >
> > Is there a command line switch to do it?
> >

>
>
>
> I think it's built into Calendar to want to run non-minimized, so changing
> shortcut properties won't work. There isn't a setting within Windows
> Calendar that I can see either that would help either.
>
> So a way round this would be to write a small script to launch Calendar and
> then immediately minimize it. If you're familiar with VBScript, JScript,
> Powershell or another scripting language, then it's possible with one of
> these. Post back if you need some tips.
>
> --
> Jon
>
>
>
>

 
Reply With Quote
 
Jon
Guest
Posts: n/a

 
      08-13-2009
"KumbiaKid" <> wrote in message
news:9F76CEA3-B8D7-4A94-AB86-...
> Thanks Jon. Yet another example of Microsoft's arrogance - deciding that
> users have to open an app in a window whether they want to or not and
> flying
> in the face of their own standards (i.e., ignoring the shortcut
> specifications). Thanks for the tip. If you wouldn’t mind, a snippet of
> VBScript would be appreciated including how to set it up and implement it.
>


You're welcome. You could try the following code ...

Paste into a new notepad file, paste in the code below, and save with a
..vbs extension. Double-click the new file to see that it behaves the way you
like. If so, then drag a shortcut to it to the 'Startup' folder.

Start > All Programs > [scroll down to startup] > Right-click 'startup' >
open > drag in the shortcut to the .vbs file



'VBScript Code
'----------------------------------
set shell = CreateObject("Shell.Application")
Set WshShell = WScript.CreateObject("WScript.shell")


ProgramFiles = WshShell.ExpandEnvironmentStrings("%ProgramFiles%" )
shell.shellexecute ProgramFiles & "\Windows Calendar\wincal.exe"


'Activate the window
counter = 6000
activated = false
do
activated = WshShell.AppActivate("Windows Calendar")
wscript.sleep 100
counter = counter - 1
if counter = 0 then
wscript.quit
end if
loop until activated = true


shell.MinimizeAll


'------------------------------------------------------------

--
Jon



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: tool for user profiles migration Meinolf Weber [MVP-DS] Windows Server 0 07-11-2009 11:32 AM
HOME FOLDER ON 2003 ENTERPRISE ED .64 BIT SERVER Al Windows Server 9 09-19-2008 02:39 AM
Installed Vista dual boot, think I screwed up! Don Windows 64 Bit 69 09-12-2008 12:06 AM
Vista Ultimate 32-Bit to 64-Bit Seidell23231 Windows 64 Bit 21 04-06-2008 05:26 PM
SNMP Service hang Giangi Windows Server 2 11-13-2006 08:20 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59