Search found 131 matches

by nodochau
Tue Feb 04, 2020 11:30 am
Forum: Technical / Scripting
Topic: How do I create a button that doesn't close a dialog?
Replies: 5
Views: 3658

Re: How do I create a button that doesn't close a dialog?

bossydog9 wrote:
Sun Feb 02, 2020 3:13 am
I want a button in a dialog that performs a subroutine and nothing else. I want the dialog to stay open. I have added an AddDialogHandler statement that performs the subroutine, but the dialog closes. How do I stop it?
If you have a button in your dialog then just set its ModalResult = 0.
by nodochau
Thu Jan 30, 2020 1:14 pm
Forum: Technical / Scripting
Topic: Getting Specific Data From Excel
Replies: 14
Views: 10621

Re: Getting Specific Data From Excel

Dorian (MJT support) wrote:
Wed Jan 29, 2020 9:11 pm
I've reported this to dev as it might be a bug. You're not doing anything wrong - we both experienced the same results.

In the mean time it's easy enough to work around - just set your loop limit one less than length, or add some checks and balances in.
It sounds good now. Thanks again Dorian.
by nodochau
Thu Jan 23, 2020 5:35 pm
Forum: Beginners
Topic: HIGHLIGHTER
Replies: 5
Views: 3966

Re: HIGHLIGHTER

Thank you.
by nodochau
Thu Jan 23, 2020 2:16 pm
Forum: Beginners
Topic: HIGHLIGHTER
Replies: 5
Views: 3966

HIGHLIGHTER

Hi All,
I create a dialog which has a Edit box and set value for it. When I show the dialog how to get rid of the highlighter in the box?
Please see attachment.
Editbox.png
by nodochau
Thu Jan 23, 2020 1:43 pm
Forum: Beginners
Topic: Minimize Button For Dialog
Replies: 4
Views: 3214

Re: Minimize Button For Dialog

Great!
Thank you.
by nodochau
Thu Jan 23, 2020 11:31 am
Forum: Beginners
Topic: Cosine function
Replies: 2
Views: 2612

Re: Cosine function

Yes, You are right.
Thanks a lot. I haven't read the instruction well enough :(
by nodochau
Wed Jan 22, 2020 7:05 pm
Forum: Technical / Scripting
Topic: Getting Specific Data From Excel
Replies: 14
Views: 10621

Re: Getting Specific Data From Excel

Hi Dorian, In my sample as I mentioned above, there are 3 cols and but why arrayname_row_count returns 4. It should return 3, right? What you see and how the XLS looks like are two different things. There's probably some syntax in the fourth row. I could be simply that you clicked on a cell.... The...
by nodochau
Wed Jan 22, 2020 6:46 pm
Forum: Beginners
Topic: Cosine function
Replies: 2
Views: 2612

Cosine function

Hello All,
What wrong with this function:
Let>ans={cos(340)}
And it returns me ans=0.759668310007225.
My calculator returns me 0.93969207859...
:(
??
Please help
by nodochau
Wed Jan 22, 2020 6:41 pm
Forum: Beginners
Topic: Minimize Button For Dialog
Replies: 4
Views: 3214

Re: Minimize Button For Dialog

Could you tell me which one to turn on the Minimize button?
by nodochau
Wed Jan 22, 2020 3:30 pm
Forum: Scripts and Tips
Topic: Screenshot Active Window
Replies: 6
Views: 12635

Re: Screenshot Active Window

Dorian,
Thank you a lot for your share.
by nodochau
Wed Jan 22, 2020 3:10 pm
Forum: Beginners
Topic: Minimize Button For Dialog
Replies: 4
Views: 3214

Minimize Button For Dialog

Hello All,
By default, when I create a dialog and it comes with a Close Button ("X" Button). How do I create a minimize button next to it?
Thanks
by nodochau
Wed Jan 22, 2020 2:55 pm
Forum: Technical / Scripting
Topic: Getting Specific Data From Excel
Replies: 14
Views: 10621

Re: Getting Specific Data From Excel

Hi Dorian,
In my sample as I mentioned above, there are 3 cols and but why arrayname_row_count returns 4. It should return 3, right?
by nodochau
Wed Jan 22, 2020 2:48 pm
Forum: Technical / Scripting
Topic: Getting Specific Data From Excel
Replies: 14
Views: 10621

Re: Getting Specific Data From Excel

Thank you for the quick response.
I am working on it now.
by nodochau
Wed Jan 22, 2020 2:02 pm
Forum: Technical / Scripting
Topic: Getting Specific Data From Excel
Replies: 14
Views: 10621

Re: Getting Specific Data From Excel

Hello Dan, I came across your topic and start to learn the XLSheettoArray command. I am confusing the counting though. I create a sample Excel sheet which has 3 cols and 5 rows and use: XLSheettoArray>filename,Sheet1,xldata I get xldata_1_1 is a data in row1 col 1 that is easy. But xldata_1_count an...
by nodochau
Fri Jan 03, 2020 8:56 pm
Forum: Beginners
Topic: IF KEY IS PRESSED
Replies: 2
Views: 2329

Re: IF KEY IS PRESSED

Thank you.
I got it.
Sign up to our newsletter for free automation tips, tricks & discounts