Jump to content
Valnurat

Any ideas to catch a pixel

Recommended Posts

Valnurat

Hi.

I have tried to use PixelSearch to find a pixel, but the pixel I'm looking for is changing all the time. Then I tried to use option shade-variation, but then the mouse is jumping to another place. Not even close to where the pixel I'm looking for is located.

Is there some way I can accomplish my task? Any other method I can try that I haven't thought of?


Yours sincerely

Kenneth.

Share this post


Link to post
Share on other sites
Venix

This gives off a slight smell of game automation. :ermm:

Share this post


Link to post
Share on other sites
water

Can you please tell us which program you try to automate?
You have been on the forum long enough to know the forum rules so I assume a valid reason for using PixelSearch :huh:


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Valnurat

Yes, it's true. I have been here for a long time, but that does not make me an Expert.

But i's not a game auto or any kind.

We have at my Company a very old dos app some of our users still use. We are tried of installing it over and over Again. So now my boss want me to find a solution how to install this Automatic and the only idea I have is to do a pixelsearch. 


Yours sincerely

Kenneth.

Share this post


Link to post
Share on other sites
JLogan3o13

Can you please post a screenshot of the installation screens, so we can see what you're after? Is the application a commercial product, something you could convert to an MSI so you can deploy it silently?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Valnurat

Why is this relevant?

This app is for internal view only. I can't make screnshoot of Company material. :ermm:


Yours sincerely

Kenneth.

Share this post


Link to post
Share on other sites
Bert

The idea of making it an MSI package is simply moving forward it will be simple to install. Pixel searching is HORRIBLE when looking for things on a screen. even the slightest change in the screen breaks it.

A second approach is this - what happens when you copy all the installed files from one machine from another? if you can do it and it works - you could just make a zip file that when unzip puts all the files in the right place - shortcut on the desktop, the main running files, and so forth.  For example if I wanted to I could do this for ccleaner. I just put the working directory and the desktop shortcut in a zip file and when I need to install it - I just unzip the file on the local PC in question. Simple.

Share this post


Link to post
Share on other sites
JLogan3o13

Why is this relevant?

This app is for internal view only. I can't make screnshoot of Company material. :ermm:

   ​It's relevant because you're asking for assistance, but don't want to provide any information. It's also relevant because you claim to be installing a dos app, which is unavailable in Windows7 (unless you just don't know what you're talking about and it is a modern app that simply installs through a command line window); this leads to a question of which OS you're trying to install this application on. It's relevant because pixelsearch for an application install is an insanely backward way of doing it, and by giving us an appropriate amount of information we can show you easier and more stable methods. Basically, it is relevant because people are trying to get enough information from you to help you, but it is like pulling teeth.

   Best of luck in your endeavors.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Bert

   ​It's relevant because you're asking for assistance, but don't want to provide any information. It's also relevant because you claim to be installing a dos app, which is unavailable in Windows7 (unless you just don't know what you're talking about and it is a modern app that simply installs through a command line window); this leads to a question of which OS you're trying to install this application on. It's relevant because pixelsearch for an application install is an insanely backward way of doing it, and by giving us an appropriate amount of information we can show you easier and more stable methods. Basically, it is relevant because people are trying to get enough information from you to help you, but it is like pulling teeth.

   Best of luck in your endeavors.

​Well said.

I'll add one more thing - some of us have LOTS of experience in using AutoIt in automating something. When we ask - we have good reasons for asking. I've been using it since 2005. JLogan since 2009. I can speak for him on this. We are experienced. So - if you want help there are ways to answer the questions without letting your company secret out of the bag. Screenshots of the app with text marked out for example. How does the current installer work? have you tried to see if it supports command line? lots of ways to do this.

Share this post


Link to post
Share on other sites
argumentum

well, this is the way a DOS window looks like:
dosWin.thumb.png.a0528f2190678ff76c37251
so, no jump around colors =/

..and I've been around since the days of DRDOS and TPascal :)

Edited by argumentum
add comment

Share this post


Link to post
Share on other sites
iamtheky

What could you possibly be learning from a pixel value that you wouldnt from stdout / stderr?


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites
AndyG

We have at my Company a very old dos app some of our users still use. We are tried of installing it over and over Again. So now my boss want me to find a solution how to install this Automatic .....blah

..and I've been around since the days of DRDOS and TPascal :)

​hmm, and you want to tell us seriously that an old "DOS"-Program needs mouseklicks to install? Really? No shortcuts? Really? No batchfile or installation-routine? Really? And a screenshot of the installation violates trade secrets? Really?

I admire all those other users here replying to such a b***sh**! Really!

 

Share this post


Link to post
Share on other sites
TheDcoder

@argumentum Not sure if its dosbox or colored command prompt :wacko:


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

If I have hurt or offended you in anyway, Please accept my apologies, I never (regardless of the situation) mean to do that to anybody!!!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites
argumentum

@AndyG : what's your anger for ? , the comment was for the OP

@TheDcoder : yes it is just a colored command prompt.

There are command line / DOS / whatever apps that don't output to "stdout / stderr" yet you can see it on the screen ( memory magic writing ? ) and also even those that would work on graphic mode ( tho I doubt they would run in a DOS box )

If I was @Valnurat , I'd OCR the screen but have not seen the OP again and we are all getting red for someone who is not very straight forward.

Share this post


Link to post
Share on other sites
Melba23

Hi,

Can all the wannabee Mods just chill a bit please.  If you have serious suspicions about a post then use the "Report" button to let the Moderation team know about it and we will take a look - continually posting your personal opinions in the thread does nothing other than annoy others, which I am sure is not the intention.

M23

  • Like 1

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
argumentum

@AndyG ,  this app. ( http://www.timingiseverything.com/ELFTREE.HTM )  written for DOS, 4DOS, etc., still runs on XP 32bit, ( I'd have to try other win versions ) and to me was better than any other shell of the time ( PC tools, Norton, etc. ), so, yes, it's possible to must have an app that is a DOS box, ...some MAS90 stuff still now days running from a DOS box.

Share this post


Link to post
Share on other sites
TheDcoder

Wow, I thought DOS's apps cannot be executed on windows

P.S I remember opening exe files with notepad hoping hack the game :P & there will be a small note between the binary characters: 

This program cannot be ran on DOS (or something similar to that)

I done stuff like this when I was 11 (yeah, before 3 years. what an improvement :P)


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

If I have hurt or offended you in anyway, Please accept my apologies, I never (regardless of the situation) mean to do that to anybody!!!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×