{"id":273,"date":"2019-11-28T12:56:32","date_gmt":"2019-11-28T12:56:32","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/lancer-une-commande-a-l-affichage-d-une-page-design-sur-jeedom"},"modified":"2024-04-21T13:17:26","modified_gmt":"2024-04-21T11:17:26","slug":"lancer-une-commande-a-l-affichage-d-une-page-design-sur-jeedom","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/es\/lancer-une-commande-a-l-affichage-d-une-page-design-sur-jeedom","title":{"rendered":"Iniciar un pedido cuando se muestra una p\u00e1gina de Dise\u00f1o en Jeedom"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-270\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/11\/logojeedom.png\" alt=\"logojeedom\" width=\"270\" height=\"187\" \/><\/p>\n<p>Busqu\u00e9 c\u00f3mo iniciar un pedido al abrir una p\u00e1gina <strong>dise\u00f1o<\/strong>.<!--more--><\/p>\n<p>La soluci\u00f3n m\u00e1s obvia ser\u00eda agregar el comando al comando que abre el dise\u00f1o, pero a veces, cuando se usa un men\u00fa en HTML, por ejemplo, no se pasa por un comando.<\/p>\n<p>El m\u00e9todo me fue dado en el foro por @<span class=\"first username\">Aidom, a quien sigo agradeciendo mucho, es sencilla. Aqu\u00ed est\u00e1:<\/span><\/p>\n<ul>\n<li>Grabado<strong>Id<\/strong> del comando que desea lanzar<\/li>\n<li>Cuando est\u00e1s en tu <strong>dise\u00f1o<\/strong>, haga clic con el bot\u00f3n derecho y, a continuaci\u00f3n, vaya a<strong> A\u00f1adir texto\/html<\/strong><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-271\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/11\/design.png\" alt=\"dise\u00f1o\" width=\"183\" height=\"395\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/11\/design.png 183w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/11\/design-139x300.png 139w\" sizes=\"auto, (max-width: 183px) 100vw, 183px\" \/><\/p>\n<ul>\n<li>En el texto, poner:<\/li>\n<\/ul>\n<pre><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">gui\u00f3n<\/span> <span class=\"hljs-attr\">tipo<\/span>=<span class=\"hljs-string\">\"texto\/javascript\"<\/span>&gt;<\/span><span class=\"javascript\">     $(<span class=\"hljs-built_in\">documento<\/span>).ready(jeedom.cmd.execute({<span class=\"hljs-attr\">id<\/span>: <span class=\"hljs-string\">'278'<\/span>})); <\/span><span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">gui\u00f3n<\/span>&gt;<\/span>\n\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-272\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/11\/Screenshot_2019-11-28_Chauffage_-_Jeedom.png\" alt=\"Captura de pantalla 2019 11 28 Calefacci\u00f3n Jeedom\" width=\"596\" height=\"141\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/11\/Screenshot_2019-11-28_Chauffage_-_Jeedom.png 596w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/11\/Screenshot_2019-11-28_Chauffage_-_Jeedom-300x71.png 300w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/>\n\n<\/pre>","protected":false},"excerpt":{"rendered":"<p>Mir\u00e9 c\u00f3mo lanzar un pedido al abrir una p\u00e1gina de dise\u00f1o.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,23],"tags":[],"class_list":["post-273","post","type-post","status-publish","format-standard","hentry","category-domotique","category-jeedom-2"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/posts\/273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/comments?post=273"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/posts\/273\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/media?parent=273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/categories?post=273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/es\/wp-json\/wp\/v2\/tags?post=273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}