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?
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...
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...
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...
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...
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...
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...
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...
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...
I am trying to make a script that executes keystrokes/actions based on data visible to a progression of screens, unfortunately my script will not execute some of the actions whenever it progresses to the next screen. I'm probably missing something relatively simple- can you tell me where I'm...
I was wondering if there is an easy way to create/emulate an IBM mainframe environment?
The problem that I have now is that I'm trying to create macros/scripts for Attachmate while I'm at home, but the only opportunities I have to actually test/debug these macros is while I'm at the office.
If...
I have three questions regarding the 'textbox' control in an attachmate dialog box:
1. Is there a way to limit the number of characters allowed in a textbox control? In Vb.net, I can do this by using either a maskedtextbox, or the 'textbox.Maxlength' property. I haven't found a way to do this...
I was wondering- is there a way to create a 'javascript styled' Internet Explorer pop up window using an attachmate macro?
What I mean by 'javascript styled' is to pull up the IE browser with no scrollbars, menubar, statusbar, locationbar, specify height/width, etc, etc.
I know you can open...
Hi. I'm a novice, and I'm attempting to create a Msgbox prompt that gives the user the option to select yes/no/cancel before executing the rest of the code.
I know how to do it in vb.net, but I haven't been able to figure out the correct syntax that would make attachmate happy.
Here is what I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.