Search found 24 matches

by IanSmith
Wed Nov 23, 2005 10:37 am
Forum: Technical / Scripting
Topic: Minimise all windows
Replies: 5
Views: 6355

Minimise all windows

Hi all,

I can't believe I haven't found this already, but I need to minimise all windows at the start of a script. I've tried WIN>2,* but it didn't like the wildcard for the window names.

Any comments would be appreciated :)

Thanks, Ian
by IanSmith
Wed Nov 23, 2005 10:30 am
Forum: Technical / Scripting
Topic: Running a script on all files in a Directory
Replies: 5
Views: 6654

I've been using a slightly easier (to me) method for this, by piping a DIR command into a text file. Try this: run>cmd.exe /c dir /b *.jpg > c:\temp\filelist.txt filelist.txt now contains a list of the files which can be scanned using readln. The /b switch for dir returns only the file name without ...
by IanSmith
Mon Oct 31, 2005 4:22 pm
Forum: Technical / Scripting
Topic: Help With Obtaining An IP Address
Replies: 9
Views: 11351

This is off the top of my head, so it might need some checking:

pos>,%HTMLResponse%,77,IPend
let>iplength=%IPend%-77
MidStr>%HTMLResponse%,77,%iplength%,IPAddress

You might have to add one or two to the variables, but it should be close.

Hope that helps,

Ian
by IanSmith
Mon Sep 19, 2005 2:18 pm
Forum: Technical / Scripting
Topic: Help Please
Replies: 15
Views: 17535

Jonno, Bob has given you the logic you need to solve your problem, but to be honest I think you would better spend your time learning how to play the game properly... In answer to your last question, I don't think anyone here will be able to help you (or, as it seems you are asking, code a complete ...
by IanSmith
Wed Aug 31, 2005 11:54 am
Forum: Technical / Scripting
Topic: The certificate store
Replies: 1
Views: 2791

The certificate store

Hello everyone, here's a bizzarre one; It concerns the Certificates Store in IE: normally to get to this I would use RunProgram>rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,3 followed by wait>0.01 press alt send>c release alt to open the Certificates window. Here's the question. I need to be...
by IanSmith
Tue Aug 09, 2005 10:12 am
Forum: Technical / Scripting
Topic: Detecting a user's domain
Replies: 2
Views: 3817

That is _exactly_ what I wanted :)

Eye thangoo,

Ian
by IanSmith
Tue Aug 09, 2005 9:20 am
Forum: Technical / Scripting
Topic: Detecting a user's domain
Replies: 2
Views: 3817

Detecting a user's domain

Hello all,

A question; I need to determine a user's domain through a script. I'm scoobied. If anyone knows of some bizarre undocumented command that would provide this information, I'd be delerious with joy and gratitude...

Thanks, Ian
by IanSmith
Tue Aug 02, 2005 10:42 am
Forum: Technical / Scripting
Topic: WaitWindowChanged - What does it do?
Replies: 6
Views: 7144

WaitWindowChanged does not look at the contents of the window, but which window has focus. The Foreground window is the one with the dark blue title bar at the top (in a default colour scheme), and is the active window for all input. Waitwindowchanged will return a true once the focus has been moved...
by IanSmith
Tue Jul 12, 2005 2:41 pm
Forum: Enhancement Suggestions
Topic: Breaking the loop
Replies: 1
Views: 6821

Breaking the loop

Hello all, One thing that would be very helpful is a method to stop a script when a Modal Message is displayed. Several times when debugging a script I used MDLs to keep track of where I was, and sometimes I ended up in a loop from which there was no escape. The only way I found I could break out of...
Sign up to our newsletter for free automation tips, tricks & discounts