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

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

Recommended Posts

Posted (edited)

Anyone??

I did a search here for endecia - nothing.

I need to open this program called DAZzel and tell it to print my .xml. I've searched posts but can't find aything of relevence and I'm out of time.

I did have it work fine and then I sc****d something up. I'm leaving on vacation tomorrow (now Tues because of this)and have to have this automated.

Sooooo ... I was using the 'send event' in scriptmaker. Here's what they (DAZzle)say.

Using the Command Line DAZzle operations can be automated by launching DAZzle with an XML file in the command line. The specified XML file should include the optional “DAZzle” attributes to signal DAZzle

which method to invoke (and any desired options for that method). For example, this command:

dazzle.exe c:listslistfile.xml

My program is located:

C:Program FilesEnvelope ManagerDAZzleDAZZLE.exe

My xml is located:

C:Program FilesFileMakerFileMaker Pro 7xml to dazzelFMP_Dazzle_Data-output.XML

I had everything fine until.... Someone please lead me in the right direction.

Thanks

Further Notes....

'File' radio button:

program opens but that's all

'Calculation' radio button:

"filewin:/c:/Program Files/Envelope Manager/DAZzle/DAZZLE.EXE" & "C:Program FilesFileMakerFileMaker Pro 7xml to dazzelFMP_Dazzle_Data.xml"

Nothing happens..............

'Text' radio button:

same thing....

Edited by Guest
more info... someone please help...
Posted

Try,

Send Event [...]

"C:Program Files/Envelope Manager/DAZzle/DAZZLE.EXE" "C:Program FilesFileMakerFileMaker Pro 7xml to dazzelFMP_Dazzle_Data.xml"

To close the program see here.

Posted

Thanks!! Alomst..

I tried as File... wouldn't let me put it in

I tried as Calculaion... nothing happened

I tried as Text... program opened but nothing happened

