Ticki84 Posted February 2, 2014 Share Posted February 2, 2014 Hello everyone, I try to do an script for a Music Jukebox. When someone send a youtube link on Mumble, it will click on it and the music will start, after that it send a message. If somebody send another link, it will stop the older one. But it seem no work i don't know why, can somebody help me? Local $1time = 1 Local $check While 1 $check = PixelGetColor(340, 972);Take the color If $check = 0x0000FF Then;Compare to a link color Sleep(100) If $1time = 0 Then MouseClick("left", 169, 1029);Go on firefox Sleep(100) MouseClick("left", 1640, 56);Kill applet Sleep(100) Else $1time = 0 EndIf Sleep(1000) MouseClick("left", 280, 966);Click on the link Sleep(10000) MouseClick("left", 104, 1029);Go to Mumble Sleep(100) MouseClick("left", 102, 910);Go to Mumble2 Sleep(100) MouseClick("left", 261, 992);Click to speak Sleep(100) Send("Musique reçue.");Send a msg Sleep(100) EndIf Sleep(100) WEnd Thx in advance. Link to comment Share on other sites More sharing options...
Neutro Posted February 2, 2014 Share Posted February 2, 2014 Hey ticki84 and welcome to the forums What doesn't work exactly? Could you give us more details ? ------------------------ Salut ticky84 et bienvenue sur les forums Qu'est ce qui ne marche pas exactement ? Peux-tu nous donner plus de détails ? Identify active network connections and change DNS server - Easily export Windows network settings Clean temporary files from Windows users profiles directories - List Active Directory Groups members Export content of an Outlook mailbox to a PST file - File patch manager - IRC chat connect example Thanks again for your help Water! Link to comment Share on other sites More sharing options...
Ticki84 Posted February 2, 2014 Author Share Posted February 2, 2014 (edited) Je suis français. En gros je lance le programme mais il m'effectue seulement les actions pour aller sur Mumble.Il ne me clique donc pas sur le lien.Il ne semble pas détecter le lien sauf que je fais plusieurs cliques gauche/droit sur l'icone du script.Trans:In short I start the script but it only goes as far as getting to Mumble.It does not click on the link.It does not seem to find the link unless I click left/right several times in the script icon. Edited February 2, 2014 by Melba23 Added translation Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 2, 2014 Moderators Share Posted February 2, 2014 Ticki84,Bien que je comprends bien le francais, nous sommes anglophone ici. Veux-tu bien poster en anglais pour que tout le monde puisse comprendre si'il te plait. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Neutro Posted February 2, 2014 Share Posted February 2, 2014 Ticki, What do you mean by "but it only goes as far as getting to Mumble"? Because your script should not do anything if the correct pixel color is not detected! ----------------- Ticki, Que veux-tu dire par "mais il m'effectue seulement les actions pour aller sur Mumble." ? Car ton script se base sur la couleur d'un pixel donc s'il ne detecte pas un lien, il ne devrait rien faire à la base! Identify active network connections and change DNS server - Easily export Windows network settings Clean temporary files from Windows users profiles directories - List Active Directory Groups members Export content of an Outlook mailbox to a PST file - File patch manager - IRC chat connect example Thanks again for your help Water! Link to comment Share on other sites More sharing options...
Ticki84 Posted February 2, 2014 Author Share Posted February 2, 2014 It only execute this: MouseClick("left", 104, 1029);Go to Mumble Sleep(100) MouseClick("left", 102, 910);Go to Mumble2 It only detect the blue color of the link if i click some times on the script icon i don't know why. ---------------- Il exécute seulement ça: MouseClick("left", 104, 1029);Go to Mumble Sleep(100) MouseClick("left", 102, 910);Go to Mumble2 Il ne détecte que la couleur bleu quand je clique plusieurs fois sur l'icone du script (dans la barre des icones en bas à droite). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now