Search found 18 matches

by Saiftey
18 Jun 2018, 10:29
Forum: Ask For Help
Topic: RegExReplace() runs differently on Clipboard then in Var - solutions?
Replies: 1
Views: 45

Re: RegExReplace() runs differently on Clipboard then in Var - solutions?

The answer I think lies with the editbox using \r\n or \n - something to do with this
by Saiftey
18 Jun 2018, 10:21
Forum: Ask For Help
Topic: RegExReplace() runs differently on Clipboard then in Var - solutions?
Replies: 1
Views: 45

RegExReplace() runs differently on Clipboard then in Var - solutions?

My problem: running RegExReplace on my input using var= causes RegExReplace to see the data differently to when I run it on clipboard data.. Why? It is the exact same RegExReplace - Why is it working differently depending on if I use the RegExRepalce on clipboard or var.. I need a solution to get th...
by Saiftey
11 Jun 2018, 14:42
Forum: Ask For Help
Topic: Choose random number twice without repetition Topic is solved
Replies: 4
Views: 113

Re: Choose random number twice without repetition Topic is solved

Thank you that works - Could you explain this line for me?

while((m := rand(1, 4)) == n)

and

rand(min, max)
{
Random, rand, min, max
return rand
}
by Saiftey
11 Jun 2018, 11:14
Forum: Ask For Help
Topic: Choose random number twice without repetition Topic is solved
Replies: 4
Views: 113

Choose random number twice without repetition Topic is solved

I have a code that chooses the number 1-4 randomly then does it again how do I make the second time it picks a random number NOT repeat the first one? I can't figure it out here is what I have so far random, OutputVar , 1, 4 { send %Outputvar% } sleep, 500 send {enter} sleep, 500 random, OutputVar ,...
by Saiftey
07 Jun 2018, 07:40
Forum: Ask For Help
Topic: Numerically AND Alphabetically sorting data
Replies: 11
Views: 349

Re: Numerically AND Alphabetically sorting data

When i put %clipboard% as my vtext it doesnt work , but when i put the actual raw input , it works - any idea why this is?
by Saiftey
06 Jun 2018, 11:55
Forum: Ask For Help
Topic: GUI Editbox messing up RegExReplace()
Replies: 2
Views: 75

Re: GUI Editbox messing up RegExReplace()

I have put my input in the GUI edit box - then I copied it to clipboard - then i repasted it back into the GUI edit box just to see what it looks like - This is what it looks like - https://imgur.com/a/vLjHwIJ
@Wolf_II
by Saiftey
06 Jun 2018, 11:41
Forum: Ask For Help
Topic: GUI Editbox messing up RegExReplace()
Replies: 2
Views: 75

GUI Editbox messing up RegExReplace()

Hi, When I try to run my multiple RegExReplace() using the editbox (GUI) - It doesn't work properly When I try to run my multiple RegExReplace() using clipboard NOT using the GUI - It works The editbox in the GUI is doing something to my input list - It's formatting or changing it in a way that mess...
by Saiftey
05 Jun 2018, 07:34
Forum: Ask For Help
Topic: Numerically AND Alphabetically sorting data
Replies: 11
Views: 349

Re: Numerically AND Alphabetically sorting data

- A custom sort function can often make tasks like this easier. q:: ;sort 2 columns vText = ;continuation section ( * 1 [[Bakelelite]] * 60 [[Rose of the Sands]] * 1 [[Fine Sand]] * 4 [[Ourobubble Scales]] * 11 [[Scordion Tail]] * 11 [[Mantiscore Carapace]] ) Sort, vText, F Sort2Cols MsgBox, % vTex...
by Saiftey
04 Jun 2018, 21:27
Forum: Ask For Help
Topic: Numerically AND Alphabetically sorting data
Replies: 11
Views: 349

Re: Numerically AND Alphabetically sorting data

I just realized.. i suppose I could remove the * just for this instance then at the end do a regex replace to add the * back in if it makes it easier.. let me hunt on the forums for a solution now..
by Saiftey
04 Jun 2018, 20:00
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 168
Views: 39239

