View previous topic :: View next topic |
Author |
Message |
Jerryskate Junior Member
Joined: 14 Jan 2006 Posts: 21 Location: gothenburg
|
Posted: Tue Jan 17, 2006 2:56 pm Post subject: |
|
|
this script just starts it? or did you want me to include it to the other script?
yeah i noticed it was a little buggy, sometimes it just keept going trough albums even when the key was realesed.. |
|
Back to top |
|
 |
mark hunte Junior Member
Joined: 20 Dec 2005 Posts: 39
|
Posted: Tue Jan 17, 2006 3:09 pm Post subject: |
|
|
Its already in the script. So the problem seems to be some where in the key pressed.
[quote]eah i noticed it was a little buggy, sometimes it just keept going trough albums even when the key was realesed..[/quote]
Yes that what I get.
also I have taken this line out.[code:1]click menu item "Jump to Current Album" of menu 1 of menu bar item "File" of menu bar 1[/code:1]
from the sub routine below. works better without it.
[code:1]on keypressPlay()
tell application "CoverFlow"
activate
end tell
tell application "System Events"
tell process "CoverFlow"
click menu item "Launch Album" of menu 1 of menu bar item "Album" of menu bar 1
click menu item "Jump to Current Album" of menu 1 of menu bar item "File" of menu bar 1
end tell
end tell
end keypressPlay[/code:1]
I need to go out now, but will pick this up again later.
Let me know how you get on.
Also can you let me know how the search script is.
thanks |
|
Back to top |
|
 |
salling Site Admin
Joined: 27 Jul 2004 Posts: 7498 Location: Stockholm, Sweden
|
Posted: Tue Jan 17, 2006 3:26 pm Post subject: |
|
|
Have fun with this guys.
Press dpad to play the selected album. Hold dpad to move to the currently playing album.
Bonus points if you add "update code" to grab the currently playing track from iTunes.
Best.
--
Jonas |
|
Back to top |
|
 |
Jerryskate Junior Member
Joined: 14 Jan 2006 Posts: 21 Location: gothenburg
|
Posted: Tue Jan 17, 2006 3:50 pm Post subject: |
|
|
yeah now the search works better, it doesnīt get stuckt, nice!
Jonas, the script looks good, starts the album for me, search trough albums doesnt work though..
Hmm i have one script that does what the other donīt.. :lol:
Will se if i can do something whit this ( i never used applescript or any similiar so it is a shot in the dark though, cause i dont know what im doing.. ) :P |
|
Back to top |
|
 |
mark hunte Junior Member
Joined: 20 Dec 2005 Posts: 39
|
Posted: Tue Jan 17, 2006 8:01 pm Post subject: |
|
|
Hi thanks Jonas, will look at that, As I keep saying learning curve here for me and your SEC helper. But its amazing the potential. |
|
Back to top |
|
 |
salling Site Admin
Joined: 27 Jul 2004 Posts: 7498 Location: Stockholm, Sweden
|
Posted: Tue Jan 17, 2006 8:07 pm Post subject: |
|
|
Feel free to grab my script and add your search functionality to it. I don't have the time to keep working on mine, but wanted to iron out some of the issues I found with one of the earlier copies in this thread.
Best.
--
Jonas
[quote="mark hunte"]Hi thanks Jonas, will look at that, As I keep saying learning curve here for me and your SEC helper. But its amazing the potential.[/quote] |
|
Back to top |
|
 |
mark hunte Junior Member
Joined: 20 Dec 2005 Posts: 39
|
Posted: Wed Jan 18, 2006 12:37 am Post subject: |
|
|
Thanks again Jonas,
Ok as you can see I got hooked.
This version includes the search routine.
I also decided to make the enter Play/Pause. |
|
Back to top |
|
 |
Jerryskate Junior Member
Joined: 14 Jan 2006 Posts: 21 Location: gothenburg
|
Posted: Wed Jan 18, 2006 8:58 am Post subject: |
|
|
hi guys, thanks for the work on the script.. hmm i cant seem to get this version to work with search, it does work to play an album though.. |
|
Back to top |
|
 |
mark hunte Junior Member
Joined: 20 Dec 2005 Posts: 39
|
Posted: Wed Jan 18, 2006 10:32 am Post subject: |
|
|
whats it do when you hit the 'more' button.
It should bring up on your phone a text area for you to type and send. |
|
Back to top |
|
 |
Jerryskate Junior Member
Joined: 14 Jan 2006 Posts: 21 Location: gothenburg
|
Posted: Wed Jan 18, 2006 3:15 pm Post subject: |
|
|
hi mark,
hmm it doesnt seem to do anything, the only thing it does is start the album.. |
|
Back to top |
|
 |
mark hunte Junior Member
Joined: 20 Dec 2005 Posts: 39
|
Posted: Wed Jan 18, 2006 3:19 pm Post subject: |
|
|
Sorry I want to clarify.
are You saying when you click your ' MORE' button and the music starts?? |
|
Back to top |
|
 |
salling Site Admin
Joined: 27 Jul 2004 Posts: 7498 Location: Stockholm, Sweden
|
Posted: Wed Jan 18, 2006 3:27 pm Post subject: |
|
|
The script works great for me here! (tested on a Nokia N70, but I do not see how there'd be problems with other devices).
One suggestion for an improvement: make it more obvious how to clear the search field so I can again see all albums (I noticed that hitting "More" again, and cancelling did the trick).
Best.
--
Jonas |
|
Back to top |
|
 |
mark hunte Junior Member
Joined: 20 Dec 2005 Posts: 39
|
Posted: Wed Jan 18, 2006 3:44 pm Post subject: |
|
|
Thanks Jonas, I was getting worried there.
I put the clear search, there on purpose ( should have said) as you need to have it clear to do a new search.
The way I get back, is use the 'Down' button to get back to current album.
I was also thinking of using the alpha/numric buttons for other functions.
Next track, Prev track, sound and so on.
But I do not think I can get it up to scratch of the iTunes remote already
in SC. But it may be worth adding something any way.
I may figure a way to use the more button to link to the iTunes scripts.
But not holding my breath. |
|
Back to top |
|
 |
Jerryskate Junior Member
Joined: 14 Jan 2006 Posts: 21 Location: gothenburg
|
Posted: Wed Jan 18, 2006 3:46 pm Post subject: |
|
|
[quote="mark hunte"]Sorry I want to clarify.
are You saying when you click your ' MORE' button and the music starts??[/quote]
what i get is, at first "want to laung coverflow" then it opens and i see a messagewindow how to use the controlls.. thats it. i use the josytick and press on the current album, it starts. if i press again, itunes pauses, if i press again, the song starts over from the start.
no other button works?
im using it on a SE K700i |
|
Back to top |
|
 |
Jerryskate Junior Member
Joined: 14 Jan 2006 Posts: 21 Location: gothenburg
|
Posted: Wed Jan 18, 2006 3:47 pm Post subject: |
|
|
hmm seems to work for you guys.. :( |
|
Back to top |
|
 |
|