Dizzy Posted March 23, 2004 Posted March 23, 2004 Hi All! I want to modify the normal.dot for a few users. The script should be placed in the logon-script and the user shouldn't see anything about the actions of the normal.dot. So my script : $shortname=FileGetShortName ( "C:\somewhere\old-normal.dot" ) Run ( @ProgramFilesDir & "\Microsoft Office\Office\winword.exe " & $shortname, "", @SW_HIDE ) or ; RunWait ( @ProgramFilesDir & "\Microsoft Office\Office\winword.exe " & "C:\somewhere\old-normal.dot", "", @SW_HIDE ) In this case @SW_HIDE does not work why? Can anyone help me? Thx Dizzy
Valik Posted March 23, 2004 Posted March 23, 2004 There is no promise that a window will obey the state flag you pass it. Most do, but not all do. About all you can do is run Word and manually hide it after it appears (Will cause a flicker on screen, though).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now