So that does open the program if I use 'Send Event' (Text radio button) ["aevt";"odoc";""C:Program Files/Envelope Manager/DAZzle/DAZZLE.EXE" "C:Program FilesFileMakerFileMaker Pro 7xml to dazzelFMP_Dazzle_Data.xml"]

But the program doesn't load the xml and do anything. Possibly the file (?) but it was written by a programmer...

here it is:

http://webpages.charter.net/bobnlori/fm%20files/FMP_Dazzle_Data.xml

Any ideas anyone?:P?:?

Posted

Some things to check:

Ensure there are quotation marks around all the file paths with spaces.

Enter the program and file's file path into the Run window at the os level to test if works.

I once had trouble opening a file with a program, as you are trying here, when the file's file path had a spacing in it. The program, with spaces in the file path, would open but not the file with spaces in the file path. When I moved the file path to the root C: with no spaces it work.

To elimating problems with the xml file, will it perform as expectd when opened at a Windows level?

Posted (edited)

using the windows cmd prompt it will open the app but nothing else happens....

If I 'print from file' within the program and choose this xml it does print the labels. But it ignores all tags when done this way.... so not real good for me.

Ps I'm trying the move to root idea now...

Edited by Guest
Posted (edited)

well hang on... BRB but I thought we were there........

:P All Hail Mark !! : All Hail Mark !! :

Here was the problem............. just as with yours:

Some things to check:

I once had trouble opening a file with a program, as you are trying here, when the file's file path had a spacing in it. The program, with spaces in the file path, would open but not the file with spaces in the file path. When I moved the file path to the root C: with no spaces it work.

That does present some problems in changing.... like everything I've done so far but it works !!!

Especially since even their directory has spaces. Think I'll forward that to them...

Thanks!

Edited by Guest
Posted

What were the items, event, etc... that changed things orgianlly?

Is this xml file an export using a stylesheet from FileMaker?

Change the to in the XML file. According to page 11 in the XML Interface manual, the Test element will use sample data if it is set to "Yes."

Based on the CMD prompt test, we know the problem is not with FileMaker. Work at a Windows level using the CMD prompt or by creating shortcuts to the program and file.

Can you select the file and use "Open with ... DAZzle.exe" to open the program and file?

Posted (edited)

What were the items, event, etc... that changed things orgianlly?

The original files I paid for did not print directly . They exported.. I'd 'print from file'. Then use the import script to update.

I had to add this part myself and did have it work once. Then.. I did something while editing my scripts.

Is this xml file an export using a stylesheet from FileMaker?

Yes

Change the to in the XML file. According to page 11 in the XML Interface manual, the Test element will use sample data if it is set to "Yes."

No need. 'Test' will print sample postage.. which is how to proceed. If I use the cmd prompt, go to the dazzle directory, type dazzle.exe c:fmpfmp_dazzle_data.xml everything works fine. It prints a samlp postage piece. If however I use Filemakers 'send event' as text... with "C:Program Files/Envelope Manager/DAZzle/DAZZLE.EXE" "C:fmpFMP_Dazzle_Data.xml" I only get an opened program

Based on the CMD prompt test, we know the problem is not with FileMaker. Work at a Windows level using the CMD prompt or by creating shortcuts to the program and file.

Can you select the file and use "Open with ... DAZzle.exe" to open the program and file?

Huuumm, no. It says windows cannot find. I may have to set up in the dazzle directory :P

Nope that won't work either. Am I sending the right message from filemaker?: Why would it work from a cmd prompt but not otherwise

Ps. I really appreciate this and will repay !

Edited by Guest
Posted

If I right click to 'open with' choose dazzle.exe, the program opens but I get a windows error box - Windows cannot find, c:program filesenvelope managerdazzlefmp_dazzle_data.xml... etc.

Posted

If you select "c:program filesenvelope managerdazzlefmp_dazzle_data.xml," right click and choose "Open With" selecting DAZzle.exe it gives you this error? If this is the case, you may have a corrupt xml file. Try creating a new xml file by coping some of the sample data out of the XML Interface manual and trying the same process. If this works the problem is in the XML file.

In the quoted response above their are two different file paths to the xml file, is this a typo or possibly the problem?

When I trouble shoot FileMaker/command line problems I start at the command prompt. I get things working from there at the default directory level. e.g. "C:Document and Settings%username%" This will tell me most of the errors along the way. Then I move to the "Run" window. If it works there, it will work from FileMaker.

Can you resort back to a backup copy of you FileMaker file with the working scripts?

Posted (edited)

If you select "c:program filesenvelope managerdazzlefmp_dazzle_data.xml," right click and choose "Open With" selecting DAZzle.exe it gives you this error? Yes If this is the case, you may have a corrupt xml file.If this were the case would it work from a windows 'run - cmd' prompt? Try creating a new xml file by coping some of the sample data out of the XML Interface manual and trying the same process. If this works the problem is in the XML file.will do... later. Wife wants me home to leave for vacation.

In the quoted response above their are two different file paths to the xml file, is this a typo or possibly the problem?

I tried different directories to see if I ould get it working

When I trouble shoot FileMaker/command line problems I start at the command prompt. I get things working from there at the default directory level. e.g. "C:Document and Settings%username%" This will tell me most of the errors along the way. Then I move to the "Run" window. If it works there, it will work from FileMaker.

Can you resort back to a backup copy of you FileMaker file with the working scripts?

I wish. I had it work once, it was late...and went home. Came back and did something to it before I backed it up. Thought I was ok....UGH!!

PS> I copied in the sample . It only opens the file with their info.... no printing. Same as my file...

I'm thinking maybe it's the spaces in the file path to the program too...??

"C:Program FilesEnvelope ManagerDAZzledazzle.exe"

Edited by Guest
Posted (edited)

(I had to wait on something to dry more for the final coat so still here.. but this is it until tomrrow)

Can't explain but it does...

I go to 'Run' on my start menu and type cmd. I get a window and cd.. my way to my dazzle directory - which is C:Program Files/Envelope Manager/DAZzle. Once there I type in 'dazzle.exe c:fmpfmp_dazzle_data.xml' (testing directory where I put the file) and I get a sample label in 5 seconds...

I use Filemaker with 'Send Event' as Doc/App and Text - "C:Program Files/Envelope Manager/DAZzle/DAZZLE.EXE" "C:/fmp/FMP_Dazzle_Data.xml" ... All I get is an opened program.

It won't work from 'Run' I get 'cannot find C:Program' - leaves out where it should be C:Program Files...

Edited by Guest
Posted

Cabinetman,

I am confused. Do you have this working? I reread some of the posts and edits and saw the "Here was the probelm..." post.

Posted

I go to 'Run' on my start menu and type cmd. I get a window and cd.. my way to my dazzle directory - which is C:Program Files/Envelope Manager/DAZzle. Once there I type in 'dazzle.exe c:fmpfmp_dazzle_data.xml' (testing directory where I put the file) and I get a sample label in 5 seconds...

To test the command prompt as close to real life a possible use the default directory setup.

C:Documents and SettingsCabinetMan>"C:Program FilesEnvelope ManagerDAZzledazzle.exe" "c:fmpfmp_dazzle_data.xml"

Does that work at the command prompt?

Next, does it work at "Run?"

It won't work from 'Run' I get 'cannot find C:Program' - leaves out where it should be C:Program Files...

The error at the first space tells me that the quoation marks are missing around the file path. Spaces are used as separators and tells Windows to expect a new switch, command, etc.... If the file path contains a space it must be enclosed within quotation marks.

If the above line is working at "Run," use a calculation field to visually see the output from FileMaker. If the field results in the same line of code as above, we start trouble shooting FileMaker. Remember the quotation marks must be included in the calculation field.

Posted (edited)

I doubt you're still watching this but if you are..... and hoping so....

Trying to simplify the typing sssooooo changed file name to just fmp.xml

To test the command prompt as close to real life a possible use the default directory setup.

C:Documents and SettingsCabinetMan>"C:Program FilesEnvelope ManagerDAZzledazzle.exe" "c:fmpfmp_dazzle_data.xml"

Does that work at the command prompt? NO, well not until I tried taking out the second pair of quotes. Possibly due to the name change to fmp.xml. It worked that time. So....

C:Documents and SettingsCabinetMan>"C :Program FilesEnvelope ManagerDAZzledazzle.exe" c:fmpfmp_dazzle_data.xml does work.

Trying more now

Next, does it work at "Run?" NO, at first... followed same rule as above and it worked

After taking out the 2nd set of quote signs it goes back to your first idea to me...

I once had trouble opening a file with a program, as you are trying here, when the file's file path had a spacing in it. The program, with spaces in the file path, would open but not the file with spaces in the file path. When I moved the file path to the root C: with no spaces it work.

So I'm marking this all out.......

The only way I have gotten this to work is #1 in the cmd prompt window.........

1.From cmd prompt with file in directory c:fmp and typing from the dazzle direcory (C:Program FilesEnvelope ManagerDAZzle>)

typing .... dazzle.exe c:fmpfmp.xml

*Program opens and prints test labels

2.From cmd prompt with same file in C:Program FilesFileMakerFileMaker Pro 7xml to dazzel and from the dazzle direcory

typing .... dazzle.exe "C:Program FilesFileMakerFileMaker Pro 7xml to dazzelfmp.xml"

*Note folder - xml to dazzel, should be renamed 'xml to dazzle' !!!* but anyway............

*Program opens but doesn't print anything.

I have tried typing over and over.. checked my spelling, etc. Nothing happens though...

3. Calling from FileMaker

Send Event: "C:Program Files/Envelope Manager/DAZzle/DAZZLE.EXE" "C:fmpfmp.xml"

*Program opens but doesn't print anything.

4. From Start - Run

Typing - "C:Program FilesEnvelope ManagerDAZzledazzle.exe" "C:fmpfmp.xml"

*Program opens but doesn't print anything.

I want to pull my hair out !!!! : But it finally opened from FileMaker and prints now.... Good lesson for everyone! ;)

Edited by Guest

This topic is 6348 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.