Search found 23 matches

by ari
Mon Dec 05, 2022 4:12 pm
Forum: Technical / Scripting
Topic: How to integrate GPT-3 into my macro
Replies: 2
Views: 6696

Re: How to integrate GPT-3 into my macro

for example I just did this: QUERY write an autohotkey script that opens notepad, sends text hello world, sends the file to a printer then closes notepad RESULT Here is an AutoHotkey script that will open Notepad, send the text "hello world" to it, send the file to a printer, and then close Notepad:...
by ari
Mon Dec 05, 2022 4:08 pm
Forum: Technical / Scripting
Topic: How to integrate GPT-3 into my macro
Replies: 2
Views: 6696

Re: How to integrate GPT-3 into my macro

Have you guys seen ChatGPT yet? It can generate autohotkey scripts from natural language descriptions. It is familiar with MS but does not know enough about it to generate scripts. What are MS's plans to integrate this type of technology?
by ari
Tue Apr 12, 2022 4:46 pm
Forum: Technical / Scripting
Topic: How to integrate GPT-3 into my macro
Replies: 2
Views: 6696

How to integrate GPT-3 into my macro

Hello, I would like to integrate natural language AI like GPT-3 into my macros, for example send a command and some text to GPT-3 and then plug the result into a macroscheduler variable (similar to the way regex may be used). I would like to do this using their API and not their website form interfa...
by ari
Fri Jan 24, 2020 4:16 am
Forum: Technical / Scripting
Topic: Remove blank lines when there are more than one of them
Replies: 10
Views: 8129

Re: Remove blank lines when there are more than one of them

One last semi-related question, I am having some serious problems with simple regexes working in RegexBuddy and with various online regex checkers, yet they fail or give different results in MS. For example, if my text is the following and I just wish to match the blocks of text starting with POSITI...
by ari
Thu Jan 23, 2020 4:59 am
Forum: Technical / Scripting
Topic: Remove blank lines when there are more than one of them
Replies: 10
Views: 8129

Re: Remove blank lines when there are more than one of them

Thanks, these did the trick. I have started learning Regex and was wondering which exact version that MS uses? The syntax seems to vary across different tutorials.
by ari
Tue Jan 21, 2020 10:37 pm
Forum: Technical / Scripting
Topic: Remove blank lines when there are more than one of them
Replies: 10
Views: 8129

Remove blank lines when there are more than one of them

Hello, I would like a way to remove multiple blank lines between text in a way so that only one blank line is left. The number of blank lines is irregular, might be 1 sometimes and no change is needed, might be several and I need to reduce it to 1. I have found many ways to remove all blank lines, b...
by ari
Thu Dec 22, 2016 3:49 pm
Forum: Technical / Scripting
Topic: Trouble with first dialog
Replies: 1
Views: 2652

Trouble with first dialog

I am trying to create a dialog button bar, where each button press sends some keystrokes to another program. I would like the bar to stay active until I push an exit button. This is what I have so far and I am just asking if the overall design is correct before I invest a lot more time. Thanks for a...
by ari
Wed Nov 23, 2016 5:25 pm
Forum: Technical / Scripting
Topic: Image recognition fails with new laptop/resolution
Replies: 5
Views: 6077

Re: Image recognition fails with new laptop/resolution

I have not, I have been using EXACT matching with 0 tolerance because I assumed this was fastest and my EMR is a very static program, it does not change much with updates.
by ari
Wed Nov 23, 2016 5:17 pm
Forum: Technical / Scripting
Topic: Image recognition fails with new laptop/resolution
Replies: 5
Views: 6077

Re: Image recognition fails with new laptop/resolution

14.3.07

I tried an updated hi res script on the old lower res laptop and it failed as well. There must be an issue with citrix and the way it scales the desktop? I have been using the "actual size" option with the citrix desktop viewer which I assumed was 1:1 mapping.
by ari
Wed Nov 23, 2016 4:56 pm
Forum: Technical / Scripting
Topic: Image recognition fails with new laptop/resolution
Replies: 5
Views: 6077

Image recognition fails with new laptop/resolution

Hi, I recently upgraded from a 1440x900 resolution laptop to a 2560x1440 laptop. I use MS to interact with a medical record program over citrix so I use image recognition a lot. It seems like all of my scripts using image recognition have broken. They do work when I delete the old bitmaps and redo t...
by ari
Mon Nov 07, 2016 4:28 pm
Forum: Technical / Scripting
Topic: Trouble with variable expressions
Replies: 5
Views: 6600

Re: Trouble with variable expressions

Thanks for your replies, learned a lot, trim worked like a charm.
by ari
Fri Nov 04, 2016 9:19 pm
Forum: Technical / Scripting
Topic: Trouble with variable expressions
Replies: 5
Views: 6600

Re: Trouble with variable expressions

Very very oddly, the 5th case worked

Code: Select all

If>%var_spiro%=Mild airway obstruction. Post bronchodilator test improved.
Let>spiroresults=The spirometry demonstrates mild airway obstruction, significantly reversible with a bronchodilator.
Whereas the other scenarios do not...
by ari
Fri Nov 04, 2016 9:09 pm
Forum: Technical / Scripting
Topic: Trouble with variable expressions
Replies: 5
Views: 6600

Trouble with variable expressions

I am trying to write a script that copies a string of text from a program (electronic medical record), then a certain string of text is written to a text file depending on what was copied. //Copy text Press LShift Press End Press Left Wait>0.2 Release LShift //copy spiro statement to clipboard Press...
by ari
Thu Nov 03, 2016 5:14 am
Forum: Beginners
Topic: How to clear clipboard
Replies: 2
Views: 8169

How to clear clipboard

Is there a command to empty the clipboard? I am using a text expander program that also uses the clipboard and want a way to clear the clipboard before MS uses it. Also, how much wait time is typically required for clipboard operations? It feels sluggish compared to other functions.
by ari
Tue Aug 12, 2014 7:36 pm
Forum: Beginners
Topic: Exit command
Replies: 6
Views: 7308

Re: Exit command

I was wrong on 2 fronts, timeD out, and the lower case TRUE/FALSE! Thanks, very educational and this makes my scripts a lot more useful (vs. watching closely and shift+esc when the script is done)
Sign up to our newsletter for free automation tips, tricks & discounts