Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Appactivate
Srinivasa Gupta
Posts: 6
 
AppactivateYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Jun 06 2:44 AM

gabapentin pregnancy review

gabapentin and pregnancy side effects read here
fiogf49gjkf0d
How to use appactivate in VB script
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: AppactivateYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Jun 06 11:48 AM
fiogf49gjkf0d
AppActivate is used to activate, or change focus to, an open window (not a SLX window, those are all child windows, but one open in windows). It is part of the WshShell object and returns a boolean indicating success. This is most commonly used with SendKeys (also part of the WshShell object) to set focus to the window before sending keystrokes.

For example, if the calc.exe was open you could use AppAvtivate to bring it to the foreground and set focus to it as follows.

Dim shell

Set shell = CreateObject("WScript.Shell")
shell.Run "calc.exe"

' ensure calculator has focus
If shell.AppActivate("Calculator") Then
' do something here like sendkeys to calculator
End If

Set shell = Nothing
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: AppactivateYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Jun 06 11:49 AM
fiogf49gjkf0d
Also, I would suggest downloading the MS Scripting docs. This is the official VBScript documentation/help and it applies 100% to SalesLogix.

Windows Scripting 5.6 Documentation
http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=30

This will help you immensely as you use VBScript in SLX.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 5:53:21 AM