I have an ArcGIS 10.1 script tool that creates an ArcSDE connection folder and copies data from the server to a new folder on the users computer. The tool has no parameters runs fine but when you open the tool it gives the default "this tool has no parameters" interface the user then presses ok and the tool runs. Is there anyway(perhaps with toolvalidator) to just run the script when the tool is opened without this pop-up?
enter image description here
1 Answer 1
If you add a geoprocessing tool to a toolbar it will run immediately upon clicking it, provided it has no parameters:
Screenshot
-
I believe this was added at 10.0: help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//…blah238– blah2382013年10月17日 18:25:55 +00:00Commented Oct 17, 2013 at 18:25
-
Awesome I had no idea they added that.landocalrissian– landocalrissian2013年10月18日 21:26:53 +00:00Commented Oct 18, 2013 at 21:26
Explore related questions
See similar questions with these tags.