Register for your free account! | Forgot your password?

Go Back   elitepvpers › Search Forums
You last visited: Today at 01:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Showing results 1 to 25 of 200
Search took 0.04 seconds; generated 22 minute(s) ago.
Search: Posts Made By: lolkop
Forum: AutoIt 05/16/2019, 15:03
Replies: 2
Views: 1,159
Posted By lolkop
Würde bei kleineren Dateien immer dazu raten,...

Würde bei kleineren Dateien immer dazu raten, diese einmalig einzulesen und anschließend aus dem Speicher heraus zu nutzen.

Die Arbeit direkt im Arbeitsspeicher beschleunigt die Aktionen...
Forum: AutoIt 08/14/2016, 23:36
Replies: 2
Views: 717
Posted By lolkop
Schau dir mal die "Random" Funktion an.

Schau dir mal die "Random" Funktion an.
Forum: AutoIt 06/12/2016, 10:18
Replies: 4
Views: 1,168
Posted By lolkop
Versuchs mal hiermit: While Sleep(500) ...

Versuchs mal hiermit:

While Sleep(500)
ControlClick('Trial', '', '[NAME:btnContinueTrial]')
WEnd
Forum: AutoIt 02/23/2016, 17:01
Replies: 10
Views: 1,013
Posted By lolkop
Arrays sollten immer Stringfunktionen gegenüber...

Arrays sollten immer Stringfunktionen gegenüber bevorzugt werden. Es gibt kein Argument was gegen Arrays spricht.

Hast du einen kurzen oder auch sehr langen String den du verarbeiten willst,...
Forum: AutoIt 08/14/2015, 09:04
Replies: 22
Views: 1,882
Posted By lolkop
That should be really easy. Just build a regular...

That should be really easy. Just build a regular expression, that reads in all item data at once, parse it, and build an interface around it...

Should be done in a few lines of code.

Edit:...
Forum: AutoIt 08/13/2015, 14:08
Replies: 22
Views: 1,882
Posted By lolkop
StringRegExp returns all matches in an array. So...

StringRegExp returns all matches in an array. So you can loop through it, to add stuff to your GUI:


$matches = StringRegExp(FileRead('ItemTemplateAll1.ini'), "[1]=("&InputBox("Search for",...
Forum: AutoIt 08/13/2015, 12:50
Replies: 22
Views: 1,882
Posted By lolkop
The code example i've posted is looking for every...

The code example i've posted is looking for every thing, containing your input...

If you want exact matches, simply remove the wildcards <.<


#include <array.au3>...
Forum: AutoIt 08/12/2015, 15:03
Replies: 22
Views: 1,882
Posted By lolkop
Working in memory is allways better, than working...

Working in memory is allways better, than working in the filesystem (Memory>HDD). Even when you're working with files, larger than your physical memory, you should try to read as big as possible...
Forum: AutoIt 08/12/2015, 14:01
Replies: 22
Views: 1,882
Posted By lolkop
Using *.ini files for lots of data, is a realy...

Using *.ini files for lots of data, is a realy bad idea. Better use normal files, or even a database.

When using normal files, regular expressions are the best way to go.

Here's a simple...
Forum: AutoIt 07/30/2015, 17:10
Replies: 12
Views: 1,094
Posted By lolkop
Von was genau reden wir denn hier? In einer...

Von was genau reden wir denn hier? In einer normalen Windows Anwendung ist das nutzen interner Funktionen tasächlich sehr einfach. Sobald es um Webapplikationen geht, ist das ganze schon etwas...
Forum: AutoIt 07/25/2015, 21:38
Replies: 7
Views: 3,023
Posted By lolkop
Auch TCP bzw. UDP sollte kein Porblem darstellen....

Auch TCP bzw. UDP sollte kein Porblem darstellen. Request senden und in der Main-Loop auf vollständige Antwort warten =)

Die GUI kann nebnbei problemlos, fleißig weiter mit abgefragt werden.
...
Forum: AutoIt 07/25/2015, 20:24
Replies: 7
Views: 3,023
Posted By lolkop
Das ist natürlich die sauberere Lösung =) Hatte...

Das ist natürlich die sauberere Lösung =)
Hatte mir das was da im Hintergrund passieren soll, garnicht näher angeschaut =P
Forum: AutoIt 07/25/2015, 18:20
Replies: 7
Views: 3,023
Posted By lolkop
Du kannst dir einfach einen Zustand definieren,...

Du kannst dir einfach einen Zustand definieren, welchen du über Buttons ändern kannst:

