AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

If you can use Microsoft Word dictionary to check the text?

 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
sexy96



Joined: 10 Sep 2015
Posts: 218
Location: Deutschland

PostPosted: Sat Sep 17, 2016 5:12 pm    Post subject: If you can use Microsoft Word dictionary to check the text? Reply with quote

W Scripts-Eng znalazłem takie coś:
SpellCheck.js-spell check using Microsoft Word.
Czy to znaczy, że można wykorzystać słownik Word'a zamiast SpellCheck?
Back to top
View user's profile Send private message
Skif_off



Joined: 20 Oct 2013
Posts: 1115

PostPosted: Mon Sep 19, 2016 7:13 pm    Post subject: Reply with quote

sexy96
You can try: select text and call SpellCheck.js.
Back to top
View user's profile Send private message
sexy96



Joined: 10 Sep 2015
Posts: 218
Location: Deutschland

PostPosted: Mon Sep 19, 2016 7:19 pm    Post subject: Reply with quote

It does not work in AkelPad 64
Back to top
View user's profile Send private message
Skif_off



Joined: 20 Oct 2013
Posts: 1115

PostPosted: Mon Sep 19, 2016 9:37 pm    Post subject: Reply with quote

sexy96
x32 too and without error message?
Back to top
View user's profile Send private message
sexy96



Joined: 10 Sep 2015
Posts: 218
Location: Deutschland

PostPosted: Tue Sep 20, 2016 5:40 am    Post subject: Reply with quote

In the x32 works, but not as well as in Word

I have a Windows 64 bit and I should use x64
Back to top
View user's profile Send private message
Skif_off



Joined: 20 Oct 2013
Posts: 1115

PostPosted: Tue Sep 20, 2016 10:59 am    Post subject: Reply with quote

sexy96
I tried used AkelPad x64 and Word x32: works fine.

SpellCheck.js uses COM-object "Word.application", if creat object is not possible then script show error message "You must first install Microsoft Word 97 or higher". Have you seen him?

Try this: find cmd.exe, run him as administrator and find MS Office folder ("Office12" for Word 2007, "Office14" for 2010), and now:
Code:
cd C:\Program Files (x86)\Microsoft Office\OfficeNN
WINWORD.EXE -regserver

Reboot OS and try call SpellCheck.js again.

word.application+x64
Back to top
View user's profile Send private message
sexy96



Joined: 10 Sep 2015
Posts: 218
Location: Deutschland

PostPosted: Tue Sep 20, 2016 11:51 am    Post subject: Reply with quote

It was enough just to enter:
"Word Corrector" Call ("Scripts :: Main", 1 "SpellCheck.js") Icon ()
And it works.

Thank you very much.

PS:
When I run the Spell Check.js
I have info: "No text selected".

Can you run it without a selection of text
so how does Word?
Back to top
View user's profile Send private message
Skif_off



Joined: 20 Oct 2013
Posts: 1115

PostPosted: Tue Sep 20, 2016 2:02 pm    Post subject: Reply with quote

sexy96 wrote:
PS:
When I run the Spell Check.js
I have info: "No text selected".

Can you run it without a selection of text
so how does Word?

You can make copy SpellCheck.js to SpellCheck2.js, replace string
Code:
var pSelText=AkelPad.GetSelText();

on
Code:
var pSelText=AkelPad.GetTextRange(0, -1);

and use SpellCheck2.js, but I don't know what will happen if the text will be very large. (I think text selection is more conveniently.)
Back to top
View user's profile Send private message
sexy96



Joined: 10 Sep 2015
Posts: 218
Location: Deutschland

PostPosted: Tue Sep 20, 2016 2:14 pm    Post subject: Reply with quote

It works great, thank you very much.

PS.
"Spell" +Call("SpellCheck::Background") Icon("%a\AkelFiles\Plugs\SpellCheck.dll", 0)

It does not work in x64

You can not open
"D:\WinCMD\AkelPad64\AkelFiles\Plugs\SpellCheck.dll"

SpellCheck.js do not move the text to the top
and I do not see the check word in the text.
Back to top
View user's profile Send private message
FeyFre



Joined: 07 Aug 2007
Posts: 2241
Location: Vinnitsa, Ukraine

PostPosted: Tue Sep 20, 2016 3:21 pm    Post subject: Reply with quote

sexy96
Quote:
PS.
"Spell" +Call("SpellCheck::Background") Icon("%a\AkelFiles\Plugs\SpellCheck.dll", 0)

It does not work in x64

You can not open
"D:\WinCMD\AkelPad64\AkelFiles\Plugs\SpellCheck.dll"
It is by design. Unfortunately core spell checking component not supported in Windows anymore(let alone Windows x64), and I have no resources even to try test it. For 32 bit windows used pretty old version(works good nevertheless)
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
sexy96



Joined: 10 Sep 2015
Posts: 218
Location: Deutschland

PostPosted: Tue Sep 20, 2016 4:03 pm    Post subject: Reply with quote

OK. Thanks.
Back to top
View user's profile Send private message
sexy96



Joined: 10 Sep 2015
Posts: 218
Location: Deutschland

PostPosted: Thu Oct 26, 2017 7:51 pm    Post subject: Reply with quote

How to make the correction window not hide under the text,
Always before the text (FormOnTop)?

Przy sprawdzaniu tekstu kursor atomatycznie ustawia się na końcu tekstu
i uruchamia się okienko, w którym dokonuję korekcji.

Gdy na chwilę opuszczę AkelPad z otwartym tym okienkiem (np. w tym czasie uruchomię Chrome)
to wracając do edytora okienko to jest przykryte tekstem.
Próba przywrócenia tego na pierwszy plan powoduje zmianą położenia kursora
i dalsze sprawdzanie nie ma sensu, ponieważ po zakończeniu,
cała korekta zostanie zapisana w przypadkowym miejscu.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group