Thread View: news.software.readers
9 messages
9 total messages
Started by foxidrive
Sun, 12 Oct 2003 15:08
[Dialog] Beta 29 scripting changes?
Author: foxidrive
Date: Sun, 12 Oct 2003 15:08
Date: Sun, 12 Oct 2003 15:08
12 lines
1549 bytes
1549 bytes
In Beta 29 when an email arrives, my PC no longer plays a sound. Also, double clicking the left hand side of the status bar fails to bring up the status doalog box. My KennyToNormal script brings up "error running script "KennyToNormal": Cannot import" Is there a fundamental change to the scripting?
Re: [Dialog] Beta 29 scripting changes?
Author: Marcus Mönnig
Date: Sun, 12 Oct 2003 15:17
Date: Sun, 12 Oct 2003 15:17
21 lines
1974 bytes
1974 bytes
On Sun, 12 Oct 2003 15:08:51 GMT, foxidrive wrote: > In Beta 29 when an email arrives, my PC no longer plays a sound. > > Also, double clicking the left hand side of the status bar fails to bring > up the status doalog box. > > My KennyToNormal script brings up > "error running script "KennyToNormal": Cannot import" > > Is there a fundamental change to the scripting? Yes, you will need to recompile all script to make them work again. Unfortunately I forgot to mention it in the readme.txt. :-( Marcus -- No replies in private e-mail, please, unless explicitly requested! Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/ Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Re: [Dialog] Beta 29 scripting changes?
Author: Jeff Relf
Date: Sun, 12 Oct 2003 15:18
Date: Sun, 12 Oct 2003 15:18
8 lines
1243 bytes
1243 bytes
Hi foxidrive ,
You ask about Beta 29 :
" Is there a fundamental change to the scripting ? "
I believe so ,
All the scripts have to be recompiled .
Re: [Dialog] Beta 29 scripting changes?
Author: Andreas Loch
Date: Sun, 12 Oct 2003 15:30
Date: Sun, 12 Oct 2003 15:30
15 lines
1794 bytes
1794 bytes
Sun, 12 Oct 2003 15:08:51 GMT, foxidrive: > In Beta 29 when an email arrives, my PC no longer plays a sound. > > Is there a fundamental change to the scripting? Yes, you need to recompile all your scripts. Andreas -- http://gigaschatten.de/ Now another way to explain acronyms to newbies: "Install 40tude Dialog and hover the cursor over, dude." [Loonie in news.software.readers]
Re: [Dialog] Beta 29 scripting changes?
Author: foxidrive
Date: Sun, 12 Oct 2003 18:04
Date: Sun, 12 Oct 2003 18:04
22 lines
2172 bytes
2172 bytes
On Sun, 12 Oct 2003 17:17:13 +0200, Marcus M�nnig wrote: > On Sun, 12 Oct 2003 15:08:51 GMT, foxidrive wrote: > >> In Beta 29 when an email arrives, my PC no longer plays a sound. >> Is there a fundamental change to the scripting? > > Yes, you will need to recompile all script to make them work again. > Unfortunately I forgot to mention it in the readme.txt. :-( > > Marcus Thanks. I needed to reload dialog (after setting SSL? or recompiling?) to get newsgroups arriving again, so didn't see the previous msgs on the topic. All's well now, except for FormTest.ds under custom scripts which I don't recall adding, and as I know bugger all about dialog scripting I don't even know what it does! I receive "Failed when compiling [Error] (2:11): Unknown type 'Tform' Can someone enlighten me please?
Re: [Dialog] Beta 29 scripting changes?
Author: Malu'
Date: Sun, 12 Oct 2003 18:42
Date: Sun, 12 Oct 2003 18:42
50 lines
2618 bytes
2618 bytes
Sun, 12 Oct 2003 18:04:09 GMT
foxidrive ha scritto:
> All's well now, except for FormTest.ds under custom scripts which I don't recall adding,
> and as I know bugger all about dialog scripting I don't even know what it does!
> I receive "Failed when compiling [Error] (2:11): Unknown type 'Tform'
> Can someone enlighten me please?
It is an example script that shows in a little window if you have the
headers on or off.
I didn't get any compile error, but it didn't work well because the result
was always "Header are off!" even if they were on.
Then I found that "ShowHeadersAction" should be "ShowHeaders" and now it
works.
(BTW in English wouldn't be better to say "header_s_ are on" ?
Try to copy, paste and compile this:
Program FormTest;
uses Forms, stdctrls;
var aform:TForm;
aedit:TEdit;
i:integer;
Begin
aform:=TForm.create(nil);
aedit:=TEdit.create(aform);
try
aedit.parent:=aform;
aedit.left:=(aform.width-aedit.width) div 2;
aedit.top:=(aform.height-aedit.height) div 2;
if achecked('ShowHeaders')then
aedit.text:='Header are on!'
else
aedit.text:='Header are off!';
aform.showmodal;
finally
aedit.free;
aform.free;
end;
End.
Ciao,
--
Maria Luisa - 12/10/2003 20.29.50, here.
Good morning, doctors. I have taken the liberty
of removing Windows 95 from my hard drive.
HAL's first words contest winner, judged by A.C.Clarke.
Now playing: nothing
Re: [Dialog] Beta 29 scripting changes?
Author: foxidrive
Date: Sun, 12 Oct 2003 18:54
Date: Sun, 12 Oct 2003 18:54
29 lines
2098 bytes
2098 bytes
On Sun, 12 Oct 2003 20:42:40 +0200, Malu' wrote: > Sun, 12 Oct 2003 18:04:09 GMT > foxidrive ha scritto: >> I receive "Failed when compiling [Error] (2:11): Unknown type 'Tform' >> Can someone enlighten me please? > > It is an example script that shows in a little window if you have the > headers on or off. > (BTW in English wouldn't be better to say "header_s_ are on" ? Yep... > Try to copy, paste and compile this: I did so and it works; thanks for the code and explanation, Maria. Dialog's scripting is very clever too, it returned this after compiling :) Succesfully compiled [Hint] (5:12): Variable 'I' never used > Ciao, Ciao.
Re: [Dialog] Beta 29 scripting changes?
Author: Malu'
Date: Sun, 12 Oct 2003 19:11
Date: Sun, 12 Oct 2003 19:11
16 lines
1675 bytes
1675 bytes
Sun, 12 Oct 2003 18:54:37 GMT foxidrive ha scritto: > Dialog's scripting is very clever too, it returned this after compiling :) > Succesfully compiled > [Hint] (5:12): Variable 'I' never used It's true! I didn't see it :( Please, delete that line (i:integer;). Thank you. -- Maria Luisa - 12/10/2003 21.10.42, here. Ambivalent? Well, yes and no. Now playing: nothing
Re: [Dialog] Beta 29 scripting changes?
Author: John Fitzsimons
Date: Mon, 13 Oct 2003 00:09
Date: Mon, 13 Oct 2003 00:09
18 lines
1549 bytes
1549 bytes
On Sun, 12 Oct 2003 17:17:13 +0200, Marcus M�nnig wrote: > On Sun, 12 Oct 2003 15:08:51 GMT, foxidrive wrote: < snip > >> Is there a fundamental change to the scripting? > Yes, you will need to recompile all script to make them work again. > Unfortunately I forgot to mention it in the readme.txt. :-( I have a number of scripts. How do I know which will work with the new version ? Press the "test" button for each ? Or will none of them work ? How does one recompile all one's scripts ? All I did originally was to copy syntax here to my scoring and actions box. Regards, John.
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