Robot to enter text in windows native window

hi all i need help please. my issue is that i have a native windows save print output as pop up box. i am able to have robot interact with the tab button, but cannot get the command to enter in a path in the file name box. can someone please help.

Can you not just keyPress the whole file pathway into the name area? Make the file pathway into a Keyword.

robot.keyPress('VK_T')
robot.keyRelease('VK_T')
robot.keyPress('VK_H')
robot.keyRelease('VK_H')
robot.keyPress('VK_E')
robot.keyRelease('VK_E')
blah blah blah

yes i did that and it worked. I would think there would be another way to paste the expected file name into the field. Someone said autoIT, but that is a .exe program and it appears you need to have winapp running to listen for the exe. not really ideal. thank you though for replying

Here is another method from the KS forum using the Windows Clipboard and then pasting the filename:

		StringSelection ss = new StringSelection(filePath);
		Toolkit.getDefaultToolkit().getSystemClipboard().setContents(ss, null);
		Robot robot = new Robot();
		//robot.keyPress(KeyEvent.VK_ENTER);
		//robot.keyRelease(KeyEvent.VK_ENTER);
		robot.delay(1000); //Millisecond 1 second delay only if needed
		robot.keyPress(KeyEvent.VK_CONTROL);
		robot.keyPress(KeyEvent.VK_V);
		robot.keyRelease(KeyEvent.VK_V);
		robot.keyRelease(KeyEvent.VK_CONTROL);
		robot.keyPress(KeyEvent.VK_ENTER);
		robot.keyRelease(KeyEvent.VK_ENTER);