Search found 48 matches

by ik4u
01 Aug 2020, 10:06
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

F1:: Clipboard := "" Send, {Ctrl down}c{Ctrl up} ClipWait, 1 if ErrorLevel return Arr := StrSplit(Clipboard, "`n", "`r") Clipboard := Arr[Arr.MaxIndex()] if RegExMatch(Clipboard, "GOTO ([a-zA-Z]+|\d+)([a-zA-Z]+|\d+) ([a-zA-Z]+)", M) Clipboard := AlphaNumSwap(M1) . AlphaNumSwap(M2) . " " . UpperLowe...
by ik4u
13 Jul 2020, 16:36
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

Dear, Friend
Is their a way to script,
wait for regex to finish, then paste.
I tried ClipWait, but most times its the text before Regex code applied.
by ik4u
09 Jul 2020, 16:14
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

Clipboard = ( line 1: blah blah blah.... line2: GOTO Z15 sMile line3: blah blah blah.... line4:blah blah blah ) Arr := StrSplit(Clipboard, "`n", "`r") Clipboard := Arr[Arr.MaxIndex()] if RegExMatch(Clipboard, "GOTO ([a-zA-Z]+|\d+)([a-zA-Z]+|\d+) ([a-zA-Z]+)", M) Clipboard := AlphaNumSwap(M1) . Alph...
by ik4u
09 Jul 2020, 12:58
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

boiler wrote:
09 Jul 2020, 12:56
Yes, you explained it correctly. OK. I’ll do this one, but it would be good for you to study and try some code in the future and post where you get stuck. It’s the best way to learn.
Thank you, Sir,
Much Obliged
by ik4u
09 Jul 2020, 12:36
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

I thought you meant that it wasn’t meeting your prior requirements which were “Incase more than 1 sequence GOTO .* appear, how to script choose last find” which it did. It seems like the new cases are endless. So now you have a new requirement, and apparently the requirements are going to continue ...
by ik4u
09 Jul 2020, 12:11
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

It works. You probably made a mistake in how you assigned the clipboard. Clipboard = ( line 1: blah blah blah.... line2: GOTO Z15 sMile line3: blah blah blah.... line4:blah blah blah ) Clipboard := RegExReplace(Clipboard, "s).*GOTO (\w{2,3} \w+).*", "$1", Count) if Count { RegExMatch(Clipboard, "([...
by ik4u
09 Jul 2020, 10:30
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

Clipboard = ( A bunch of text for demonstration purposes and somewhere in the middle of this text is the pattern GOTO 15K deliciouS to be matched and acted upon by the script ) Clipboard := RegExReplace(Clipboard, "s).*GOTO (\w{2,3} \w+).*", "$1", Count) if Count { RegExMatch(Clipboard, "([a-zA-Z]+...
by ik4u
06 Jul 2020, 14:36
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

boiler wrote:
06 Jul 2020, 14:16
Can you show your script that's not working?
q::
SendEvent, {Click, 904, 261, Left Down}{Click, 350, 500, Left Up}
Sleep, 1
SendInput, ^c
Sleep, 1
Return
by ik4u
06 Jul 2020, 14:12
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

boiler wrote:
06 Jul 2020, 13:27
Are you trying to drag a rectangle and copy the image within that rectangle to the clipboard? Are you doing that within some graphics program where that works manually?
within some graphics (Java Apelet) where it manually works
by ik4u
06 Jul 2020, 13:01
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

How do I script the following case;

mouse left down x,y drag forward to x+300,y and ^c mouse left Up

The scripting seems simple, however not copying to clipboard.
by ik4u
05 Jul 2020, 22:23
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

Clipboard = ( A bunch of text for demonstration purposes and somewhere in the middle of this text is the pattern GOTO 15K deliciouS to be matched and acted upon by the script ) Clipboard := RegExReplace(Clipboard, "s).*GOTO (\w{2,3} \w+).*", "$1", Count) if Count { RegExMatch(Clipboard, "([a-zA-Z]+...
by ik4u
05 Jul 2020, 21:16
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

You’re welcome. I have in clipboard a full page of Alphanumeric text, somewhere in text is a single sequence, "GOTO""space""2/3 alphanumeric/numericalpha""space""any word upperlowecase " examples; GOTO H4 sWeet GOTO 14Z sour GOTO A1 tastR GOTO 15K deliciouS How to script the following case; find se...
by ik4u
29 Jun 2020, 12:49
Forum: Ask For Help
Topic: mouse drag and copy
Replies: 3
Views: 1055

Re: mouse drag and copy

Rohwedder wrote:
29 Jun 2020, 04:13
Hallo,
try:

Code: Select all

q::
MouseClickDrag, L, 475, 300, 900, 300
Send, ^c
Return
(I use Firefox/Chrome Addon: Absolute Enable Right Click & Copy)
Does not work...mouse drags over text correctly but nothing in clipboard
by ik4u
29 Jun 2020, 02:58
Forum: Ask For Help
Topic: mouse drag and copy
Replies: 3
Views: 1055

mouse drag and copy

I need help with following;

I'm trying to copy text from a page that would not allow copy. The workaround to get it copied is ;

mouse left down drag from 475, 300 to 900, 300 (x,y cordinates), whilst mouse left down ^c, then release mouse left up

how to script above
by ik4u
26 Jun 2020, 23:36
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

Then the clipboard didn't really contain that. This script shows a result of 45: Clipboard = ( A2356AA B776AB C0174C DD E5254EEE F12F G1 H9H I7456II ) x := StrLen(RegExReplace(Clipboard, "[`n`r ]")) MsgBox, % x The problem is most likely that you're not waiting until the clipboard has anything in i...
by ik4u
26 Jun 2020, 23:23
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

boiler wrote:
26 Jun 2020, 23:17
What did the MsgBox say x is?
0
by ik4u
26 Jun 2020, 23:10
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

Can you show an example of clipboard contents where it's not working right? I believe you just showed one with which it is working correctly. To help solve the problem, show an example of what's in the clipboard when it's not working right and describe what you want to happen and what actually happ...
by ik4u
26 Jun 2020, 22:20
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

Can you show an example of clipboard contents where it's not working right? I believe you just showed one with which it is working correctly. To help solve the problem, show an example of what's in the clipboard when it's not working right and describe what you want to happen and what actually happ...
by ik4u
26 Jun 2020, 22:12
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

boiler wrote:
26 Jun 2020, 22:02
I don't understand if you're saying something isn't working right, if you're asking a question, or what.
yes, its not working right.
When I remove the case 2 (latter) Clipboard case then she works fine, with latter Clipboard case, she assumes incorrect character counts assuming x<=20
by ik4u
26 Jun 2020, 21:17
Forum: Ask For Help
Topic: clipboard help Topic is solved
Replies: 70
Views: 21709

Re: clipboard help Topic is solved

Also, when you post code, please place it in between this pair of tags: [code][/code] With 2 Clipboard case in script, she assumed x<20 always, which is character count of 2nd Clipboard case2, see code below; BTW Clipboard case 1 is copy of something totally different, example A32A B89X C256C D1D E...

Go to advanced search