Quark NEW file

I ask once before and didn’t get an answer. If I wasting my time with this project please someone let me know. I have a bunch of scripts for Quark that set document prefs depending on job. The problem is I can’t depend on every operator to run these scripts. I need a master script that watches Quark and every time someone make a new file (With cmd-N or going up to the menu). Im not sure If this is something that applescript can do. If not is there something that can work with AS that can do this. Hope this make sence to someone. Thanks Marshall

I haven’t tried this so this is just guessing on my part. I believe you could make a stay open script. This script would be set to check Quark every 30 seconds or so. When it checks Quark you could hvae it check the number of documents open. If the number is different (higher) than last time it checked have the scripts run.

With this you could also check the name(s) of the documents to see if they have changed. If they have changed run the scripts.

The only problem would be if they opened a document and closed it between check times of the script.

I myself have never used a stay open script, so I don’t know how well this will work, or if it even will work.

: I ask once before and didn’t get an answer. If I wasting my time with this
: project please someone let me know. I have a bunch of scripts for Quark
: that set document prefs depending on job. The problem is I can’t depend on
: every operator to run these scripts. I need a master script that watches
: Quark and every time someone make a new file (With cmd-N or going up to
: the menu). Im not sure If this is something that applescript can do. If
: not is there something that can work with AS that can do this. Hope this
: make sence to someone. Thanks Marshall

: I haven’t tried this so this is just guessing on my part. I believe you could
: make a stay open script. This script would be set to check Quark every 30
: seconds or so. When it checks Quark you could hvae it check the number of
: documents open. If the number is different (higher) than last time it
: checked have the scripts run.
: With this you could also check the name(s) of the documents to see if they
: have changed. If they have changed run the scripts.
: The only problem would be if they opened a document and closed it between
: check times of the script.
: I myself have never used a stay open script, so I don’t know how well this
: will work, or if it even will work.

Thanks but to many ways for things to get lost with that. I think Im going to need to learn “Real” programing I.E. C++ or Basic and shell out the programers fee for quark.

Every once in a while, I wind up w/ duplicate messages, as above. How come? Is this a BBS thing?
–tet

: I ask once before and didn’t get an answer. If I wasting my time with this
: project please someone let me know. I have a bunch of scripts for Quark
: that set document prefs depending on job. The problem is I can’t depend on
: every operator to run these scripts. I need a master script that watches
: Quark and every time someone make a new file (With cmd-N or going up to
: the menu). Im not sure If this is something that applescript can do.

Here’s an idea: disable the File:New menu, and the operators will have to run your scripts or use templates or whatever.

Open a copy of QX in ResEdit, open the menu resource, and disable the submenu #140 (you may have to diable the individual items as well.)

Luck,
–tet

: I ask once before and didn’t get an answer. If I wasting my time with this
: project please someone let me know. I have a bunch of scripts for Quark
: that set document prefs depending on job. The problem is I can’t depend on
: every operator to run these scripts. I need a master script that watches
: Quark and every time someone make a new file (With cmd-N or going up to
: the menu). Im not sure If this is something that applescript can do.

Here’s an idea: disable the File:New menu, and the operators will have to run your scripts or use templates or whatever.

Open a copy of QX in ResEdit, open the menu resource, and disable the submenu #140 (you may have to diable the individual items as well.)

Luck,
–tet