[THIN] Re: Scripting

Actually I believe it only launches when a new session is created so if you are 
using Session Sharing then it will only
launch for the first application that is launched and it will not launch for 
subsequent apps on the same server.

 

One option is to disable Session Sharing. 

 

Another option is to write a wrapper script for each published app. You could 
write the script so that it accepts
command line arguments that specify the path of the application that needs to 
be executed; that way you can specify the
same script for each published app.

 

  _____  

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Eilers, Lee
Sent: Thursday, May 19, 2005 7:41 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Scripting

 

Great.  I assume that even if the user launches a second application from the 
same server, it should run that cmd file
again.

 

Either way, I have to explorer this alternate methodology.

 

thanks

 

  _____  

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Carl Stalhood
Sent: Thursday, May 19, 2005 8:36 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Scripting

Either launch it from c:\windows\system32\usrlogon.cmd or add it to 
HKLM\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon\AppSetup. Both of those locations cause programs / 
scripts to run even if the user is
launching published apps.

 

  _____  

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Eilers, Lee
Sent: Thursday, May 19, 2005 7:26 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Scripting

 

I was afraid of that.  I was hoping for a single point of execution, on the 
server, rather than on a per app basis.

 

  _____  

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Henry Sieff
Sent: Thursday, May 19, 2005 8:04 AM
To: thin@xxxxxxxxxxxxx; thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Scripting

Sure - create a .bat or .cmd which executes the application and runs your 
script and publish the .bat or .cmd.

 

  _____  

From: thin-bounce@xxxxxxxxxxxxx on behalf of Eilers, Lee
Sent: Thu 5/19/2005 6:50 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Scripting

Is it possible to run a VBScript when using published applications?  I
want a script to run every time a published application is launched to
record user, time, MF app launched from etc to a log file.  I have wrote
the script and used it to fire off every time someone logs into a
desktop, but it does not fire off on published applications.

Ideas?
********************************************************
This Weeks Sponsor: ThinPrint GmbH
Now available: The new version .print Engine 6.2 with SSL encryption
and certificate management.
http://www.thinprint.com
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: