Ragazzi,io non conosco l'inglese.Ho bisogno di un aiuto con una listbox nella quale ci son mp3.Come faccio a fare in modo che alla fine del brano passi da solo all'altro?? Premetto che io non sono pratica ,e' la prima volta che lo uso e sono andata a stimo,chi volesse darmi una mano in ITALIANO puo' scrivermi a [email protected] cosa ::::Sapete se c'e' un manuale in italiano?? Ringrazio per la pazienza :confused:
Announcement
Collapse
No announcement yet.
I need help
Collapse
X
-
Re: I need help
[autoweb translation]
Boys, I do not know inglese.Ho the need of an aid with a listbox in which son mp3.Come I make us to alone make so that to the end of brano the steps the other? Premetto that I am not practical,e' before the time that the use and has gone to estimates, who wanted gives to me one hand in ITALIAN puo' to write to me to [email protected] what::::Sapete if there e' a handbook in Italian? Ringrazio for the patience
[/autoweb translation]
[english response]
If I understand your question. After the current song ends you want to start the next song from a listbox? If that is your question I have provided some code below. It will require that you have a list of songs in your listbox. For the ON SONG END event it will perform the actions below.
[/english response]
[web translated italian response]
Se capisco la vostra domanda. Dopo che le estremità che correnti di canzone desiderate iniziare la canzone seguente da un listbox? Se quella è la vostra domanda io hanno fornito un certo codice qui sotto. Richiederà che avete una lista delle canzoni nel vostro listbox. Per SOPRA l'evento di CONCLUSIONE di CANZONE realizzerà le azioni qui sotto.
[/web translated italian response]
ON SONG END event
//This will randomly play another song from your listbox
%Total% = ListBoxObject[ListBox1].GetProperty ("Item Count")
%RandomNum% = Variable.SetRandomValue (Number, 1, %Total%)
ListBoxObject[ListBox1].Select (%RandomNum%)
%SelectedIndex% = ListBoxObject[ListBox1].GetSelected
%ItemData% = ListBoxObject[ListBox1].GetItemData (%SelectedIndex%)
MP3.Load ("%ItemData%")
MP3.Play
-------Cut and paste code--------
<IR_ACTIONS_LIST>
<Action name="Get Property">
<Type>123</Type>
<Function>0</Function>
<DTIndentLevel>1</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%Total%</Variable>
<ObjectName>ListBox1</ObjectName>
<Property>Item Count</Property>
</Action>
<Action name="Set Random Value">
<Type>65</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%RandomNum%</Variable>
<Method>0</Method>
<Maximum>%Total%</Maximum>
<Minimum>1</Minimum>
<Mask/>
</Action>
<Action name="Select">
<Type>122</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<TargetListBox>ListBox1</TargetListBox>
<SelectType>2</SelectType>
<Index>%RandomNum%</Index>
<IndexDelimiter>;;</IndexDelimiter>
<SelectBy>0</SelectBy>
</Action>
<Action name="Get Selected">
<Type>126</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<TargetListBox>ListBox1</TargetListBox>
<Variable>%SelectedIndex%</Variable>
<VariableDelimiter>;;</VariableDelimiter>
</Action>
<Action name="Get Item Data">
<Type>121</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<TargetListBox>ListBox1</TargetListBox>
<Index>%SelectedIndex%</Index>
<Variable>%ItemData%</Variable>
</Action>
<Action name="Load">
<Type>105</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<MP3File>%ItemData%</MP3File>
<External>1</External>
</Action>
<Action name="Play">
<Type>106</Type>
<Function>0</Function>
<DTIndentLevel>2</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
</Action>
</IR_ACTIONS_LIST>
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
-
-
Re: I need help
OK ti spiego cosa ho fatto .Nelle proprieta' della mia listbox nella sezione item ho messo questo percorso (per ogni canzone) nameofsong::%SrcDir%/folders/file.mp3.
Penso sia corretto.Ora per il codice che mi hai dato esattamente DOVE lo devo incollare? Scusa la mia ignoranza ma sono nuova,CMQ GRAZIE E GRAZIE MILLE.Fatemi sapere ciao
Comment
-
-
Re: I need help
Il codice che ho assicurato dovrebbe essere disposto nell'evento su conclusione di canzone del giocatore MP3 "". Scatti sopra il Project -> MP3 Player. Allora in "Select an event to edit:" scelga "On Song End" e disponga il codice là.
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Comment
-
-
Re: I need help
OK perfetto .Lavora solo un'ultima cosa :e' possibile che il brano che sta suonando in quel momento venga anche selezionato? In modo da capire che qual'e' il brano che suona in quel momento.E per fare una barra di avanzamento??
Comunque grazie per l'aiuto che mi avete dato finora
Comment
-
-
Re: I need help
Siete benvenuti. Avete altra domanda circa una barra di progresso o in anticipo o che cosa accade se la canzone corrente è selezionata ancora? Il programma di utilità di traduzione non ha tradotto molto bene.
Se desiderate mostrare il progresso di una canzone, ci è un'azione di GetProperty per MP3s che restituirà il periodo corrente del MP3 che sta giocando. Potete usare questa proprietà allora per popolare un oggetto del testo alla pagina con il tempo corrente. Questa azione che desidererete a playce "nell'evento su PROGRESSO" per il giocatore MP3. Se desiderate accertarsi che il MP3 corrente non sia selezionato a caso ancora, dovreste immagazzinare l'indice corrente di canzoni in una variabile ed in un controllo quando il numero casuale è generato che non è uguale. Se è allora generi un altro numero casuale.TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Comment
-
Comment