Re: FindText - Capture screen image into text and then find it Topic is solved

feiyue wrote:err1、err0 set 0.1 is 10%, 1 is 100%.


Ah, now that works better. Thanks lad. :bravo:
by Saiftey
04 Jun 2018, 19:58
Forum: Ask For Help
Topic: I have tried for hours per day, can someone please help
Replies: 9
Views: 277

Re: I have tried for hours per day, can someone please help

Hi, I have tried so hard with this script i'm trying to do but i just can crack the end of it. It seems like it should be simple but proving hard can someone please spare me some time to help me out please? much apreciated if you can Thanks Is it a mystery? Do I have to get my magic crystal ball? :...
by Saiftey
04 Jun 2018, 19:54
Forum: Ask For Help
Topic: Numerically AND Alphabetically sorting data
Replies: 11
Views: 349

Numerically AND Alphabetically sorting data

Hi, I need to sort my data first numerically then alphabetically. This seems quite complex, I'm having a huge struggle trying to figure out this because my input's beginning of the lines don't start with the numbers/text.. any ideas on a script? My input * 1 [[Bakelelite]] * 60 [[Rose of the Sands]]...
by Saiftey
02 Jun 2018, 19:59
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 168
Views: 39239

Re: FindText - Catch screen image into text and then find it Topic is solved

FindText(X,Y,W,H,err0,err1,Text) err1 is the character "0" fault-tolerant in percentage (0-1) Default 0. err0 is the character "_" fault-tolerant in percentage.(0-1) Default 0. Please explain. I have attempted to set the err0 and err1 values to 1, 2, 3, 4, 5 and many others assu...
by Saiftey
19 May 2018, 18:56
Forum: Ask For Help
Topic: Randomising lines that are entered Topic is solved
Replies: 5
Views: 183

Re: Randomising lines that are entered Topic is solved

Hi, yes you are the one who answered my question on discord and your answer was perfect.

Thank you very much again SirRFI. :)
by Saiftey
19 May 2018, 12:35
Forum: Ask For Help
Topic: Randomly sending phrases without repetition? Help! Topic is solved
Replies: 4
Views: 99

Re: Randomly sending phrases without repetition? Help! Topic is solved

I've been looking at the AHK docs but I am finding it a little bit difficult to make sense of it , when you are free could you edit my script to include those functions you have mentioned? I am new to AHK
by Saiftey
19 May 2018, 11:18
Forum: Ask For Help
Topic: Randomly sending phrases without repetition? Help! Topic is solved
Replies: 4
Views: 99

Randomly sending phrases without repetition? Help! Topic is solved

Currently my script does: "randomly choosing" one of the 3 phrases to be input 3 times (so this means the same phrase can be repeated) What I want my script to do: EACH of the 3 phrases to be sent - in a random order (so all 3 phrases are chosen without any repetition) any ideas? here is ...
by Saiftey
19 May 2018, 11:10
Forum: Ask For Help
Topic: Randomising lines that are entered Topic is solved
Replies: 5
Views: 183

Re: Randomising lines that are entered Topic is solved

Hi, that works but I just forgot to explain one last thing I needed - So so sorry!

I needed the part where the 3 words are sent to NOT repeat the same one and make sure ALL 3 are sent in a randomised order
by Saiftey
08 May 2018, 18:43
Forum: Ask For Help
Topic: Randomising lines that are entered Topic is solved
Replies: 5
Views: 183

Randomising lines that are entered Topic is solved

^q:: Loop: Random, OutputVar , 30, 70 Loop, %OutputVar% { Random ranSleep, 3500, 4500 sleep %ranSleep% sendinput {raw}Bice123 Random ranSleep, 1000, 2000 sleep %ranSleep% send {enter} } sendinput {raw}3rf! Random ranSleep, 400, 1800 sleep %ranSleep% send {enter} Random ranSleep, 9500, 15500 sleep %...

Go to advanced search