FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

foobar script v1.0 (and a suggest!)

 
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows
View previous topic :: View next topic  
Author Message
baicker
Newbie


Joined: 23 Mar 2007
Posts: 11

PostPosted: Fri Mar 23, 2007 7:11 pm    Post subject: foobar script v1.0 (and a suggest!) Reply with quote

first time use the salling clicker today,and write the simple script for learning

my system:
windows2003, Sony Ericsson w810c

[color=red]Foobar Remote Controler v1.01 update[/color]
1 -- Display title
2 -- Active the foobar
you should amend the class_name and foopath in the js file,my is {E7076D1C-A7BF-4f39-B771-BCBE88F2A2A8},maybe your's is different

key config:
[color=red]O -- Play/Pause
< -- Preview
> -- Next
^ -- Vol Up
v -- Vol Down
* -- Backward
# -- Forward
C -- Exit foobar[/color]

my foobar was setted the global hotkey, you should set the same global hotkey,so the script can work well

my foobar global hotkey:
[color=red]Play/Pause -- Alt+P
Preveiw -- Alt+,
Next -- Alt+.
Vol Up -- Ctrl+Up
Vol Down -- Ctrl+Down
Backward -- Ctrl+Left
Forward -- Ctrl+Right
Exit -- Alt+X[/color]

i'm a chinese ,sorry for my pool english:)
I like chinese ,so if you don't like the language ,amend the script where was written by chinese

[color=red]to salling : the code [b]widget.CreateRow( "○ -- 播放/暂停", scLeft, scWrap, scSmall );[/b],i use the scLarge or scSmall,it's the same display on my w810c,why?
And the screen of my w810c can't show all my output Because of the big font style,so i suggest the small fonts configuration very very strongly(and that the font style is not so beautiful per se)[/color]



foobar_scripts.zip
 Description:
Foobar Controler Script v1.01

Download
 Filename:  foobar_scripts.zip
 Filesize:  1.41 KB
 Downloaded:  1887 Time(s)


foobar_scripts.zip
 Description:
Foobar Controler Script v1.0

Download
 Filename:  foobar_scripts.zip
 Filesize:  1.26 KB
 Downloaded:  1179 Time(s)



Last edited by baicker on Fri Mar 23, 2007 8:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
salling
Site Admin


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

PostPosted: Fri Mar 23, 2007 7:45 pm    Post subject: Reply with quote

Hi,

If the w810c doesn't show this as any smaller, it's because the Java environment on your phone doesn't support a smaller font.

Our "small", "medium", and "large" font settings in the text rows map exactly to the three font sizes allowed by the Java/MIDP specification.

Best.
--
Jonas
Back to top
View user's profile Send private message Send e-mail Visit poster's website
baicker
Newbie


Joined: 23 Mar 2007
Posts: 11

PostPosted: Fri Mar 23, 2007 8:12 pm    Post subject: Reply with quote

[quote="salling"]Hi,

If the w810c doesn't show this as any smaller, it's because the Java environment on your phone doesn't support a smaller font.

Our "small", "medium", and "large" font settings in the text rows map exactly to the three font sizes allowed by the Java/MIDP specification.

Best.
--
Jonas[/quote]


3Q,maybe it's my phone's problem
Back to top
View user's profile Send private message
Angel_de
Newbie


Joined: 23 May 2007
Posts: 4

PostPosted: Wed May 23, 2007 12:50 pm    Post subject: Reply with quote

Where can i find the classpath?

The plugin doesn't work for me at this time. All i get are strange signs behind the signs O, <, > and so on ...

+ it isn't stoppable. Pushing "exit" doesn't work.
Hope you can help me.
Back to top
View user's profile Send private message
baicker
Newbie


Joined: 23 Mar 2007
Posts: 11

PostPosted: Wed May 23, 2007 1:32 pm    Post subject: Reply with quote

[quote="Angel_de"]Where can i find the classpath?

The plugin doesn't work for me at this time. All i get are strange signs behind the signs O, <, > and so on ...

+ it isn't stoppable. Pushing "exit" doesn't work.
Hope you can help me.[/quote]

thanks for useing:)
Maybe you should config the foobar global hotkey
Back to top
View user's profile Send private message
bazzybazz
Newbie


Joined: 24 Oct 2006
Posts: 6

PostPosted: Wed May 23, 2007 3:07 pm    Post subject: Reply with quote

hey i have been waiting for this script a long time..THANKS!!!

