FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

itunes double click

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


Joined: 01 May 2006
Posts: 6
Location: Paris, France

PostPosted: Mon Jun 05, 2006 8:29 pm    Post subject: itunes double click Reply with quote

Is there a way to make itunes in salling clicker double click instead of a single
click.

The reason for this is i have a script that will open a highlighted song in VLC when a song is already playing in itunes. I am using this to have multi zone multi mp3 playing in my house. The same guys that wrote Airfoil have a free app called Detour with this i am able to send itunes to my macs headphone jack while i am sending VLC to an M-audio Firewire device.
Back to top
View user's profile Send private message
salling
Site Admin


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

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

Hi "Dude",

I'm not sure I understand what you mean. Salling Clicker does not click tracks in iTunes at all. It asks iTunes to play tracks through the magic that is AppleScript.

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


Joined: 01 May 2006
Posts: 6
Location: Paris, France

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

OK fair enough

Is there a way to select a track in itunes and not have it play.

Here is the applescript i am using in itunes. The way it works is, if itunes is playing a song i can highlight another track and then run this script. This will open VLC and start playing the highlighted track.


tell application "iTunes"
get selection of front browser window
if (selection of front browser window) is not {} then
if player state is playing then
set sel to selection
set x to item 1 of sel
set thetrack to location of x
tell application "VLC"
open thetrack
play
end tell
end if
end if
end tell
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 Mac 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 cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group