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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. finitesimian

    Vb.net question

    What's the proper way to set the extra.system and grab the active session under vb.net?
  2. finitesimian

    Count number of lines in .txt

    I'm trying to write a script that opens a .txt file For Input, scans it for occupied lines, then returns the line numbers for each newline..........or maybe even counts the number of existing newlines. Got any suggestions on an elegant way to pull this off?
  3. finitesimian

    Default to desktop

    This should be easy. I just couldn't find a reference for the syntax anywhere... How do you "default" something to the user's desktop in Attachmate? I've created a script that scrapes several screens, then pastes the data to a .txt file on the desktop........but I can't share my script with...
  4. finitesimian

    Listbox search

    I'm trying to make a form with a listbox control that outputs strings based on information typed into a textbox control------however, the way I WANT to do it is have it incrementally list the words (from an array) as the user is entering the data. For example - If the user enters the letters...
  5. finitesimian

    Recognizing top or end of scrollable data

    Whoops -- meant to say "pf7" not "pf6
  6. finitesimian

    Recognizing top or end of scrollable data

    There are two rooms. In the first, there are three switches. In the second - there are three light bulbs. The door between them is closed. You are only allowed to go into the second room once. If you start in the first room, how do you find out which switch operates which bulb? I guess if...
  7. finitesimian

    Keystroke question

    This question is one of those "probably not, but I thought I'd ask anyway" questions: I was wondering if it was possible to use the "escape" or "control" keys in sendkeys statements? For example "<Home><BackTab><Escapekey?><Controlkey?><Enter>" A second question --- is it possible to use...
  8. finitesimian

    Writing to an Open Document

    By the way.........before I ask this question, I could have sworn there was a thread somewhere that already covered this, but I can not for the life of me find it. At any rate, here goes: How do you write to a .txt or .doc file that is already open on the desktop? When I say "open", what I...
  9. finitesimian

    Running an application

    Thank you Calculus, it worked. I tried the "shell" command a couple of times prior to posting, but I was getting the proper syntax wrong.
  10. finitesimian

    Running an application

    This should be a relatively simple question (I think). Here goes: I currently have an application that scrapes a bunch of Screen.Area objects, and pastes them into a .txt file on my desktop. At the end of the script, I would like for it to open the .txt file in a new window (maximized). How do...
  11. finitesimian

    Opening a quickpad

    Thank you Skie
  12. finitesimian

    Opening a quickpad

    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.
  13. finitesimian

    Repeat dialog box

    Very kewl--- thanks guys
  14. finitesimian

    Repeat dialog box

    I am in the process of creating a script that opens a dialog box for password entry. I need my dialog to be able to handle errors, and open itself back up again when they happen. Is there a way to do this? Here is one example: In this script, the user is attempting to enter and reenter the new...
  15. finitesimian

    Login Macro

    I *think* you need to make it stop on this part of the code: If Err=102 then MsgBox "Dialog box canceled." Stop End If
  16. finitesimian

    Dialog box control question

    Whoops-- N/M--- just figured it out
  17. finitesimian

    Dialog box control question

    I have one more question about textbox controls in dialog boxes. Is it possible to place a default line of text in a textbox control? One example of this would be a password box that retains the last user's name (and possibly password). When the user executes the macro a second time, the...
  18. finitesimian

    Write statement

    Thanks for the tip :) Here is one example Dim op1 As String op1 = "This is my output" Open "C:\Documents and Settings\myuserprofile\Desktop\scrape.txt" For Append As #1 Write #1, op1 close 1 I want it to write: This is my output instead of "This is my output" (no quotation marks...
  19. finitesimian

    Write statement

    I'm trying to make a script that writes to a txt file on my desktop. I've figured out the script for opening/closing and writing to the txt document, but I'm needing it to do a couple of other things: 1. write each new expression to a new line (next line down) instead of overwriting the...
  20. finitesimian

    Dialog box control question

    I was wondering if it was possible to create a dialog box that creates controls based on a variable? I am trying to write a macro that 1. Reads data from an Area Object 2. Generates multiple checkboxes based on the data In this example, I've made a script that reads the screen vertically to...

Part and Inventory Search

Back
Top