it is really nice, but none of the buttons work for me :(
I also set my global hot keys like you, but I can only launch the app, nothing more. any chance you can also translate all the chinese characters in english? that would be awesome
Back to top
View user's profile Send private message
Angel_de
Newbie


Joined: 23 May 2007
Posts: 4

PostPosted: Wed May 23, 2007 3:55 pm    Post subject: Reply with quote

[quote="bazzybazz"]
it is really nice, but none of the buttons work for me :(
I also set my global hot keys like you, but I can only launch the app, nothing more. any chance you can also translate all the chinese characters in english? that would be awesome[/quote]

that's the exact problem i have too ...
and where can i find which classpath i have to use in the config-file ?
Back to top
View user's profile Send private message
baicker
Newbie


Joined: 23 Mar 2007
Posts: 11

PostPosted: Mon Jun 25, 2007 8:36 am    Post subject: foobar script, don't need any other soft or plugin Reply with quote

long time to here
this is the english version
i havn't made mention of classpath, maybe you can contact me on MSN
baicker@hotmail.com



foobar2000.rar
 Description:
Foobar Controler Script en v1.01

Download
 Filename:  foobar2000.rar
 Filesize:  1.3 KB
 Downloaded:  1320 Time(s)

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


Joined: 08 Nov 2007
Posts: 3

PostPosted: Thu Nov 08, 2007 8:55 pm    Post subject: Problem Reply with quote

I tried to launch Foobar from phone but my pc says "can't find the path "c:program files....\foobar2000.exe" or something like that.

I corrected the path from the js file but still same problem.

Any one can help???
Back to top
View user's profile Send private message Send e-mail MSN Messenger
baicker
Newbie


Joined: 23 Mar 2007
Posts: 11

PostPosted: Fri Nov 09, 2007 5:15 am    Post subject: Re: Problem Reply with quote

[quote="Oral Gerek"]I tried to launch Foobar from phone but my pc says "can't find the path "c:program files....\foobar2000.exe" or something like that.

I corrected the path from the js file but still same problem.

Any one can help???[/quote]

Please use the format like this "f:\\Program Files\\foobar2000\\"
the variable foopath ("f:\\Program Files\\foobar2000\\") is just the filepath of foobar ,don't include filename
Back to top
View user's profile Send private message
Oral Gerek
Newbie


Joined: 08 Nov 2007
Posts: 3

PostPosted: Fri Nov 09, 2007 8:18 pm    Post subject: Reply with quote

I corrected the path after a few seconds that I sended my previous message.

Now, my phone can launch foobar but can't send key commands to foobar. I did all of that global key, checked from the js file but it didn't.

If you can say how to sending key commands without using codes of them like 0x50,false,false,true,false. Can I do them with classes {DA7CD0DE-1602-45e6-89A1-C2CA151E008E} like this???

PS: Sorry for my English :(
Back to top
View user's profile Send private message Send e-mail MSN Messenger
baicker
Newbie


Joined: 23 Mar 2007
Posts: 11

PostPosted: Sat Nov 10, 2007 6:01 am    Post subject: Reply with quote

[quote="Oral Gerek"]I corrected the path after a few seconds that I sended my previous message.

Now, my phone can launch foobar but can't send key commands to foobar. I did all of that global key, checked from the js file but it didn't.

If you can say how to sending key commands without using codes of them like 0x50,false,false,true,false. Can I do them with classes {DA7CD0DE-1602-45e6-89A1-C2CA151E008E} like this???

PS: Sorry for my English :([/quote]

i just use the function SendVirtualKeystroke to send hotkeys,the script i wrote is so long time,and i havn't learn the SALLING Clicker's language deeply,so i just wrote the simple script for foobar,about the function please click the link
http://www.salling.com/forums/viewtopic.php?t=3046
Back to top
View user's profile Send private message
baicker
Newbie


Joined: 23 Mar 2007
Posts: 11

PostPosted: Sat Nov 10, 2007 6:18 am    Post subject: Reply with quote

BTW:
my mobilephone is sony ericsson W810c, the script is running well on it
somebody said that none of the buttons work,i think it is because the key on your phone is not the same key on my phone ,for example
[color=green] if( theKey == "s" ) {
SendVirtualKeystroke( 0x50,false,false,true,false ); [/color]
it means the key "s" is used to play/pause the music ,and it is on the center of the phone,if your phone is not W810c,maybe you should define the key(here is the "s") yourself

maybe my english is really pool,sorry for that
MSN:baicker@hotmail.com
Back to top
View user's profile Send private message
Oral Gerek
Newbie


Joined: 08 Nov 2007
Posts: 3

PostPosted: Sat Nov 10, 2007 1:52 pm    Post subject: Reply with quote

You may right. My phone is K750i. I must find it's key codes and correct in the script. Thanks for your interest.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
baicker
Newbie


Joined: 23 Mar 2007
Posts: 11

PostPosted: Sun Nov 11, 2007 2:25 pm    Post subject: use the script to find the key code Reply with quote

use the script to find the key code


key.rar
 Description:
use the script to find the key code

run it on your phone, and press any key,then see the computer screen

Download
 Filename:  key.rar
 Filesize:  671 Bytes
 Downloaded:  998 Time(s)

Back to top
View user's profile Send private message
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
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group