Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a quickpad 1

Status
Not open for further replies.

finitesimian

Programmer
Feb 11, 2006
29
US
What's the code for opening a quickpad?
I would like for my script to pop up a specific quickpad after executing a list of commands.
 
Record a macro that does it and you'll have the code.

calculus
 
From the help files
Applies To Objects

Session

Description

Returns the QuickPads collection containing the individual QuickPad objects that are currently available to a session. Read-only.

Syntax

Set rc = object.QuickPads

Element Description
Set The Set statement, required for assigning an object reference to a variable.
rc The object variable for referencing the returned object.
object The Session object.
Comments

This collection consists of all of the QuickPads that are in the local and remote paths. If no QuickPads are available, the object is still returned, but its Count property is 0.
Once the QuickPads collection object is returned, you can access a specific QuickPad object. You can do this by using the Item method of the QuickPads collection object. For example, the following compound statement returns a reference to a QuickPad object.

Set StandardQP = Extra.QuickPads.Items(1)

If the returned QuickPad is not visible, set its Visible property to TRUE.

Copyright 1996 - 2000, Attachmate Corporation. All rights reserved.

[thumbsup2] Wow, I'm having amnesia and deja vu at the same time.
I think I've forgotten this before.


 
Code:
Extra.QuickPads.Items("FileNameSansExtension").Visible = True
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top