Search found 83 matches

by Warren
Tue Oct 24, 2017 10:01 pm
Forum: Technical / Scripting
Topic: Improve Task Manager script (no image recognition, etc.)
Replies: 18
Views: 50277

Re: Improve Task Manager script (no image recognition, etc.)

I don't have a shared drive currently. I'm entering a transition. I've been working with 100 machines personally with no automation except imacros browser addon. It's gotten to the point where it's no longer practical, and I'm clear that I ultimately need a centrally managed end-to-end workflow. I'd...
by Warren
Tue Oct 24, 2017 7:26 pm
Forum: Technical / Scripting
Topic: Improve Task Manager script (no image recognition, etc.)
Replies: 18
Views: 50277

Re: Improve Task Manager script (no image recognition, etc.)

I'll look into the parallel part when I get to that point. Just trying to get a concept of where the script fits in to the bigger picture at the moment. "Chrome" is the term YouTube uses to describe everything you see but the video itself, so a "Chromeless" player is one that has no visible windowfr...
by Warren
Tue Oct 24, 2017 4:07 pm
Forum: General Discussion
Topic: Dealing with dynamic window names
Replies: 6
Views: 6464

Re: Dealing with dynamic window names

OK, thx. I've been digging into it a bit, and gets the initial read right, then gets confused once anything changes. If I launch a browser window with 5 tabs, it will select and name each tab, and state that each belongs to Browser 1. So far, so good, but if I then when prompted to create a new brow...
by Warren
Mon Oct 23, 2017 10:23 pm
Forum: Technical / Scripting
Topic: Improve Task Manager script (no image recognition, etc.)
Replies: 18
Views: 50277

Re: Improve Task Manager script (no image recognition, etc.)

The percentages were inverses (showing available instead of used. I boiled it down to what I'm looking for which is just whole number ram and cpu totals that are color coded and visible from space. It probably still needs some cleaning up as I was just concentrating on dialing in the bits that didn'...
by Warren
Mon Oct 23, 2017 7:57 pm
Forum: Technical / Scripting
Topic: Improve Task Manager script (no image recognition, etc.)
Replies: 18
Views: 50277

Re: Improve Task Manager script (no image recognition, etc.)

Appreciated. The ram is a little easier because it generally only goes up until something is closed. Some of the sites I'm on don't handle ram well, and leak over time. If it's over 85%, something is likely wrong, and time to reboot the system which then retriggers the script which relaunches the br...
by Warren
Mon Oct 23, 2017 1:59 pm
Forum: General Discussion
Topic: Read/write .csv where individual field contains a comma
Replies: 1
Views: 2804

Read/write .csv where individual field contains a comma

I just realized I've backed myself into a corner where I"m reading and writing from csv, but now that I've created 100 of the csv's, I realized a few of them have a field that contains a comma. What's the best resolution? Is there a convention like encasing the field in special characters like {"......
by Warren
Sun Oct 22, 2017 11:53 pm
Forum: General Discussion
Topic: Dealing with dynamic window names
Replies: 6
Views: 6464

Re: Dealing with dynamic window names

Hi Warren, Here is something i've come up with. Hope it helps with part of your solution :) To test it, open a few browser windows with multiple tabs for each one. That definitely works for identifying the tabs and keeping the different windows distinct. It's a lot to go through, so still parsing s...
by Warren
Sun Oct 22, 2017 10:28 pm
Forum: Technical / Scripting
Topic: IF within SRT / ENDIF after GoSub>
Replies: 2
Views: 2038

Re: IF within SRT / ENDIF after GoSub>

Yeah, it does work, and in some ways makes things quicker and easier since I don't need to look up the variables involved or what their expected values are to form the IF statement, BUT.... ... after dropping a few of these into much larger scripts with dozens of other iF statements, I've decided ag...
by Warren
Sun Oct 22, 2017 8:01 pm
Forum: Technical / Scripting
Topic: IF within SRT / ENDIF after GoSub>
Replies: 2
Views: 2038

IF within SRT / ENDIF after GoSub>

For a basic function that checks to see if a UI element exists, I could do this: SRT>ifElement Let>elementName=ifElement_var_1 Let>windowName=ifElement_var_2 UIPos>windowName,elementName,elementPOS END>ifElement GoSub>ifElement,elementName,windowName IF>elementPos<>{""} DO SOMETHING ENDIF While that...
by Warren
Sun Oct 22, 2017 7:13 pm
Forum: Technical / Scripting
Topic: Improve Task Manager script (no image recognition, etc.)
Replies: 18
Views: 50277

Re: Improve Task Manager script (no image recognition, etc.)

Wondering why you are wanting to automate task manager? You can get all the details of task manager programmatically. Not sure I can answer all your points. 1. Maybe use the API function SetWindowPos instead to make it on top anyway. 2. Can't you just set the width of the window with ResizeWindow 3...
by Warren
Sat Oct 21, 2017 11:36 pm
Forum: Technical / Scripting
Topic: Improve Task Manager script (no image recognition, etc.)
Replies: 18
Views: 50277

Improve Task Manager script (no image recognition, etc.)

I've got a working script to open the task manager, show details, force it on top, resize it, and scroll to show only the memory and cpu columns, but I'm trying to develop some best practices, so there are a few things about it I'd like to analyze. Here is current script: //Open Task Manager, and sh...
by Warren
Sat Oct 21, 2017 10:15 pm
Forum: General Discussion
Topic: Go to first tabable item in window
Replies: 1
Views: 2677

Go to first tabable item in window

While I see how in both Windows and Chrome to tab forward or backward through elements on a page, what I don't see anywhere is how to reset to a fixed point of reference (like the first item on the page that can be tabbed) in case I've already interacted with the page, and am not sure which item it'...
by Warren
Sat Oct 21, 2017 10:01 pm
Forum: General Discussion
Topic: Can't Press %var% where var=Enter
Replies: 1
Views: 3136

Can't Press %var% where var=Enter

Trying to create a larger subroutine where it tabs a user defined number of times, then presses a given keyboard command (Enter, space, etc) The issue I'm having is that I can't get any version of the following to work: Let>userWord=Enter Press userWord I've tried with every combination of %userWord...
by Warren
Sat Oct 21, 2017 4:03 am
Forum: General Discussion
Topic: Terminology for accessing elements in an app
Replies: 1
Views: 2701

Terminology for accessing elements in an app

I'm using an app (Multiloginapp) that reveals nothing except the window min,max,close via UIAccessibleList. I'm getting errors sometimes when trying to use image recognition. I can use tabs for some things, but number of tabs changes depending on certain factors. Devs are responsive, and I know they...
by Warren
Fri Oct 20, 2017 2:42 am
Forum: General Discussion
Topic: Dealing with dynamic window names
Replies: 6
Views: 6464

Dealing with dynamic window names

I've mentioned this in passing before, but it's becoming a pervasive issue, so I want to nail it down once and for all. Basically, situation is the following: Each machine has multiple chrome (custom chromium) windows open simultaneously, and each of those has multiple active tabs. Every piece of th...
Sign up to our newsletter for free automation tips, tricks & discounts