DemBones79
Programmer
We have field users who send messages to us through Attachmate, and message center personnel who receive and respond to those messages, also through Attachmate. We've been using a macro bound to the "Enter" key to record messages and replies.
The macro uses GetString to grab information from the screen at specific screen coordinates. It then creates/appends a txt file to output the message and response data. VBScript from our webpage then extracts the data from the file, dumps it into a database, and cleans out the file.
The problem is that there are about 200 messages per day in our database that indicate an associate attempted to reply, but there is no reply text. The macro writes to the file twice in the event of a reply, once when the associate presses the reply key and presses enter and again when the associate finishes their response and presses enter to send it. The VBScript handles the job of combining those messages. Can anyone think of a better way to do this?
We have other macros that send information directly to a database by sending it to an ASP using URL parameters. These never seem to have an issue with lost data. None of those have to pass strings of text, though. I know I can use "%20" to represent a space in the URL, but I don't know enough about these macros to get it to insert a %20 into the middle of an existing string of characters.
The macro uses GetString to grab information from the screen at specific screen coordinates. It then creates/appends a txt file to output the message and response data. VBScript from our webpage then extracts the data from the file, dumps it into a database, and cleans out the file.
The problem is that there are about 200 messages per day in our database that indicate an associate attempted to reply, but there is no reply text. The macro writes to the file twice in the event of a reply, once when the associate presses the reply key and presses enter and again when the associate finishes their response and presses enter to send it. The VBScript handles the job of combining those messages. Can anyone think of a better way to do this?
We have other macros that send information directly to a database by sending it to an ASP using URL parameters. These never seem to have an issue with lost data. None of those have to pass strings of text, though. I know I can use "%20" to represent a space in the URL, but I don't know enough about these macros to get it to insert a %20 into the middle of an existing string of characters.