View Single Post
Old 24th May 2011, 17:06   #682
osmosis
Major Dude
 
osmosis's Avatar
 
Join Date: Jan 2006
Location: Cananada
Posts: 841
sendto_Set Playcount.vbs
Quote:
x = GetSendToItems

if ubound(x,1) > 0 then
for each track in x
s = inputbox(track.title+vbCrLf+vbCrLf+"Currently: "+cStr(track.playcount),"Set Playcount",cStr(track.playcount))
if s <> empty then track.playcount = cInt(s)
next
end if

quit
This will run from the ML via SendTo, but not from the PL for some reason.. and for some reason the ML SendTo seems to trigger things twice, regardless of what is actually in the script.. so double dialog boxes. Anyone got any ideas?

Request: A little SmartView Query Language love.
osmosis is offline   Reply With Quote