English Deutsch Français Italiano Particle Software Buy Now


Particle Software
 
Recall Application
   ..::   About  •  Purchasing  •  Search  •  Contact  • Home   ::..
 
Screenshots
• Sample
Downloads
Resources
• FAQ
• Macros

 
  With IntraLaunch 4.9 and higher the format of RecallApp has changed. Previously only the classname could be specified, now the format must be "classname,window title". This new format adds the ability to specify the application's window title instead of a class name to make it easier to work with. This also allows greater control over exactly what is recalled. All examples below are based on the new format used with IntraLaunch 4.9 and higher. Previous customers please contact support@particlesoftware.com to obtain the latest version.

  Usually clicking an object several times will run a given program multiple times. With the RecallApp parameter, you can check to see if its already running and if so refocus it instead of running another copy. As seen below the RecallApp parameter receives the classname and window title of the program to recall. The classname of an application can be obtained using the utilities Watcher or WinSpector. The window title of * can be used to match all running programs.

  Common classnames - notepad.exe's is "Notepad", Microsoft Word's classname is "OpusApp", Excel's is "XLMAIN", PowerPoint's is "PP97FrameClass", Access's is "OMain", Outlook's is "rctrl_renwnd32".

   Below's example will run Microsoft Word as expected. Upon clicking this object again, IntraLaunch will look for the application with the classname OpusApp (which is Microsoft Word) and bring it into focus if its already running. The AndRestore parameter is an additional option that will restore the program from a minimized state if need be. All classnames and window titles are case sensitive.


 
 
<HTML>
<BODY>

(Common HTML Web Page)

<OBJECT ID="IntraLaunch" WIDTH=65 HEIGHT=77    CODEBASE="http://intranet.net/menu/IntraLaunch.CAB#version=5,0,0,0"
   CLASSID="CLSID:0AE533FE-B805-4FD6-8AE1-A619FBEE7A23">
   <PARAM NAME="ImageLoc" VALUE="Remote">
   <PARAM NAME="ImageSrc" VALUE="http://intranet.net/menu/word.gif">
   <PARAM NAME="Run" VALUE="C:\Program Files\Office\winword.exe">
   <PARAM NAME="RunParms" VALUE="">
   <PARAM NAME="DefDir" VALUE="">
   <PARAM NAME="Display" VALUE="MAX">
   <PARAM NAME="RecallApp" VALUE="OpusApp,*">
   <PARAM NAME="AndRestore" VALUE="True">
</OBJECT>

</BODY>
</HTML>
 
 
       


  Other examples

Another way of refocusing/recalling Microsoft Word:

   <PARAM NAME="RecallApp" VALUE="*,*- Microsoft Word*">
   <PARAM NAME="AndRestore" VALUE="True">


Opens fax.doc in Microsoft Word from the users My Documents folder. If fax.doc is already opened its recalled. Other instances of Word are ignored and never considered. So this will only every be able to open one copy of fax.doc:

   <PARAM NAME="Run" VALUE="%mydocuments%\fax.doc">
   <PARAM NAME="RecallApp" VALUE="OpusApp,*fax.doc - Microsoft Word*">
   <PARAM NAME="AndRestore" VALUE="True">


Recall the first running instance of notepad with the document "doc.txt" opened (because doc.txt is in the window's title) and restore it if it's minimized:

   <PARAM NAME="RecallApp" VALUE="Notepad,*doc.txt*">
   <PARAM NAME="AndRestore" VALUE="True">


Recall the first application with the text "sales.doc" within it's window title but don't restore it if it's minimized:

   <PARAM NAME="RecallApp" VALUE="*,*sales.doc*">
   <PARAM NAME="AndRestore" VALUE="False">


Recall Microsoft Outlook and restore it if it's minimized. This fixes a problem of not being able to restore Outlook if it was minimized with previous versions of IntraLaunch:

   <PARAM NAME="RecallApp" VALUE="rctrl_renwnd32,*- Microsoft Outlook*">
   <PARAM NAME="AndRestore" VALUE="True">


Recall Microsoft Outlook only if the Contacts are displayed and restore it if it's minimized. If Outlook is running with something other then Contacts displayed then Outlook (or the program specified in Run) would be executed again.

   <PARAM NAME="RecallApp" VALUE="rctrl_renwnd32,*Contacts - Microsoft Outlook*">
   <PARAM NAME="AndRestore" VALUE="True">


Copyright © 1997-2008 Particle Software - All Rights Reserved
Web services provided by Extreme Hosting