Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Open a Program from FileMaker


GarryDallasISD

Recommended Posts

Hello.

 

I am trying to automate something in one of my filemaker files.

 

I have a field that has the computer name of all of my computers. (About 600 of them)

 

I am wanting to be able to click on a field and open a program called VNC Viewer.

 

I figured out how to open the program using a script to call the "Send Event" and it will open my program, but I cannot figure out how to put the paramater with it.

 

Ex. From the Run command I can type:

"C:\Program Files\RealVNC\VNC4\VNCViewer.exe" "computer200"

 

and the program will open and try and connect to that computer. When I run my script from filemaker it will only open the program, it will not put the "computer200" on to it.

 

Any ideas or help would be wonderful.

 

Thanks

Garry

Link to comment
Share on other sites

The calculation "C:\Program Files\RealVNC\VNC4\VNCViewer.exe " & fieldname [fieldname being the one where you have the name of the computer stored]

 

will execute the command line C:\Program Files\RealVNC\VNC4\VNCViewer.exe computer200 -when used in a "Send Event" with a calculation [assuming your current record is the one for computer200]

 

It is important to have the SPACE before closing your quotes, otherwise your command line will look like this:

 

C:\Program Files\RealVNC\VNC4\VNCViewer.execomputer200

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...

Important Information

Terms of Use