Runscript and system.gui.getCurrentDesktop()

I have 2 desktop : primary and secondary.

runscript(“system.gui.getCurrentDesktop()”,1000) in a property of a component of a windows displayed on both desktop
return the same value : “primary”

Do runscript expression take care of the desktop ???