Search found 3455 matches

by JRL
Tue May 24, 2005 6:18 pm
Forum: Technical / Scripting
Topic: How to open a child window?
Replies: 26
Views: 27028

Try changing the WF_TYPE to 2 and see if that helps. From the Macro Scheduler help for WindowAction:

Let>WF_TYPE=0 - No Child Windows
Let>WF_TYPE=1 - ALL Windows (Default)
Let>WF_TYPE=2 - Visible Windows Only
Let>WF_TYPE=3 - Child Windows Only


Dick
by JRL
Tue May 24, 2005 5:25 pm
Forum: Technical / Scripting
Topic: How to open a child window?
Replies: 26
Views: 27028

Have you tried using the WF_TYPE variable? Setting WF_TYPE to 3 should only close child windows.

IfWindowOpen>xxx,xclose,xopen

Label>xclose
Let>WF_TYPE=3
WindowAction>3,xxx
by JRL
Tue May 24, 2005 4:38 pm
Forum: Technical / Scripting
Topic: navigating to a location in a tree view correctly
Replies: 7
Views: 9877

If you alter your batch file by placing a file name at the end of the line: start c:\tools\mfi\mfitool.exe [filename] you can open one file and it might also affect the result of "File" "Open" Another thought. Is there possibly a way to change the default directory? For Example in Microsoft Excel yo...
by JRL
Tue May 24, 2005 4:26 pm
Forum: Technical / Scripting
Topic: How to open a child window?
Replies: 26
Views: 27028

Am I misunderstanding or is there an application window that has a number of windows open within it? Something like having multiple document files open in Word. Is there a "Window" menu item that might contain a list of open windows within the xxx application window? Will Alt + F4 close those window...
by JRL
Tue May 24, 2005 4:13 pm
Forum: Technical / Scripting
Topic: navigating to a location in a tree view correctly
Replies: 7
Views: 9877

Another possibility would be to open a command window, change directory to the appropriate location then use the line "start [Drive] [path] [application]", and see if you are placed into the correct directory when you go to "File" "Open" in the app. This works in some applications, does not work in ...
by JRL
Tue May 24, 2005 3:42 pm
Forum: Technical / Scripting
Topic: How to open a child window?
Replies: 26
Views: 27028

Have you tried searching the forum for an answer. Closing a specific window from multiple windows with the same name is not a simple task. When you close the xxx window and get error messages, are you doing any damage to your data or are they just simple warnings that you have performed illegal oper...
by JRL
Mon May 23, 2005 9:45 pm
Forum: Technical / Scripting
Topic: How to open a child window?
Replies: 26
Views: 27028

Excellent... That should make your life a lot easier. You should be able to use "Run Program". The help documentation is very good.

Do you feel you have enough direction to get started?

Feel free to ask more questions.

Dick.
by JRL
Mon May 23, 2005 6:18 pm
Forum: Technical / Scripting
Topic: How to open a child window?
Replies: 26
Views: 27028

If you use "Run Program" the location of the icon should not be relevant, only the location of the actual program. If the location of the actual program varies from computer to computer, then the "Run Program" line in the macros on each computer would have to reflect that variation. Is this an execu...
by JRL
Mon May 23, 2005 5:10 pm
Forum: Technical / Scripting
Topic: How to open a child window?
Replies: 26
Views: 27028

Other possibilities I can think of would be to create an ini file for each user that would contain the "Run Program" information unique to each user but with 1000 users that could take a while to implement. Although the ini file can be created dynamically within your script. Your script checks for t...
by JRL
Mon May 23, 2005 4:27 pm
Forum: Technical / Scripting
Topic: How to open a child window?
Replies: 26
Views: 27028

If you right click on the icon, pick properties from the menu, select the shortcut tab. The program name and any needed options should show up in the "Target" field. The line in Macro scheduler to run the icon defined program would be: Run Program>(target field information) You may want to put condi...
by JRL
Mon May 23, 2005 3:39 pm
Forum: Technical / Scripting
Topic: How to open a child window?
Replies: 26
Views: 27028

If the icon is a shortcut to a program. Can you use "Run Program" to execute the process directly, rather than trying to hit the moving icon?

Dick
by JRL
Mon May 23, 2005 1:49 pm
Forum: Technical / Scripting
Topic: How to open a child window?
Replies: 26
Views: 27028

You could try the "PushButton" command.

Another alternative would be to "Press TAB*(number)" where (number) is the number of tabs it takes to get to the button and then "Press Enter"

Hope this helps,
Dick
by JRL
Sun May 22, 2005 11:03 pm
Forum: Technical / Scripting
Topic: IF, OR, and WHILE help
Replies: 8
Views: 10112

Mark, Have you tried "" (not equal to)? (Edit1) You will also need % around your variables. If the "k" is a variable it will need % around it. If it is a string it will need quotes. In my example I'm assuming its a string. if>{(%card1%="k") and (%card3%="k") and (%card2%"k") and (%card4%"k") and (%c...
by JRL
Thu May 19, 2005 1:14 pm
Forum: Technical / Scripting
Topic: Character problem within a variable.
Replies: 8
Views: 11145

adroege, In your Feb. 23, 2005 post you said: I don't have control over the data which is being read in, so having the "/" characters is always a possibility. The only alternative I can think of is to try to replace "/" with something else prior to passing it as a parameter, however there is no "saf...
by JRL
Wed May 18, 2005 2:43 pm
Forum: Technical / Scripting
Topic: Character problem within a variable.
Replies: 8
Views: 11145

One more thought. Not that I have anything against writing to files, if you look at some of my posts you'll see I'm actually quite a fan of that process. But a self contained script is always my first choice.

Good Luck, let us know if you have success.

Later,
Dick
Sign up to our newsletter for free automation tips, tricks & discounts