FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

scripts:BSPlayer,Media Player,WinDVD,Zoom Player,TVTool,Mute
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows
View previous topic :: View next topic  
Author Message
Smeagol
Junior Member


Joined: 15 Oct 2005
Posts: 27
Location: Všnersborg, Sweden

PostPosted: Sun May 28, 2006 10:12 pm    Post subject: Reply with quote

worked when i commented out
// if( settingsFileStream != null )
// settingsFileStream.Close();

in BSPlayer Open Movie.js
Back to top
View user's profile Send private message MSN Messenger
Smeagol
Junior Member


Joined: 15 Oct 2005
Posts: 27
Location: Všnersborg, Sweden

PostPosted: Sun May 28, 2006 10:14 pm    Post subject: Reply with quote

A feature request would be to add Pan in and Pan out (+ and -) and subtitle correction (ctrl left and ctrl right). That'd be totally awesome :)
Back to top
View user's profile Send private message MSN Messenger
Smeagol
Junior Member


Joined: 15 Oct 2005
Posts: 27
Location: Všnersborg, Sweden

PostPosted: Sun May 28, 2006 10:50 pm    Post subject: Reply with quote

Tried to do it myself but i have no clue how to get the proper hex numbers Š la BSP_GetMovLen and so on. And didn't work out with virtualkeystroke :/
Back to top
View user's profile Send private message MSN Messenger
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Sun May 28, 2006 11:19 pm    Post subject: Reply with quote

Just guessing here (I don't have TVTool). Could it be that the TVTool installer writes the application path in different places depending on whether the application is installed for all users or just the current user? (this is something for the script author to look into, I guess)

Smeagol: did you install TVTool for all users? (the script appears to assume you did, based on the error message)

Best.
--
Jonas

[quote="Smeagol"]Sun May 28 21:48:01 2006
BSPlayer Remote - WshShell.RegRead
[Line: 23 (1)] Invalid root in registry key "HKEY_LOCAL_MACHINE\SOFTWARE\TVTool8\CurrentDirectory".

I had tvtool installed, but i uninstalled it, didn't make it work :/[/quote]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Smeagol
Junior Member


Joined: 15 Oct 2005
Posts: 27
Location: Všnersborg, Sweden

PostPosted: Mon May 29, 2006 6:28 pm    Post subject: Reply with quote

i can't remember, however, i uninstalled it.. don't care about tvtool..
Back to top
View user's profile Send private message MSN Messenger
Smeagol
Junior Member


Joined: 15 Oct 2005
Posts: 27
Location: Všnersborg, Sweden

PostPosted: Mon May 29, 2006 6:43 pm    Post subject: Reply with quote

And why do I need all the different scripts? Why doesn't bsplayer remote work properly alone?
Back to top
View user's profile Send private message MSN Messenger
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Mon May 29, 2006 8:29 pm    Post subject: Reply with quote

Just trying to help here, buddy. Did you try the BSPlayer script that's included in Salling Clicker? It's probably more simplistic than the one posted in this thread, but at least with that one I should be able to help you.

Best.
--
Jonas

[quote="Smeagol"]And why do I need all the different scripts? Why doesn't bsplayer remote work properly alone?[/quote]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Smeagol
Junior Member


Joined: 15 Oct 2005
Posts: 27
Location: Všnersborg, Sweden

PostPosted: Mon May 29, 2006 9:33 pm    Post subject: Reply with quote

sorry if i came out sounding angry x]
I managed to get it to work i guess, but i can't help but thinking of expanding it, and if possible, make it more solid :)
But as i said im clueless how to get those hex numbers so i could do some work with it (got any tips?)... i guess i could give it another shot with virtualkeystrokes but
Back to top
View user's profile Send private message MSN Messenger
Smeagol
Junior Member


Joined: 15 Oct 2005
Posts: 27
Location: Všnersborg, Sweden

PostPosted: Wed May 31, 2006 9:33 pm    Post subject: Reply with quote

Anyone willing to share tips? :) (getting those nice hex numbers to interract with programs..)
Back to top
View user's profile Send private message MSN Messenger
Smeagol
Junior Member


Joined: 15 Oct 2005
Posts: 27
Location: Všnersborg, Sweden

PostPosted: Mon Jun 05, 2006 11:52 pm    Post subject: Reply with quote

