Hello, I’m back with few noob questions :
Hello, I’m back with few noob questions :
I’ve used TrianguloY’s script maker to go to a position, wait for 2 seconds then open a folder, but (see picture) :
1) I’ve set a shortcut “go to a position” how can I get its coordinate?
2) to open the folder, I’ve write (copy from a script)
“LL.getItemById(00000b) . launch();\/\/Open folder “
But get an error :” missing )” at line 6
Have looked at the wiki, but don’t understand… 🙁
Thank you
]]>
< ![CDATA[
1)you can either run the script from the shortcut and use ‘launch this shortcut’ or go to the position, run the script from there and use ‘desktop bookmark’
2) is that the output of the script maker? I don’t think so, the number 00000b is in hexadecimal, you must write 0x before, or directly write 11
You are copy-pasting the scripts, if you want to open the folder one second after (didn’t you say you want two seconds? ) you need to paste the LL.getItemById(11).blablabla after the line where it says ‘launch after’ but before the line where it says ‘1 second’
]]>
< ![CDATA[
Like that? I got the error “illegal caractère at line 3”
LL.getContainerById(0) .setPosition(100,1000,1,true) ;//Desktop Bookmark
setTimeout(function(){// Launch after… },1000)
LL.getItemById(11) . launch();\/\/Open folder
;//…1 second
Sorry 🙁 I know that for you, it’s basic
2) I’ve copy from the sript of the script maker, case f i think, and try to arrange it to what make sense to me, I don’t know scripting and try to understand 🙂
Thank you
]]>
< ![CDATA[
What looks wrong to me, is the bit \/\/, this should be just //
]]>
< ![CDATA[
Thanks Tim van der Leeuw that’s it and some space and line break 🙂 I thought it was an annotation
And thanks TrianguloY
]]>
< ![CDATA[
Exactly that Tim van der Leeuw, didn’t notice it
Thanks 🙂
]]>
< ![CDATA[
But…
Wait!
When I said… XD
I said before the line where it says ‘1 second’, otherwise it don’t wait. The correct script should be
LL.getContainerById(0).setPosition(100,1000,1,true);//Desktop Bookmark
setTimeout(function(){// Launch after…
LL.getItemById(11).launch();//Open folder
},1000);//…1 second
]]>
< ![CDATA[
Your are the bests guys! Thanks again 🙂
]]>