Vorheriges Thema anzeigen :: Nächstes Thema anzeigen |
Autor |
Nachricht |
Scriptwidgets •->


Anmeldedatum: 22.02.2007 Beiträge: 14
|
Verfasst am: 26.02.2007 - 13:57 Titel: |
|
|
iScript hat Folgendes geschrieben: | und die schleife könnt man auch gleich noch etwas galanter gestalten:
Zitat: | set cv to text returned of (display dialog "Geben sie den Songfetzen ein" default answer "" with icon 1)
-- show window "search"
set the_data to {}
tell application "iTunes"
repeat with y from 1 to (count of tracks in library playlist 1)
if (lyrics of track y in library playlist 1) contains cv then
set end of the_data to (the name of track y of library playlist 1)
end if
end repeat
end tell
display dialog the_data
set the clipboard to the_data
|
|
DANKE!!!!!!!!
Das funzt!!!!
Danke!!!!! |
|
Nach oben |
|
 |
ShooTerKo •--->


Anmeldedatum: 21.03.2006 Beiträge: 221 Wohnort: Hamburg
|
Verfasst am: 26.02.2007 - 14:08 Titel: |
|
|
Das entspricht also im Ausgangsscript statt
Code: | set the_data to the_data & ",{\"" & the_name & "\"}"
|
einem
Code: | set end of the_data to the_name | ,
oder?
CU
ShooTerKo _________________ "It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams |
|
Nach oben |
|
 |
Scriptwidgets •->


Anmeldedatum: 22.02.2007 Beiträge: 14
|
Verfasst am: 26.02.2007 - 14:45 Titel: |
|
|
jep! |
|
Nach oben |
|
 |
|