Search found 1352 matches
- Wed Nov 20, 2019 10:13 am
- Forum: Technical / Scripting
- Topic: Hotkey not working twice
- Replies: 9
- Views: 4052
Re: Hotkey not working twice
https://1drv.ms/v/s!Ao3gpMOkYdfwlagSEpvhvm7Hz0-jpQ?e=ImUgYx The thing with this is though, you can run this hotkey multiple times in a row, but you do have to release the keys inbetween - otherwise you're not performing the hotkey sequence you set. CTRL_SHIFT_DOWN...release...CTRL_SHIFT_DOWN...relea...
- Tue Nov 19, 2019 1:46 pm
- Forum: Technical / Scripting
- Topic: Hotkey not working twice
- Replies: 9
- Views: 4052
Re: Hotkey not working twice
Here it is working : https://1drv.ms/v/s!Ao3gpMOkYdfwlagRJfR ... w?e=Ho828J
- Mon Nov 18, 2019 2:44 pm
- Forum: Technical / Scripting
- Topic: Help with Regex
- Replies: 6
- Views: 4010
Re: Help with Regex
So "everything in front of" instead of "everything between"?. Maybe one of the Regex gurus in here can show you that in Regex, but you don't need regex for that. Macro Scheduler can do that with Position, Length, and Midstr. Get everything before G : Let>MyString=ABCDEFGHIJKLMNOPQRSTVUWXYZ Len>MyStr...
- Mon Nov 18, 2019 2:19 pm
- Forum: Technical / Scripting
- Topic: if>string contains
- Replies: 2
- Views: 1947
Re: if>string contains
Does something like the script below do what you need? It takes a string, in this case FishCatDog, and looks for Cat. If it finds Cat, it changes it to Horse. If it doesn't, nothing is changed. Let>MyString=FishCatDog Pos>Cat,MyString,1,PosCat, If>PosCat>1 StringReplace>MyString,Cat,Horse,MyString E...
- Mon Nov 18, 2019 2:14 pm
- Forum: Technical / Scripting
- Topic: Hotkey not working twice
- Replies: 9
- Views: 4052
Re: Hotkey not working twice
I see. I think the problem is your script is pressing CTRL and SHIFT but not releasing them. Then they're still pressed and you're having trouble subsequently using the hotkey.
Try this instead :
Try this instead :
Code: Select all
press ctrl
press shift
press right *3
release shift
release ctrl
- Mon Nov 18, 2019 9:20 am
- Forum: General Discussion
- Topic: HashLib.dll for string
- Replies: 2
- Views: 6888
Re: HashLib.dll for string
Version 11 is nine years old and no longer supported, but here's a few forum posts which may help.
- Mon Nov 18, 2019 9:13 am
- Forum: Technical / Scripting
- Topic: Is this possible?
- Replies: 1
- Views: 1371
Re: Is this possible?
Yes, although I can't figure out why you want to do this. Once edited, it seems to do the same thing in two different loops, and then go back to the start again. You needed to reset loop_count (or use a different variable, and you had Until twice for each loop. Edited version below. If that isn't wh...
- Mon Nov 18, 2019 9:00 am
- Forum: Technical / Scripting
- Topic: Hotkey not working twice
- Replies: 9
- Views: 4052
Re: Hotkey not working twice
I just experimented with this and SHIFT + CTRL isn't an option for HotKeys. CTRL + SHIFT is. However, as long as CTRL/SHIFT are held down at the same time as Down is pressed, this should work just fine. I was able to execute a macro multiple times whichever of the two I held down first. Does the sam...
- Sat Nov 16, 2019 12:23 pm
- Forum: Technical / Scripting
- Topic: Tricky Problem-Need help!
- Replies: 4
- Views: 3065
Re: Tricky Problem-Need help!
I would see if you could use GetPixelColor. My initial thought was the same as yours, but I'm fairly sure that wouldn't work, as they've made it semi transparent. This means the colour index changes. Sample it in one place, and it's 13012896, in another it's 12815002, and so on. Running the Cursor ...
- Fri Nov 15, 2019 11:33 am
- Forum: Technical / Scripting
- Topic: ObjectSendText dropping characters
- Replies: 2
- Views: 1722
Re: ObjectSendText dropping characters
I tested too and was able to replicate the problem. It seems the problem is specifically related to PowerShell, as characters weren't clipped in test applications such as NotePad. I'm wondering if that is a feature of PowerShell, as if I try "voooooltaaaaage" it is corrected to "voltage". This sugge...
- Thu Nov 14, 2019 11:04 am
- Forum: Technical / Scripting
- Topic: hidden variable in watchlist
- Replies: 1
- Views: 1473
Re: hidden variable in watchlist
I can replicate this. Have edited slightly for clarity, and will consult Marcus for his insight. Let>strResponse1={""} HTTPRequest>https://www.mjtnet.com/,,GET,,strResponse1 MessageModal>strResponse1 Let>strResponse2={""} HTTPRequest>https://www.meneame.net/,,GET,,strResponse2 MessageModal>strRespon...
- Thu Nov 14, 2019 10:46 am
- Forum: Technical / Scripting
- Topic: Find Text, do math, select right answer, enter
- Replies: 6
- Views: 4225
Re: Find Text, do math, select right answer, enter
Maybe try OCRarea again as the recent update has made it much faster. Once you have that text you can use Position to check if the minus symbol is present.
Of use Image Recognition on that small area and just look for the -
Of use Image Recognition on that small area and just look for the -
- Mon Nov 11, 2019 12:01 pm
- Forum: Technical / Scripting
- Topic: Help with Regex
- Replies: 6
- Views: 4010
Re: Help with Regex
Also, here's a free Regex course. It helped me grasp a basic understanding.
https://www.udemy.com/course/regex-acad ... g-sorcery/
- Thu Nov 07, 2019 1:06 pm
- Forum: Technical / Scripting
- Topic: Help with Regex
- Replies: 6
- Views: 4010
Re: Help with Regex
This regex returns "everything between" //To help you understand let>mystring=Esko ArtiosCAD - [TEST - 0 mfg] let>BEGINNING=0 let>END=] RegEx>(?<=%BEGINNING%).*?(?=%END%),mystring,0,matches,nm,0 MessageModal>%nm% matches %CRLF%The item number is %matches_1% //All condensed into one line RegEx>(?<=0 ...
- Thu Nov 07, 2019 12:58 pm
- Forum: The Water Cooler
- Topic: Water Cooler
- Replies: 2
- Views: 14295
Re: Water Cooler
The last time I posted in here Marcus offered me a job. That was 2013. Best post I ever made.