How to use external tool?

Mac OSX specific forum
wombats
Enthusiast
Enthusiast
Posts: 663
Joined: Thu Dec 29, 2011 5:03 pm

How to use external tool?

Post by wombats »

I want to create an external tool that launches when my project is compiled. However, it doesn't work when I add it to the "Configure Tools" dialog.

To test it, I created a program that just opens a message box.

When I click the tool in the "Tools" menu, it doesn't run.

Is there something special that needs to be done to make them work?

Image
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: How to use external tool?

Post by mk-soft »

Path not complet...
and use double-quotes

"/Volumes/SD Card 1/MyTool.app/Contents/MacOS/MyTool"
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
wombats
Enthusiast
Enthusiast
Posts: 663
Joined: Thu Dec 29, 2011 5:03 pm

Re: How to use external tool?

Post by wombats »

It works when I set "Commandline" to the exec file within the bundle, so thank you for that hint. I was using the .app because that's what the file selector would let me pick.

It does not work with double-quotes, but it does without.
User avatar
ustuode
New User
New User
Posts: 6
Joined: Thu Dec 06, 2018 5:46 am

Re: How to use external tool?

Post by ustuode »

whatever how I configure my test item in configure tools ,it dont work~ I click in the menu of my item, nothing happend :shock: :shock: :shock:
Image
User avatar
Ajm
Enthusiast
Enthusiast
Posts: 234
Joined: Fri Apr 25, 2003 9:27 pm
Location: Kent, UK

Re: How to use external tool?

Post by Ajm »

You need the command line to point to the executable within the .app bundle.

Regards

Andy
Regards

Andy

Image
Registered PB & PureVision User
User avatar
ustuode
New User
New User
Posts: 6
Joined: Thu Dec 06, 2018 5:46 am

Re: How to use external tool?

Post by ustuode »

Ajm wrote:You need the command line to point to the executable within the .app bundle.

Regards

Andy
thank u , it works, it need written like this /test.app/Contents/MacOS/test
Post Reply