Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pro 5.5 1

Status
Not open for further replies.

darrenrd

Technical User
Apr 10, 2002
166
US
is there a way to create a button to open an external program in pro 5.5..(explained) database that has a button that when clicked will lauch m.s word or some similar program. i looked thru the script maker but couldnt find anything. i have no idea how to write or edit a script for filemaker or how to lauch it when written, any help would be great...thanks
 
See what Send DDE and/or open URL can do for you.

HTH
 
If you are on a Windows system Send Event is the one you want to use. For example, to open a Microsoft Word document named "January.doc" located in the folder: "c:\Reports\FY2005" you would use a syntax like:

Send Event ["c:\Reports\FY2005\January.doc"]

That will open the document if the extension "doc" is associated with MS Word on your system. Most are.

If you wanted to just open a program like Notepad for instance, the syntax would be:

Send Event ["notepad.exe"]

You MAY have to include the path to the executible for some programs. Example:

Send Event ["c:\Windows\System32\Notepad.exe"]

-Striker
 
I just noticed that you are on v5.5. I think it was called Send Message back in the 5.5 days. Now it is called Send Event. Personally I think both of them are poorly named, especially Send Message. Send Message implies that you use it to send a message to another user. This is not what it does at all and Send Event isn't much better.

I think it should have been named something like Send Command because what it is really doing is sending a command to the operating system.

-Striker
 
jean thanks the "send url" did the trick for me. striker thanks after jean's post it sent me in the right direction, i figured out how to narrow it down to a specific file, but i agree with you 100% what is the hard in "send command" it is a fairly simple command but finding it is the real fun. i just download the trail of 7.0 is it really all that much better...other then the fact that it has some better templates and effects is it worth the money? thanks again to both of you.
 
Version 7 is really different from version 6. I think it's probably the biggest change in FM history, at least recent history.

In previous versions you had one table per file. You could relate data from one file to the next but scripts were not really able to be shared. This means that there is a lot of duplication of scripts (effort) when you get more than a couple files (tables) involved in your application.

Security is 500% better in FM7. In previous versions it was pretty hokie but with 7 its what you would expect to see.

DB capacities have been greatly increased too with v7.

If you are just getting started on developing in FM I wouldn't even consider an earlier version. If you have a lot of stuff already built, that's another story.

At the end-of-the-day, you have to follow the crowd eventually but it's up to you to determine how far back you're willing to travel.

-Striker
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top