Search found 21 matches

by katalonija2
Wed Apr 13, 2011 5:02 pm
Forum: Beginners
Topic: Is Dialog open
Replies: 9
Views: 11861

I used that at first, as newbe, but now, i am avoiding that. In the case of getdialogproperties, i can use it before i set localvar. In close relationship with this is how to get exact number of subroutine parameters. First time subroutinename_var_count will do the job. But next time wount. reset of...
by katalonija2
Tue Apr 12, 2011 11:01 am
Forum: Beginners
Topic: Is Dialog open
Replies: 9
Views: 11861

This works if Let>Localvars=0
but if it is not, then, for some reason, getdialogproperty dont work as usual.

So solution is in PIG or TAE method (try and error)
To move Let>Localvars=1 after diagnostic lines for dialog existance.
And other important variables, as count variables.
by katalonija2
Tue Apr 12, 2011 9:21 am
Forum: Beginners
Topic: passing variable to subroutine
Replies: 5
Views: 11680

Can i assign array to another variable....Let>1array=2array?
Not by loop.

If this is not available, then it is not surprise that passing array to subr is not available...
by katalonija2
Tue Apr 12, 2011 8:08 am
Forum: Beginners
Topic: passing variable to subroutine
Replies: 5
Views: 11680

array and array element

Sorry,but i must inform others that passing array as variable do not work in MS. You can assign in main program one array through another, but you can pass to subroutine only one element of array, not array by itself. So if question was can ARRAY be passed to subroutine, answer is not, yes , becouse...
by katalonija2
Tue Apr 05, 2011 1:42 pm
Forum: Beginners
Topic: passing variable to subroutine
Replies: 5
Views: 11680

No, you didnot. I looked in help,only value passing is mentioned. So notation is parameter of subroutine is checked if it is var or array then if it is var or array is passed, or at the end, value as text or number is passed. Is that right? gosub>srt1,param >if param is var, then var is passed >if p...
by katalonija2
Tue Apr 05, 2011 11:29 am
Forum: Beginners
Topic: passing variable to subroutine
Replies: 5
Views: 11680

passing variable to subroutine

I am interested in advices how to pass variables to subroutines. As i understand i regulary pass values. So gosub>subroute1,text,9 will pass "text" and "9" to srt>subroute1... Aside from using global scope variables, is there way to pass variable to subr. Or array.... For example I want to pass valu...
by katalonija2
Thu Mar 31, 2011 10:41 am
Forum: Enhancement Suggestions
Topic: Are there commands for putting task,scp for schedule?
Replies: 0
Views: 11862

Are there commands for putting task,scp for schedule?

Maybe my ignorance is disturbing but are there commands in MS to send,start scheduled task with or without parameters?

As independed task....

I am aware of problems with simultanious start of tasks, but as resolved in current scheduler, it can be resolved in put_task_in_queue command...
by katalonija2
Thu Mar 31, 2011 10:16 am
Forum: Technical / Scripting
Topic: comdef.ini scope
Replies: 2
Views: 4590

My mistake.
I saw in import macro dialog check box option and path for macro settings,so i assumed that option for different macro settings than standard assumes option for different comdef settings too....
by katalonija2
Thu Mar 31, 2011 4:49 am
Forum: Beginners
Topic: Is Dialog open
Replies: 9
Views: 11861

I made mistake in steps

Code: Select all

GetDialogProperty>dialog1,,Caption,DLG_Dialog1_on
Assigned>DLG_Dialog1_on,res
if>%res%=True 
else
Dialog>Dialog1
......
endif
In this way i can test it as many times as i want.

Thank you for marking me that res has virgin behaivour in assigned command
by katalonija2
Thu Mar 31, 2011 4:30 am
Forum: Technical / Scripting
Topic: comdef.ini scope
Replies: 2
Views: 4590

comdef.ini scope

Can someone explain all about comdef.ini
default path, or paths...
I want to have different comdif for different macro directories.
If it is like bat path hierarchy, i can use that...
by katalonija2
Tue Mar 29, 2011 5:39 pm
Forum: Beginners
Topic: Is Dialog open
Replies: 9
Views: 11861

Thank you a lot... You understand everything right. Thank you for assigned command, i didnot know that. And about problem of multiple testing for opened dialog,i will solve that with protocol that Ares will be named DLGdialogname_on. In that way dialog can be in if then else structure... GetDialogPr...
by katalonija2
Mon Mar 28, 2011 5:44 am
Forum: Beginners
Topic: Is Dialog open
Replies: 9
Views: 11861

Ok, so i am limited in using dialog in external subroutine. First as in a good manner,include command should be as declaration in programs language, on start of program... Then as compromize, i need flag in subroutine that is global, to keep me info about first/nofirst entry in subroutine... I want ...
by katalonija2
Sat Mar 26, 2011 5:39 pm
Forum: Beginners
Topic: Is Dialog open
Replies: 9
Views: 11861

Is Dialog open

Is there some method for checking if the dialog is open?
I can use flag and to reset flag when dialog is closed,but is there another way or property?
by katalonija2
Sat Mar 26, 2011 5:19 am
Forum: Technical / Scripting
Topic: Findimagepos on semitransparent javascript popup window
Replies: 0
Views: 4265

Findimagepos on semitransparent javascript popup window

What is best way for doing that?

Findimagepos does not work becouse semi change of colour.
fixed text as pic does not work also,and i can not get popup window position.
by katalonija2
Sat Mar 26, 2011 5:09 am
Forum: Beginners
Topic: bug or secret?
Replies: 5
Views: 7343

Lets try on this way...

%windir%=C:\workload
(C:\workload\system32...C:\workload\system......)
C:\windows...does not exist....


What will do PlayWav>c:\windows\media\chimes.wav
Sign up to our newsletter for free automation tips, tricks & discounts