Jump to content

Is there a command like...


Info
 Share

Recommended Posts

are you looking to see if the file exists?

for $loop = 1 to 10

If FileExists("picturename" & [$loop] & ".bmp") Then .....

.....

Wallpaper Rotatorwith overlay, Loop through a folder of wallpaper & another of overlay, then create a combined image and set it as the wallpaperE-Mail passthru, Send any file, even executables via e-mail as plain text. The recipient can then later re-construct them.Slideshow widget, A slideshow widget similar to the Vista onePredictive typing using the Numpad, Predictive typing using the numpad of a keyboar similar to that on a mobile phone (the key is the .t16 file).PSTools Front End, For Remote Admin. Just makes life a lot easier (Demonstrates executing external programs and passing parameters, tabbed form Handling STDIN/STDERR)FTP Helper application Up and Download files from an FTP server demonstrates this and Tooltray TipsShow a Map of your Post-codes/Zip Codes, Uses the Clipboard, Hotkeys, the system tray (incl. menus)Disc/CD/DVD Catalogue, Ideal for all those Covermount Discs (Demonstrates Array handling, executing DOS programs, handling STDIN/STDOUT recursive directory reads, file searching.)YAST , Yet another Stopwatch/Timer (Uses a hotkey, Copies to clipboard, handles multiple events and stays on top)Keyboard Status Indicator , Indicates status of NumLock, Caps Lock and Scroll Lock Keys, demonstrates API calling & System tray Icon Toggling
Link to comment
Share on other sites

  • 2 weeks later...

I there a command that do somthing like this?:

"If see Picture ( "File Name" [Picture]) then ......."

hope you understand me.

Would depend how you areseeing the picture. If in Paint (or equivalent), then you'd need to ask Paint what file is open. If in explorer, you'd need to inspect the HTML. etc. etc.
Link to comment
Share on other sites

i think he meant like if the drawing of an apple appears, then u click it or something

My own pocket emo http://www.mindistortion.net/pocketemo/?da...1-7-2-0-0-1-0-0LOL[quote name='beerman' post='399180' date='Sep 6 2007, 08:45 AM']I have learned, never think inside the box. The moment you have a bright idea, and stand up to quickly exclaiming, "Eureka, I have it!". You will knock yourself out, from bashing your head on the inside of the box as you stand... So in conclusion it is always safer to think outside the box. :)[/quote]

Link to comment
Share on other sites

I think LazyCat wrote a UDF that will let you read pixel colors of a file without showing it on screen (I think someone used it in the Ascii Art thread in Examples, but I don't have a link to either right now), so you could potentially use that to read the first 'x' number of pixels (or better yet, 'x' number of random pixels scattered throughout the file), then PixelSearch() the screen to get all the pixels on screen whose colors are the same as your first pixel. These would all then be possible matches of the picture you're looking for.

Then, at each of these possibilities, run PixelGetColor() on the pixels in the same relative position as the ones you're spot-checking for, and if they're all the same on the screen and in the file, you can assume that you're seeing that picture on the screen. Of course, that would only work if you're searching for it as a non-modified image (that is, 'flat' rather than on a wall in a 3-d game (perspective), or shrunk or stretched...)

Just thinking out loud...

(and you wouldn't want to do this in Vista w/o disabling desktop composition first...sloooooow)

"There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...