kathyba Posted September 13, 2002 Posted September 13, 2002 How do I set it so I can have a button on the screen that, when clicked, opens an associated JPG in a folder on my harddrive? Just Open File script makes me have to select a file, but I put the file name into a field in the data. I am new at this.
kenneth2k1 Posted September 13, 2002 Posted September 13, 2002 I don't have it, but from what I understand FM6 can do this. The Troi File plugin also does and gives you alot of useful tools. Ken
falkaholic Posted September 13, 2002 Posted September 13, 2002 If you have a Mac, you can do it with AppleScript. Since you can run an AppleScripts from a script, you simply pass the AppleScript a value (the path) then run the AppleScript. Thats the only non plugin way I can think of.
ssfire Posted September 13, 2002 Posted September 13, 2002 I do this all the time! All you have to do is use the GetURL script step and point it to the location of the picture on your hard drive. Good luck!
Newbies DGMags Posted September 15, 2002 Newbies Posted September 15, 2002 I believe you could do this with either the Open URL script step or the Send Message (for Windows) or Send Apple Event (for Mac) script step. Check the help screens for these commands for more information. For the URL, you'd need to preface the full file name with "file://". For the Send Message step, you may need to place quotes around a file name that contains spaces. One thing I don't think you can do is to open another FileMaker file whose name is contained in a field. The Open URL step requires that certain system components be installed. Again, check FM help. Regards...
Recommended Posts
This topic is 8110 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now