You can add these lines to add support for subtitle offset (4 and 6) and pan in/out (7 and 9), add it in mykeypad_KeyRepeat and mykeypad_KeyDown

[code:1]
} else if( theKey == "7" ) {
SendVirtualKeystroke(0x6D,false,false,false,false); VK_SUBTRACT
} else if( theKey == "9" ) {
SendVirtualKeystroke(0x6B,false,false,false,false); VK_ADD
} else if( theKey == "4" ) {
SendVirtualKeystroke(0x25,false,true,false,false); VK_LEFT
} else if( theKey == "6" ) {
SendVirtualKeystroke(0x27,false,true,false,false); VK_RIGHT
}
[/code:1]
Back to top
View user's profile Send private message MSN Messenger
Smeagol
Junior Member


Joined: 15 Oct 2005
Posts: 27
Location: Všnersborg, Sweden

PostPosted: Tue Jun 06, 2006 12:13 am    Post subject: Reply with quote

or

at top of bsplayer.js
[code:1]var BSP_PanIn = 46;
var BSP_PanOut = 47;
var BSP_SubCorIncS = 18;
var BSP_SubCorDecS = 19;[/code:1]

then at mykeypad_KeyRepeat and mykeypad_KeyDown

[code:1] } else if( theKey == "7" ) {
SendMessage( bspwh, WM_BSP_CMD, BSP_PanIn,0);
} else if( theKey == "9" ) {
SendMessage( bspwh, WM_BSP_CMD, BSP_PanOut,0);
} else if( theKey == "4" ) {
SendMessage( bspwh, WM_BSP_CMD, BSP_SubCorDecS,0);
} else if( theKey == "6" ) {
SendMessage( bspwh, WM_BSP_CMD, BSP_SubCorIncS,0);
} [/code:1]
Back to top
View user's profile Send private message MSN Messenger
daffy
Junior Member


Joined: 14 Jan 2006
Posts: 36
Location: Erlangen, Germany

PostPosted: Thu Jun 08, 2006 1:44 am    Post subject: Reply with quote

Sorry, I did not answere for such a long time. I am currently very busy moving from one city to another... As soon as I find time, I will answere all qustions (as far as I can). Just a short hint: To find the BSPlayer Adresses (aka Hexnumbers a la BSP_GetMovLen) open the different files in the BSPlayer subdirectory called sdk with an ascii editor (like the Windows included one called Editor). The interesting files are bsp.h and bsp.pas. Actually they schould contain the same information, one for C++ (.h) and the other for Pascal (.pas). But as far as I remeber, they do not really contain the same information. Some Adresses are missing in the one or the other file, so look into the other file, if you do not find, what you are looking for.

So far,

Christian
Back to top
View user's profile Send private message
eruur
Newbie


Joined: 09 Jun 2006
Posts: 4
Location: France

PostPosted: Tue Jul 04, 2006 11:28 am    Post subject: Reply with quote

Based on the work of Christian, here is the "Open Subtitle" script.

Please write some feedbacks for me to know if it works for you :)

Ardem



BSPlayer Open Subtitle.rar
 Description:
Supported extensions are: *.ssa *.sub *.txt *.srt

Download
 Filename:  BSPlayer Open Subtitle.rar
 Filesize:  1.99 KB
 Downloaded:  2015 Time(s)

Back to top
View user's profile Send private message
kanski
Newbie


Joined: 05 Oct 2006
Posts: 5

PostPosted: Thu Oct 05, 2006 10:15 am    Post subject: Reply with quote

Why scripts don't work in Zoom Player 5.0 Preview 8? (cannot find launched player)
Back to top
View user's profile Send private message Visit poster's website
kanski
Newbie


Joined: 05 Oct 2006
Posts: 5

PostPosted: Fri Oct 06, 2006 11:42 am    Post subject: Reply with quote

[quote="kanski"]Why scripts don't work in Zoom Player 5.0 Preview 8? (cannot find launched player)[/quote]

Problem fixed! Setting "Save configuration to a local file" must be disabled.

Next question:
How add to script navigator by MediaLibrary Navigator, by File navigator and other (see context menu Navigator)?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows All times are GMT + 2 Hours
Goto page Previous  1, 2, 3, 4, 5  Next
Page 3 of 5

 
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group