% % create the .jsx for button and center x,y % "ImageOrdinal = 0; TargetPath = " snap &"Spotbut" folder dup !Spotbuts tojsquo js&;& &'HostData("TargetPath"); TargetDocName = TargetPath + "Spotbut"; HostData("TargetDocName"); ' &"function Sources() { " 0 !Gwiz.Btn "_Gwiz" text*bin &"} " "Sources" jsx!desk