vbscript - How can I make a VBS Message Box appear in a random place? -
in vbs script, have created simple message box application. stays in front of windows until user responds , uses simple coding
x=msgbox("test text" ,1+4069, "test title")
but appears in same place. there way of making appear in random place on screen? please help!
there 1 type of box allows position on screen: inputbox
title = "hello" defaultvaluetext = "hello stackoverflow !" message = "type here" xpos = 0 ypos = 0 text = inputbox(message,title,defaultvaluetext,xpos,ypos) xpos = 3000 ypos = 800 text = inputbox(message,title,defaultvaluetext,xpos,ypos)
Comments
Post a Comment