Search found 1903 matches

by Xtra
22 Sep 2020, 19:19
Forum: Ask For Help
Topic: Turning a number into a ordenated set of actions
Replies: 2
Views: 107

Re: Turning a number into a ordenated set of actions

Example:

Code: Select all

actions := {2: "{Up}", 6: "{down}", 8: "{Right}", 4: "{Left}"}
action := 2684682

Loop, Parse, action
{
    Send % actions[A_LoopField]
    Sleep 1000
}
by Xtra
18 Sep 2020, 15:06
Forum: Ask For Help
Topic: IE connection issues, asking for opinion Topic is solved
Replies: 6
Views: 127

Re: IE connection issues, asking for opinion Topic is solved

In the error message you can see its missing the % before document.title
by Xtra
18 Sep 2020, 14:42
Forum: Gaming
Topic: Script not repeating itself
Replies: 7
Views: 209

Re: Script not repeating itself

That is not the same script in your original post. See below: #Singleinstance force #persistent Loop { Random, WorkTime, 20, 23 ; seconds minpause:=14 ; seconds maxpause:=15 ; seconds ;;RANDOM VARIABLES;;, ;;ITEM AND HIGH ALCH;; Random x1, 730, 735 Random y1, 285, 289 ;;RANDOM SLEEPS;; Random a150, ...
by Xtra
18 Sep 2020, 13:45
Forum: Gaming
Topic: Script not repeating itself
Replies: 7
Views: 209

Re: Script not repeating itself

Code: Select all

return

}
should be:

Code: Select all

}

return
by Xtra
18 Sep 2020, 12:23
Forum: Ask For Help
Topic: IE connection issues, asking for opinion Topic is solved
Replies: 6
Views: 127

Re: IE connection issues, asking for opinion Topic is solved

Msgbox, % document.title "`r`n" pwb.document.url
should be:
Msgbox, % pwb.document.title "`r`n" pwb.document.url

?

HTH
by Xtra
18 Sep 2020, 01:52
Forum: Ask For Help
Topic: Obtain information from html Topic is solved
Replies: 8
Views: 235

Re: Obtain information in javascript Topic is solved

#NoEnv html_code = (% <html> <head> <title>xyzxyzxyzxyz</title> <meta http-equiv="Content-Type" content="text/html; charset=GBK"> <link rel="stylesheet" href="/aic/skins/1//style.css" type="text/css"> </head> <body> <table cellspacing=0 cellpadding=0 width="750" border=0 align=center> <tr height="2...
by Xtra
16 Sep 2020, 10:31
Forum: Ask For Help
Topic: Format List of Numbers
Replies: 5
Views: 146

Re: Format List of Numbers

Code: Select all

numbers := [1,2,3]
for each, num in numbers
    Send % Format((A_Index=1 ? "" : "`t`t")"{:.3f}", num)
by Xtra
15 Sep 2020, 18:10
Forum: Gaming
Topic: This is as far as I've gotten Topic is solved
Replies: 2
Views: 122

Re: This is as far as I've gotten Topic is solved

#IfWinActive, ahk_class ;InsertGameHere #SingleInstance force !F11::Pause ~Rbutton:: SetTimer, Combat, 3000 inCombat := true return ~Rbutton up:: SetTimer, Combat, Off inCombat := false return Combat: FirstPot := 3500 SecondPot := 4300 ThirdPot := 4900 random, delay, -99, 99 if (inCombat) { SendInp...
by Xtra
07 Sep 2020, 23:45
Forum: Ask For Help
Topic: transparent windows in screen-shots
Replies: 19
Views: 1881

Re: transparent windows in screen-shots

easy fix = filepath := "C:\Documents and Settings\Administrator\Desktop\scr-ss\"
it does not help
You need to edit your code of course.
by Xtra
07 Sep 2020, 21:01
Forum: Ask For Help
Topic: transparent windows in screen-shots
Replies: 19
Views: 1881

Re: transparent windows in screen-shots

try using:

Code: Select all

raster := 0x40000000 | 0x00CC0020
pBitmap := Gdip_BitmapFromScreen(0, raster)
by Xtra
07 Sep 2020, 13:08
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4402
Views: 1050802

Re: « What's on your mind? »

lol @ @tidbit
by Xtra
07 Sep 2020, 11:35
Forum: Gaming
Topic: How to make a script, that keeps typing 0000 - 9999 with a delay of 3 second between each number?
Replies: 7
Views: 355

Re: How to make a script, that keeps typing 0000 - 9999 with a delay of 3 second between each number?

Hint: this has been posted and done many times before search for it. (old forum too)

Have fun
by Xtra
04 Sep 2020, 10:31
Forum: Ask For Help
Topic: Translate from C# to AHK complicated?
Replies: 6
Views: 208

Re: Translate from C# to AHK complicated?

Albireo wrote:
04 Sep 2020, 07:31
If I do not manage to translate PDF to text (by myself) with reliable results.
If you open the PDF and the text can be selected (contents not an image) and copy paste text out of the PDF then PDF2Text tool will work and be reliable.
by Xtra
03 Sep 2020, 18:29
Forum: Ask For Help
Topic: GDIP Draw on Different Monitor
Replies: 2
Views: 56

Re: GDIP Draw on Different Monitor

Use the image found coords from Imagesearch + image width and height = rect to draw.
Use the monitor coords not A_ScreenWidth + A_ScreenHeight See: SysGet
CoordMode, Pixel, Screen

HTH
by Xtra
02 Sep 2020, 13:05
Forum: Ask For Help
Topic: finding a number in a string Topic is solved
Replies: 4
Views: 76

Re: finding a number in a string Topic is solved

Code: Select all

linestring := "Re: 123 - information on 22897654"
RegExMatch(linestring, "\d{8}", match)		;Get only the 8 digits from a string
MsgBox, % match

by Xtra
02 Sep 2020, 12:51
Forum: Gaming
Topic: 8-button mouse
Replies: 3
Views: 90

Re: 8-button mouse

Open Notepad and press the keys to see if they are normal keyboard keys.
Razer uses numpad number keys as an example.
by Xtra
02 Sep 2020, 11:37
Forum: Gaming
Topic: Clicking a random pixel based on color? Topic is solved
Replies: 1
Views: 34

Re: Clicking a random pixel based on color? Topic is solved

Example:

Code: Select all

#NoEnv
CoordMode, Pixel, Screen
CoordMode, Mouse, Screen

PixelSearch, Px, Py, 200, 200, 300, 300, 0x9d6346, 3, Fast
if (ErrorLevel = 0)
    AreaRandomClick(200,200,300,300)

AreaRandomClick(X1,Y1,X2,Y2) {
    Random, x, X1, X2
    Random, y, Y1, Y2
    MouseClick, Left, x, y
}

Go to advanced search