Hey guys,<br><br>after a long time without playing with scripted plasmoid, I&#39;ve noticed that using a Service is somewhat broken.<br>I&#39;ve even tried to follow the steps descibed here [0], of course changing the following line from<br>

service = engine.serviceForSource(&quot;notification&quot;);<br><br>to<br>service = plasmoid.service(&quot;notifications&quot;, &quot;notification&quot;);<br><br>but I&#39;m still getting a &quot;TypeError: Result of expression &#39;plasmoid.service&#39;[undefined] is not a function.&quot;<br>

Does anybody know where I&#39;m wrong?<br><br>Oh, an other thing, really strange: seems like the &quot;X-Plasma-MainScript&quot; entry is completely ignored. I&#39;ve tried to start a Js<br>plasmoid , but the previewer shows nothing unless I rename the main script from &quot;project_name.js&quot; to &quot;main&quot; ( back in the old days,<br>

I set plasmate to name the mainscript as &quot;project_name.js&quot;, thus
&quot;X-Plasma-MainScript=code/project_name.js&quot;, and we had never <br>encountered a problem like this).<br>This issues happens even wihtin plasmoidviewer, so perhaps something changed inside Plasma?<br>Cheers<br><br>

Diego<br><br><br><br>[0] <a href="http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/CheatSheet#Notifications">http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/CheatSheet#Notifications</a><br>
-- <br>
H: Who is Watson without Sherlock Holmes?<br>G: Watson was a genius in his own right.<br><br>My personal blog: <a href="http://polentino911.wordpress.com/" target="_blank">http://polentino911.wordpress.com/</a><br><br>