Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6811 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm having trouble getting this command to work. What I want to do is use adobe reader to open up a pdf file, but I tried an example first to see if it works.

I went to the filemaker website and tried "Sed DDE Execute[service Name: "iexplorer"; Topic: "WWW_OpenURL"; Commands: "www.filemaker.com"]

This is the example they give that will open up IE and go to the filemaker website. I put this in a script, and tried running it and nothing happened. This is on a windows system...am I doing something wrong?

Posted (edited)

The error code I get is 3. which says that the command isn't available. Now, I'm using remote desktop to a windows machine and working on the file there and running the scripts over remote desktop. Could this be a reason why it isn't working?

Edited by Guest
Posted

Could someone please help me? I am trying to open up a pdf file and then printing it. The names of the pdf files come from id numbers in the database though. so when you click on an id in a portal the pdf will open up and then it will print. I can't seem to find any good examples on how to use the DDE Execute. I tried the example given for opening internet explorer but it doesn't work, I get an error that it can't find or cannot use the program. Do I need to have certain permissions on the computer to be able to use this command?

Posted

It's for windows. I have been reading the adobe acrobat sdk about dde, but I am not sure how those commands are used with the dde command in filemaker. I still can't find the service name for adobe acrobat.

Posted

Is the reason you want to use DDE because you want to automatically open and then automatically print too? Or would simply opening the PDF do?

Posted

Well, the client wants it to auto open and print the file. The files are in a folder over the network. So they click on a button in one of the portal rows, and the id number for that row is also the name of the pdf file. So it is supposed to open the file, then print the file. Before I was just creating a url link to the file and it would open in internet explorer and they could print from there but I can't do that in this case, or it would be better if I could just open it up with adobe acrobat reader.

Posted

Try using Send Event instead of Open URL. Send Event sends commands to the operating system. In my opinion it is poorly named. It probably should have been called Send Command.

Take a look at this page:

http://www.planetpdf.com/forumarchive/49365.asp

I haven't tried it but it looks like you can set a command line switch to print a PDF.

Posted

I tried using that. I get 3 as my last error, which is something like cannot find the service on the computer. But adobe acrobat 6.0 is installed, and I used acrobat.exe... does it only work with the latest version of adobe acrobat/reader?

This topic is 6811 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.