Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Select "Cross ARM GCC" by SWT script(SWT and select text in python)
Select "Cross ARM GCC" by SWT script [message #1790034] Sun, 03 June 2018 17:51
Jiri Pospisil is currently offline Jiri PospisilFriend
Messages: 10
Registered: May 2018
Junior Member
Hi frends. I try generate project by script. And I have a problem. I need select text by SWT. Any idea, how to select?

I have this function:
def project_create(name):
	SWT.viewByTitle("Project Explorer").setFocus()"File").menu("New").menu("Project...").click()
	SWT.textWithLabel("Wizards:").setText("C project")
	SWT.button("Next >").click()
	#SWT.viewByTitle("Project Explorer").setFocus()"File").menu("New").menu("C Project").click()
	SWT.textWithLabel("Project name:").setText(name)
	SWT.tree().getTreeItem("Makefile project").select().click()
	SWT.tree().getTreeItem("Makefile project").expand()

	# Select "Cross ARM GCC here"

  • Attachment: Problem.PNG
    (Size: 31.22KB, Downloaded 24 times)
Previous Topic:Select "Cross ARM GCC" by SWT script
Next Topic:Select "Cross ARM GCC" by SWT script
Goto Forum:

Current Time: Tue Nov 13 07:35:57 GMT 2018

Powered by FUDForum. Page generated in 0.01805 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top