Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Vista Community > Windows Vista

Windows Vista Discuss the different versions of Windows Vista, Fuji, or Vienna

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 08-11-2009, 06:50 PM
KumbiaKid
Newsgroup Contributor
 
Posts: n/a
Start Vista calendar minimized from startup folder

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 08-11-2009, 06:50 PM
  #2 (permalink)  
Old 08-12-2009, 10:00 AM
Jon
Newsgroup Contributor
 
Posts: n/a
Re: Start Vista calendar minimized from startup folder

"KumbiaKid" <KumbiaKid@discussions.microsoft.com> wrote in message
news:D25B309B-8881-4019-ABEF-AAB033275E73@microsoft.com...[color=blue]
> 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?
>[/color]



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



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 08-12-2009, 05:40 PM
KumbiaKid
Newsgroup Contributor
 
Posts: n/a
Re: Start Vista calendar minimized from startup folder

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:
[color=blue]
> "KumbiaKid" <KumbiaKid@discussions.microsoft.com> wrote in message
> news:D25B309B-8881-4019-ABEF-AAB033275E73@microsoft.com...[color=green]
> > 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?
> >[/color]
>
>
>
> 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
>
>
>
>[/color]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 08-13-2009, 12:20 AM
Jon
Newsgroup Contributor
 
Posts: n/a
Re: Start Vista calendar minimized from startup folder

"KumbiaKid" <KumbiaKid@discussions.microsoft.com> wrote in message
news:9F76CEA3-B8D7-4A94-AB86-826513B5C1A0@microsoft.com...[color=blue]
> 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.
>[/color]

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



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

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 Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Start an application minimized Rich Windows XP 2 01-17-2008 12:30 PM
boot doesn't start programs under startup folder Susan Rice Windows XP 1 05-17-2007 05:40 PM
Adding a Public Folder Calendar to my Shared Calendar list Scoobs Microsoft Office 0 01-15-2007 11:57 AM
Some Applications start Minimized Cliff Wild Windows XP 1 01-04-2007 07:08 AM
RE: Items in Startup folder don't start on bootup Ron Rector Windows Vista 0 01-01-2007 09:21 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 03:22 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0