Search found 6 matches

by alexmuir
Fri Aug 10, 2018 6:39 pm
Forum: Beginners
Topic: Dialogue with Multiple Buttons
Replies: 3
Views: 4049

Re: Dialogue with Multiple Buttons

OK getting there. Any help would be appreciated. Runs button1 ok but not button2? //Set IGNORESPACES to 1 to force script interpreter to ignore spaces. //If using IGNORESPACES quote strings in {" ... "} //Let>IGNORESPACES=1 Dialog>Dialog1 object Dialog1: TForm Left = 517 Top = 259 HelpContext = 5000...
by alexmuir
Fri Aug 10, 2018 5:57 am
Forum: Beginners
Topic: Dialogue with Multiple Buttons
Replies: 3
Views: 4049

Dialogue with Multiple Buttons

Hello OK having been greatly helped by Marcus, I now have a dialogue with one button that calls a program or file. I have now put a second button on the dialogue. How and what do I add to the script to get this button to call a program or routine. Alternatively is there a sample dialogue with 3-4 bu...
by alexmuir
Thu Aug 09, 2018 7:26 pm
Forum: Beginners
Topic: Button On Dialog
Replies: 5
Views: 5720

Re: Button On Dialog

Marcus
Fixed. worked it out
Used ExecuteFile

Alex
by alexmuir
Thu Aug 09, 2018 6:55 pm
Forum: Beginners
Topic: Button On Dialog
Replies: 5
Views: 5720

Re: Button On Dialog

Hello Marcus I assumed that I could call any file EndDialog>Dialog1 AddDialogHandler>Dialog1,MSButton1,Onclick,DoClick Show>Dialog1,modalResult SRT>DoClick MessageModal>MSButton1 Run> C:\Office\CONFIDENTIALITYUNDERTAKING.docx End>DoClick but now I get an error message saying 0 Error in : Diag Line 4...
by alexmuir
Wed Aug 08, 2018 5:58 am
Forum: Beginners
Topic: Button On Dialog
Replies: 5
Views: 5720

Re: Button On Dialog

Marcus Thanks for your prompt response. I think I am nearly there? Where am I going wrong? //Set IGNORESPACES to 1 to force script interpreter to ignore spaces. //If using IGNORESPACES quote strings in {" ... "} //Let>IGNORESPACES=1 Dialog>Dialog1 object Dialog1: TForm Left = 715 Top = 325 HelpConte...
by alexmuir
Tue Aug 07, 2018 5:34 pm
Forum: Beginners
Topic: Button On Dialog
Replies: 5
Views: 5720

Button On Dialog

Hello
Sorry please bear with me but starting down the MS road.
I have created a dialogue
I have place a button the dialogue.

How do I get the button clicked to run another MS macro?
Thought it might be Action in the Properties but alas no.

Thanks for your patience.

Alex
cron
Sign up to our newsletter for free automation tips, tricks & discounts