Search found 97 matches

by Trigg
09 May 2017, 13:36
Forum: Ask For Help
Topic: Pasting number without comma
Replies: 9
Views: 1729

Re: Pasting number without comma

Now if I have this in the clipboard: "Invoice Total: $2,500.00" How do I remove the comma and the text just to leave "2500.00" in the clipboard? I've looked into StringReplace, but I can't understand it :( Did more research. Got this and I think it works... Clipboard := RegExReplace(Clipboard, "[^0-...
by Trigg
08 May 2017, 14:28
Forum: Ask For Help
Topic: Clipboard help
Replies: 2
Views: 560

Clipboard help

Okay. I'm having clipboard trouble guys. It's a little hard to explain what I'm asking for, but here goes. Whenever I have any of these letters/numbers copied, I want them to go to certain lines to copy a name. In the end, I want the letters to all eventually go to Contractor, and all the numbers to...
by Trigg
08 May 2017, 08:53
Forum: Ask For Help
Topic: MouseMove from color to color on X-axis
Replies: 8
Views: 1284

Re: MouseMove from color to color on X-axis

So what I understand is you want the to: - Find selection color; - Move mouse to selection; - Move mouse left; - Check mouse is above the radio (via color check); - Move mouse left again ... This could just be what you wanted. Let me know how it works. PixelSearch, Px, Py, 280, 300, 1740, 1000, 0x3...
by Trigg
05 May 2017, 07:40
Forum: Ask For Help
Topic: MouseMove from color to color on X-axis
Replies: 8
Views: 1284

Re: MouseMove from color to color on X-axis

Trigg, you are right, I forgot to state a Return after the first part. This should do it. PixelSearch, Px, Py, 280, 300, 1740, 1000, 0x3296FF, 0, Fast MouseMove, %Px%, %Py% Sleep, 50 { ;GoSub, LabelMoveTheMouse ; Script 2 hotkey, waits till execution of the label is finished. ; == OR == Try one of ...
by Trigg
04 May 2017, 15:48
Forum: Ask For Help
Topic: MouseMove from color to color on X-axis
Replies: 8
Views: 1284

Re: MouseMove from color to color on X-axis

Combining the scrips is possible with either GoSub, which waits untill the label is done executing or SetTimer, which creates a new running thread. PixelSearch, Px, Py, 280, 300, 1740, 1000, 0x3296FF, 0, Fast MouseMove, %Px%, %Py% Sleep, 50 { GoSub, LabelMoveTheMouse ; Script 2 hotkey, waits till e...
by Trigg
04 May 2017, 12:58
Forum: Ask For Help
Topic: MouseMove from color to color on X-axis
Replies: 8
Views: 1284

Re: MouseMove from color to color on X-axis

Script 1: PixelSearch, Px, Py, 280, 300, 1740, 1000, 0x3296FF, 0, Fast MouseMove, %Px%, %Py% Sleep, 50 { Send, {\} ; Script 2 hotkey Label9000: MouseGetPos X, Y PixelGetColor, Color, %X%, %Y%, RGB { If (Color = 0xE0E0E0, 1, Fast) { MouseClick, left MouseClick, left MouseClick, left Goto, MyLabel500 ...
by Trigg
04 May 2017, 12:55
Forum: Ask For Help
Topic: Pasting number without comma
Replies: 9
Views: 1729

Re: Pasting number without comma

Thanks guys! I really needed the help. You guys are awesome.
by Trigg
04 May 2017, 09:19
Forum: Ask For Help
Topic: Pasting number without comma
Replies: 9
Views: 1729

Pasting number without comma

Is it possible to remove a comma from your clipboard?
Say I have copied the number: 1,300
Could I paste it as 1300?
by Trigg
03 May 2017, 09:22
Forum: Ask For Help
Topic: MouseMove from color to color on X-axis
Replies: 8
Views: 1284

MouseMove from color to color on X-axis

PixelSearch, Px, Py, 290, 300, 1830, 985, 0x3296FF, 0, Fast MouseMove, %Px%, %Py% ;moves to the color Sleep, 50 MouseMove, 1000, 8, 20, R ; moves right after it detects the color Sleep, 50 PixelGetColor, color, 0xE0E0E0, 5, Fast ; this is where I'm stumped. MouseClick, left, color ; and here too Wh...
by Trigg
01 May 2017, 15:06
Forum: Ask For Help
Topic: PixelSearch question
Replies: 1
Views: 369

PixelSearch question

I have no idea how to get the mouse to move to the right side of a color rather than the left side of it. Any ideas?

Code: Select all

PixelSearch, Px, Py, 650, 187, 1446, 812, 0x3296FF, 0, Fast
   MouseMove, %Px%, %Py%

Thanks!
by Trigg
26 Apr 2017, 13:41
Forum: Ask For Help
Topic: PixelSearch help
Replies: 1
Views: 565

PixelSearch help

What I am trying to do is PixelSearch an orange color, and within the X,Y axis from where my current mouse position is I want it to find a certain color grey within the second PixelSearch coordinates. /:: Send, {F3} Sleep, 150 Send, google{ESC} Sleep, 100 ;first pixel search coords PixelSearch, Px, ...
by Trigg
20 Apr 2017, 14:57
Forum: Ask For Help
Topic: Clicking from current mouse location
Replies: 2
Views: 494

Re: Clicking from current mouse location

Hi, See MouseClick command - especially the seventh parameter - documentation: If this parameter is the letter R, the X and Y coordinates will be treated as offsets from the current mouse position. In other words, the cursor will be moved from its current position by X pixels to the right (left if ...
by Trigg
20 Apr 2017, 13:16
Forum: Ask For Help
Topic: Clicking from current mouse location
Replies: 2
Views: 494

Clicking from current mouse location

How do I add the X, Y cords to click from my current mouse location? If you hit F3 (on Google Chrome) and type letters in the color 0x3296FF will show up. /:: PixelSearch, Px, Py, 277, 288, 1835, 1012, 0x3296FF, 0, Fast MouseMove, %Px%, %Py% click, ; I want to click exactly from X + 720, Y +10 Sleep...
by Trigg
17 Apr 2017, 10:24
Forum: Ask For Help
Topic: PixelGetColor loop/sleep
Replies: 1
Views: 464

PixelGetColor loop/sleep

^6:: Send, {F3}Exit{ESC} Sleep, 100 Send, {ENTER} Loop { WinGetPos, X, Y, Width, Height, Innovation X := X + 237 Y := Y + 150 PixelGetColor, OutputVar, %X%, %Y%, RGB If(%OutputVar% != 0xFFFFFF){ break } Else { Sleep, 100 } } MouseClick, left, 874, 605 When the pixel at 237, 150 is white I want the ...
by Trigg
07 Apr 2017, 21:22
Forum: Ask For Help
Topic: Tomorrow (excluding weekend)
Replies: 5
Views: 913

Re: Tomorrow (excluding weekend)

I meant it to be in addition to what you already do, and you took out your own formatting to MM/dd/yyyy. I was really just trying to suggest the possibility of that working. Here is your whole thing with my addition, and in my tests it works for today it put 04/10/2017 , and when I put my clock bac...
by Trigg
07 Apr 2017, 20:54
Forum: Ask For Help
Topic: Tomorrow (excluding weekend)
Replies: 5
Views: 913

Re: Tomorrow (excluding weekend)

[quote="Nightwolf85"]How about something like: [code]FormatTime, weekDay, %today%, dddd :R*?:dd0:: ; today's date FormatTime, CurrentDateTime,, MM/dd/yyyy SendInput %CurrentDateTime% Sleep, 100 SendInput {ENTER} FormatTime, weekDay, %today%, dddd IF (weekDay = "Friday") today += +3, days Else today ...
by Trigg
07 Apr 2017, 19:52
Forum: Ask For Help
Topic: Tomorrow (excluding weekend)
Replies: 5
Views: 913

Tomorrow (excluding weekend)

Hey guys, I'm a total nerd trying to code my first small project - My job consists of tedious and repetitive data entry where I need to consistently type in today's date and tomorrows date... Now the problem is if it is Friday I must use Monday's date so this code only works on Monday-Thursday. Plea...

Go to advanced search