Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to Simplify Text Inputs
#4
Gintaras (or others),

So, I've worked on this over the weekend, and it definitely is more refined than the auto texts! I have a few additional questions that I've run into:

1. Since its a Dialog and not an autotext, how do you typically trigger this? Can the dialog be triggered with a keyboard input? Or is it best converted into an executable file and run manually?

2. The output of this dialog will be pasted into a Firefox broswer window. I noticed when I run the dialog, I end up with a pasting error if I don't have Firefox running in the background immediately under QM. Is there a way to have the system, by default, maximize or bring to the front, the program (in this case Firefox) that it needs to paste into?

3. In the example you pasted (see portion below), you separate csvWords with a |. They work flawlessly. However, what if I want to be able to select multiple choices to be pasted (what would traditionally be a ctrl+ mouse click in Windows) rather than just one? Is that something I need a multibox for? I was having problems with the syntax.


;Shows dialog where you can select texts and replace keywords such as LOCATION. OK pastes the text.
;Need to edit something. The TODO lines show where and what.


;TODO: add more texts. Edit if need. It is CSV format. For " use "". For new line use new line.
str csvTexts=
;anm = "comes in today concerned about acne on his LOCATION. He reports having the acne for DURATION. During that time, he has used PAST TREATMENTS. He is currently using CURRENT TREATMENTS."
;anf = "comes in today concerned about acne on her LOCATION. She reports having the acne for DURATION. During that time, she has used PAST TREATMENTS. She is currently using CURRENT TREATMENTS. Patient reports the acne DOES/DOES NOT flare around her menstrual cycle."
;arm = "is following up for acne on the LOCATION. He was last seen on DATE, and prescribed TREATMENT. He reports his acne is (IMPROVED, WORSENED, STABLE). Patient admits to TAKING/NOT TAKING his medication(s) as prescribed. Pt DENIES/ADMITS side effects from the medication(s)."
;arf = "is following up for acne on the LOCATION. She was last seen on DATE, and prescribed TREATMENT. She reports her acne is (IMPROVED, WORSENED, STABLE). Patient admits to TAKING/NOT TAKING her medication(s) as prescribed. Pt DENIES/ADMITS side effects from the medication(s)."

;TODO: add more words and replacements. It is CSV too. In replacement lists use | as separator.
str csvWords=
;LOCATION = "face|face and chest|face and back|and so on"
;DURATION = "several days|several months|and so on"

Thanks.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)