Thread View: news.software.readers
5 messages
5 total messages
Started by Les
Tue, 11 May 2004 16:00
[Dialog] Script syntax and commands info
Author: Les
Date: Tue, 11 May 2004 16:00
Date: Tue, 11 May 2004 16:00
25 lines
2439 bytes
2439 bytes
Hi After my first flurry with Dialog, and getting great help from the newsgroup people, I am now making my first forays into the scripting side. I have found a list of scripts which may/may not be of use, via the Dialog web site. I have been unable to find any hints on the general language/structures/syntax/functions etc that can be used to write scripts. Any pointer there? I am in particular, looking for a method/procedure to enable me to 'focus' any particular window. I have made a button using 2 of the built in button functions which works very well, except that I need to manually ensure the focus is on the header list window and it would be nice to be able to do that programmatically. Any pointer? -- regards, Les Hay, Livingston, Scotland Using 40tude Dialog, v 2.9.12.1 (beta 35), Softwareentwicklung M.Mönnig revolutionary e-mail and news client: http://www.40tude.com/dialog/download.htm
Re: [Dialog] Script syntax and commands info
Author: Lars Biskupek
Date: Wed, 12 May 2004 15:56
Date: Wed, 12 May 2004 15:56
18 lines
1842 bytes
1842 bytes
11.5.2004, *Les*: > I have been unable to find any hints on the general > language/structures/syntax/functions etc that can be used to write > scripts. Any pointer there? Syntax of scripts is a sub set of Pascal/Delphi language. Main information are stored within Dialog's help file (have a look at dialog.chm::/scripting.htm). If you want to add an Ado() action, when in script writing window, open the script you want to modify and click on the 'Show button config' button. Then, select an action and drag and drop it into the script window. -- HTH, L a r s B i s k u p e k
Re: [Dialog] Script syntax and commands info
Author: Les
Date: Wed, 12 May 2004 16:21
Date: Wed, 12 May 2004 16:21
37 lines
3170 bytes
3170 bytes
On Wed, 12 May 2004 17:56:29 +0200, Lars Biskupek wrote: > 11.5.2004, *Les*: > >> I have been unable to find any hints on the general >> language/structures/syntax/functions etc that can be used to write >> scripts. Any pointer there? > > Syntax of scripts is a sub set of Pascal/Delphi language. Main > information are stored within Dialog's help file (have a look at > dialog.chm::/scripting.htm). > > If you want to add an Ado() action, when in script writing window, open > the script you want to modify and click on the 'Show button config' > button. Then, select an action and drag and drop it into the script > window. Thanks Lars. I had already referred to the help file and the section you mention. It is a very basic description with little information. If that is the extent of the 40tude/Dialog information, I shall try to find some info elsewhere. It's just that I figured since the scripting is an integral part of the software, that there might be resources to be found where a newbie would find syntax and etc. No problem though, I'm sure a search for Pascal/Delphi will turn up something. Am I likely to find how to set focus to a particular window (the header listing window in my case)? I would assume that there are system variables that must refer to such items? -- regards, Les Hay, Livingston, Scotland Using 40tude Dialog, v 2.9.12.1 (beta 35), Softwareentwicklung M.Mönnig revolutionary e-mail and news client: http://www.40tude.com/dialog/download.htm
Re: [Dialog] Script syntax and commands info
Author: Lars Biskupek
Date: Wed, 12 May 2004 16:50
Date: Wed, 12 May 2004 16:50
36 lines
2513 bytes
2513 bytes
12.5.2004, *Les*:
> On Wed, 12 May 2004 17:56:29 +0200, Lars Biskupek wrote:
> Am I likely to find how to set focus to a particular window (the
> header listing window in my case)? I would assume that there are
> system variables that must refer to such items?
You can use access all menu entries using the ado()-function I have
mentioned.
If you want to set the focus to the header-list window you would have
simulate the menu entry "Navigate -> Pane navigation -> Headerlist pane.
Following the short instruction about using ado() from my last posting
>> If you want to add an Ado() action, when in script writing window, open
>> the script you want to modify and click on the 'Show button config'
>> button. Then, select an action and drag and drop it into the script
>> window.
you will get the command line
| Ado('HeaderlistPane');
and that should do it.
Also if you want to have a look at all possible ado()-functions you may
enter this simple script, compile an run it:
| Program AlleBefehleAnzeigen;
| Begin
| WriteLn(GetActionList());
| End.
Afterwards you can see a list of all ado()-function in the debug-part of
the scripting-window.
--
HTH,
L a r s B i s k u p e k
Re: [Dialog] Script syntax and commands info
Author: Les
Date: Wed, 12 May 2004 17:40
Date: Wed, 12 May 2004 17:40
44 lines
3366 bytes
3366 bytes
On Wed, 12 May 2004 18:50:42 +0200, Lars Biskupek wrote:
> 12.5.2004, *Les*:
>> On Wed, 12 May 2004 17:56:29 +0200, Lars Biskupek wrote:
>
>> Am I likely to find how to set focus to a particular window (the
>> header listing window in my case)? I would assume that there are
>> system variables that must refer to such items?
>
> You can use access all menu entries using the ado()-function I have
> mentioned.
>
> If you want to set the focus to the header-list window you would have
> simulate the menu entry "Navigate -> Pane navigation -> Headerlist pane.
>
> Following the short instruction about using ado() from my last posting
>>> If you want to add an Ado() action, when in script writing window, open
>>> the script you want to modify and click on the 'Show button config'
>>> button. Then, select an action and drag and drop it into the script
>>> window.
> you will get the command line
>| Ado('HeaderlistPane');
> and that should do it.
>
> Also if you want to have a look at all possible ado()-functions you may
> enter this simple script, compile an run it:
>
>| Program AlleBefehleAnzeigen;
>| Begin
>| WriteLn(GetActionList());
>| End.
>
> Afterwards you can see a list of all ado()-function in the debug-part of
> the scripting-window.
Thanks again Lars - I will have a go with all of the above. I had
a look at Borland Delphi site but apparently a short wait until a
free trial version 7 will be available.
--
regards, Les Hay, Livingston, Scotland
Using 40tude Dialog, v 2.9.12.1 (beta 35), Softwareentwicklung
M.Mönnig revolutionary e-mail and news client:
http://www.40tude.com/dialog/download.htm
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads