
on answer theMsg
if theMsg starts with "Image not compressed" then trace
else pass answer
end answer


--
You received this message because you are subscribed to the Google Groups "SuperCard Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supercard-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supercard-talk/ed35fff3-8f42-4f2e-829a-731f16ad26b1o%40googlegroups.com.
Once you enter trace mode you need to click Go or Exit (or else just quit SC) to stop breaking on every message.-Mark
--
You received this message because you are subscribed to the Google Groups "SuperCard Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supercard-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supercard-talk/e6311152-f883-4ff9-a0d1-a2ff5c3bfed4o%40googlegroups.com.
I've had a look for pict compression in the help files but found nothing relevant. If it refers to shrinking an image on screen (as opposed to reducing the size of a file), I don't need any reductions as I've tailored all my image files to fit into their respective draw graphic rectangles, and anyway the draw graphics' locked properties are set to false.
• The result is now set to advise the user whenever a specified compression level is ignored
--
You received this message because you are subscribed to the Google Groups "SuperCard Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supercard-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supercard-talk/f1e7c84f-34d9-4fbb-a9b1-527284b0127eo%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "SuperCard Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supercard-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supercard-talk/f1e7c84f-34d9-4fbb-a9b1-527284b0127eo%40googlegroups.com.
Thanks Mark, that certainly sounds like a possible reason for getting the warning that I'm getting - except for the fact that my images are cropped to fit.
And it doesn't explain why the the tracer keeps opening randomly, completely ignoring the "if theMsg starts with.." condition. It even popped up just now when I hit control-S !
Is there any way in which I can simply suppress those annoying compression warnings?
on answer theMsg
if not (theMsg starts with "Image") then
trace off
pass answer
end if
put "Bingo! Now click Return to go back to the script where the bad call is being made"
trace
end answer

--
You received this message because you are subscribed to the Google Groups "SuperCard Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supercard-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supercard-talk/eb3c7d22-7e60-4522-84e2-eeaf81ee74eeo%40googlegroups.com.


It's not clear to me how the handler I posted could produce the effect you're describing (and it certainly doesn't here) but please try this instead:on answer theMsg
if not (theMsg starts with "Image") then
trace off
pass answer
end if
put "Bingo! Now click Return to go back to the script where the bad call is being made"
trace
end answer
After you change the script, quit and re-launch SC. If the behavior you're describing persists this handler definitely isn't what's causing it, and you probably stuck a trace in somewhere else by accident (I'd check the SharedFile's appleEvent handler first).
If you prefer you can use Project Search to scan your project(s) and the RTE/SharedFile for uses ofthe result, but you'll likely encounter a bunch of them and have to identify the one that's causing your problem by reading each reported usage.-Mark
Right, I don't suppose this is relevant but just in case; none of the images I use are in jpeg format, they're all .png files. So I guess you're saying that SC converts them to jpeg to store them in the project.
I'm sorry I don't express myself very well. When the tracer window is open and I click Exit or Go the window does indeed close. But typing 'tracer off' into the msg box has no effect; the tracer still gets triggered randomly.
For example I have a button called 'temp 2' which simply displays a list of the userProps in a given field. I've no doubt you could write it more elegantly but it's only temporary. I've used it dozens of times so it must be bullet proof. Yet now and then the tracer will pounce on it as if something's wrong. Stepping through it doesn't find any snags.
When I asked about suppressing the warnings, I didn't mean to imply you're not helping. I know you're doing all you can (pulling teeth!) to get enough info to solve the problem. What I meant was, is there a (dirty, illegal) way, maybe a scrap of script or something, to force SC to ignore the compression problems it's having under the hood and thereby stop those warnings from popping up?
on answer theMsg
if not (theMsg starts with "Image not compressed") then pass answer
end answer
--
You received this message because you are subscribed to the Google Groups "SuperCard Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supercard-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supercard-talk/6b345e49-f103-4797-8f30-a06053dccdcco%40googlegroups.com.
Thanks again for your patience Mark, but the fact remains Project Search can't find any mention of trace in the project I'm working on, nor the project I've been working off of, nor the Shared File (other than the script you suggested I add for testing).
Thanks for the bandaid solution. I guess I'm going to have to go with that, as the problem has been holding me up and I really want to get on with developing this new project, if it's even possible.