Jump to content
Macro Express Forums

Backspace command in .txt file


Recommended Posts

I'm trying to pull data from a .txt file into Meditech.  It works up to a point.  At points in the .txt file I need it to "backspace" which in meditech is the F10 key.  How can I build an F10 command into the txt file?  Below is an example:

 

pt room<ENTER>
<ENTER>
<ENTER>
<F10>
5
<ENTER>
pt confidential flag<ENTER>
<ENTER>
<F10>
5
<ENTER>
<F10>
1<ENTER>

Link to comment
Share on other sites

I don't understand your question and I don't have time ATM but you might want to consider using Text File Process or ASCII File process commands. Moving around in a text file creates problems and it's usually better to get them into variables to manipulate. 

Link to comment
Share on other sites

See the screen image below.  The yellow arrow points to how you can do an F10 key within the Text Type command, and sure enough, it inserts <F10> like you did through the text file.  The explicit command is how I have always done it.  It's interesting that you can do it through file input as well. 

 

zzzzz.jpg

Link to comment
Share on other sites

The reason I need(ed) it to be inserted via the .txt file is based on hardcoded programming of meditech.  If I had to send each variable followed by F10 from the script it would be a LONG script.  I need to enter pt room, enter, row, enter, column, enter, length, enter and then begin again with another row as show in screenshot.  But i can input all of that in the .txt file in one column, when i send %T[1]% it all flows in!

image.png.12300b3c07e6190dad626dcbfbace87a.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...