Dim $run
While True
Switch GUIGetMsg()
Case -3
Exit
Case $start, $stop
$run = Not $run
...
Forum: AutoIt 07/23/2015, 11:35
Replies: 4
Views: 691
Posted By lolkop
Pixelbasiert kannst du doch einfach nach allen...

Pixelbasiert kannst du doch einfach nach allen Farben suchen, die nicht im Hintergrund vorkommen. Das sollte relativ leicht sein.
Forum: AutoIt 07/21/2015, 15:43
Replies: 4
Views: 691
Posted By lolkop
Sofern dein Objekt immer gleich groß ist, kannst...

Sofern dein Objekt immer gleich groß ist, kannst du dir z.B. mit PixelGetColor was eigenes basteln.

Die Frage ist ja, was genau willst du denn machen? Willst du ein Bild auslesen? Auf dem Desktop...
Forum: AutoIt 07/20/2015, 22:01
Replies: 6
Views: 954
Posted By lolkop
$gui = GUICreate('GUI', 200, 200, Default,...

$gui = GUICreate('GUI', 200, 200, Default, Default, 0x10C80000)
$button = GUICtrlCreateButton('Button', 10, 10, 100, 20)
$pos = WinGetPos(ControlGetHandle($gui, '', $button))
ConsoleWrite('Button...
Forum: AutoIt 07/20/2015, 18:14
Replies: 6
Views: 954
Posted By lolkop
Du kannst doch die Position deiner GUI auslesen...

Du kannst doch die Position deiner GUI auslesen und hast die Position des IE in deiner GUI...

Daraus nun die Gesamtposition des IE Teils berechnen ist wohl kein Hexenwerk :P
Forum: AutoIt 07/20/2015, 15:57
Replies: 3
Views: 1,196
Posted By lolkop
Das ist bezüglich der Frage des TS hier...

Das ist bezüglich der Frage des TS hier irrelevant.

Abgesehen davon, kann jeder Launcher von Personen, die wissen, was sie tun, leicht umgangen werden. Die Parameter Methode bietet hier eine...
Forum: AutoIt 07/19/2015, 11:45
Replies: 3
Views: 1,196
Posted By lolkop
Am Besten, fragst du die möglichen Parameter vom...

Am Besten, fragst du die möglichen Parameter vom Launcher am Anfang einfach ab.

Beispiel:

If $CmdLine[0] <> 1 Or $CmdLine[1] <> 'vbLauncher' Then
MsgBox(0, 'Error', 'Please use the included...
Forum: AutoIt 07/16/2015, 22:55
Replies: 6
Views: 786
Posted By lolkop
Es wurde einfach die Arraydeklaration an der...

Es wurde einfach die Arraydeklaration an der falschen Stelle eingesetzt. Ein durchaus nicht unüblicher Fehler in der Anfangszeit...

Korrigiert könnte das ganze z.B. so aussehen:

#include...
Forum: AutoIt 07/11/2015, 16:15
Replies: 3
Views: 583
Posted By lolkop
You might just put that script into a loop: ...

You might just put that script into a loop:

While True
$coord = PixelSearch( @DesktopWidth/100*35, @DesktopHeight/100*35, @DesktopWidth/100*65, @DesktopHeight/100*65, 0x2E4C76 )
If Not...
Forum: AutoIt 06/24/2015, 16:41
Replies: 9
Views: 751
Posted By lolkop
Well that's up to you. Coding/scripting...

Well that's up to you.

Coding/scripting wouldn't be fun (or even necessary), if there were no problems to solve :P
Forum: AutoIt 06/23/2015, 23:21
Replies: 9
Views: 751
Posted By lolkop
Like I said, before... adlib interrups the script...

Like I said, before... adlib interrups the script while it executes it's function.

The "extra function in this case will get executed every 120seconds no matter what's currently going on in your...
Forum: AutoIt 06/23/2015, 22:09
Replies: 9
Views: 751
Posted By lolkop
Just add this on top of your script... ...

Just add this on top of your script...

AdlibRegister('extra', 120000)
Func extra()
MouseClick('left', 1, 1)
MouseClick('left', 100, 100)
EndFunc

It'll call the "extra" function every...
Forum: AutoIt 06/23/2015, 18:01
Replies: 9
Views: 751
Posted By lolkop
I guess he's actually not trying to suspend any...

I guess he's actually not trying to suspend any other scripts^^ Instead he's trying to do some actions every x seconds.

In that case, you might take a look @ the AdlibRegister function. That...
Showing results 1 to 25 of 200

 
Forum Jump

All times are GMT +1. The time now is 01:36.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.