Re: the object you are editing... Huh?
Hi Pat, Thanks for your kind attempt to help. No, those are not the circumstances. That's why it seemed inexplicable. The circumstances you describe would make sense to me. I might have found the source of the problem, though. There was a handler in this bg left over from Hypercard: On closefield put me into me pass closeField end closefield This might seem insane, but it worked great in HC. The purpose? I often paste text from other sources into fields in this bg. I want the pasted text to lose its original attributes and take on those assigned to text in the field I am pasting into. I have a hunch Rev choked on this one. Maybe because the script editor is another stack. I suppose the script editor is in the hierarchy when I'm editing a script. Or something... I commented out this handler, and a couple of other suspicious ones, but this is the prime candidate. No problems since then. I'm keeping my fingers crossed. Any thoughts? Best regards, Tim BTW -- Is it okay to top post on this list? Or does anyone care? I just want to follow the rules. Tim, The only time I have seen this msg is if the stack has been closed and removed from memory, but the script editor for the object is still open and I have tried to make changes. Is that when the msg occurs for you, or does it happen under different circumstances? Pat [EMAIL PROTECTED] - Original Message - From: Timothy Miller [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Tuesday, June 21, 2005 1:08 PM Subject: the object you are editing... Huh? At unpredictable times, when trying to edit a script -- the script of a card field at the moment -- I get an error message I can't understand. I'm doing all the logical obvious things that a moderately competent novice would do, before and after encountering this error message. They aren't working. The message: The object you are editing appears to have been removed or deleted. Do you want to copy the text you are editing to the clipboard before closing this script? The two response buttons in the error dialog box are copy and close and close --What am I doing wrong? --What is the significance of this error message? It must occur for a good reason, but I can't figure it out. Thanks to all those who have generously offered assistance in the past week or two. Cheers, Tim ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: the object you are editing... Huh?
Tim, I've tried various other ways to try and force that error msg to appear. Just couldn't get it to happen. Your explanation for your case is probably right. Re top posting, I don't know. I've seen this discussion on other lists, and after everybody has had their say - they all go back to whatever they were doing in the first place. Personally, I prefer top posting. Pat [EMAIL PROTECTED] - Original Message - From: Timothy Miller [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Tuesday, June 21, 2005 4:28 PM Subject: Re: the object you are editing... Huh? Hi Pat, Thanks for your kind attempt to help. No, those are not the circumstances. That's why it seemed inexplicable. The circumstances you describe would make sense to me. I might have found the source of the problem, though. There was a handler in this bg left over from Hypercard: On closefield put me into me pass closeField end closefield This might seem insane, but it worked great in HC. The purpose? I often paste text from other sources into fields in this bg. I want the pasted text to lose its original attributes and take on those assigned to text in the field I am pasting into. I have a hunch Rev choked on this one. Maybe because the script editor is another stack. I suppose the script editor is in the hierarchy when I'm editing a script. Or something... I commented out this handler, and a couple of other suspicious ones, but this is the prime candidate. No problems since then. I'm keeping my fingers crossed. Any thoughts? Best regards, Tim BTW -- Is it okay to top post on this list? Or does anyone care? I just want to follow the rules. Tim, The only time I have seen this msg is if the stack has been closed and removed from memory, but the script editor for the object is still open and I have tried to make changes. Is that when the msg occurs for you, or does it happen under different circumstances? Pat [EMAIL PROTECTED] - Original Message - From: Timothy Miller [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Tuesday, June 21, 2005 1:08 PM Subject: the object you are editing... Huh? At unpredictable times, when trying to edit a script -- the script of a card field at the moment -- I get an error message I can't understand. I'm doing all the logical obvious things that a moderately competent novice would do, before and after encountering this error message. They aren't working. The message: The object you are editing appears to have been removed or deleted. Do you want to copy the text you are editing to the clipboard before closing this script? The two response buttons in the error dialog box are copy and close and close --What am I doing wrong? --What is the significance of this error message? It must occur for a good reason, but I can't figure it out. Thanks to all those who have generously offered assistance in the past week or two. Cheers, Tim ___ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: the object you are editing... Huh?
I agree with Pat's description. My only question is why in *%^#* is that script editor object still open? Why didn't the IDE destroy it, given that it freaks out if anyone tries to use it afterwards? It is way confusing... Jon Pat Trendler wrote: Tim, The only time I have seen this msg is if the stack has been closed and removed from memory, but the script editor for the object is still open and I have tried to make changes. Is that when the msg occurs for you, or does it happen under different circumstances? Pat [EMAIL PROTECTED] - Original Message - From: Timothy Miller [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Tuesday, June 21, 2005 1:08 PM Subject: the object you are editing... Huh? At unpredictable times, when trying to edit a script -- the script of a card field at the moment -- I get an error message I can't understand. I'm doing all the logical obvious things that a moderately competent novice would do, before and after encountering this error message. They aren't working. The message: The object you are editing appears to have been removed or deleted. Do you want to copy the text you are editing to the clipboard before closing this script? The two response buttons in the error dialog box are copy and close and close --What am I doing wrong? --What is the significance of this error message? It must occur for a good reason, but I can't figure it out. Thanks to all those who have generously offered assistance in the past week or two. Cheers, Tim ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: the object you are editing... Huh?
This error happens to me all the time under certain circumstances. If I have a script window open, then I go to a group and edit group, then open a script of a button inside that group, it gives the error about the original script window if I try to make any edits in the second window. It will give the error and close the first script window before editing the new script. It was quite annoying when I was trying to copy bits of script between windows. I finally learned to open both windows, the exit the edit group mode before making any edits. It also works Ok to have the mode set for direct selection of controls inside the groups --that is how I do things now. Dennis On Jun 21, 2005, at 7:50 AM, Pat Trendler wrote: Tim, I've tried various other ways to try and force that error msg to appear. Just couldn't get it to happen. Your explanation for your case is probably right. Re top posting, I don't know. I've seen this discussion on other lists, and after everybody has had their say - they all go back to whatever they were doing in the first place. Personally, I prefer top posting. Pat [EMAIL PROTECTED] - Original Message - From: Timothy Miller [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Tuesday, June 21, 2005 4:28 PM Subject: Re: the object you are editing... Huh? Hi Pat, Thanks for your kind attempt to help. No, those are not the circumstances. That's why it seemed inexplicable. The circumstances you describe would make sense to me. I might have found the source of the problem, though. There was a handler in this bg left over from Hypercard: On closefield put me into me pass closeField end closefield This might seem insane, but it worked great in HC. The purpose? I often paste text from other sources into fields in this bg. I want the pasted text to lose its original attributes and take on those assigned to text in the field I am pasting into. I have a hunch Rev choked on this one. Maybe because the script editor is another stack. I suppose the script editor is in the hierarchy when I'm editing a script. Or something... I commented out this handler, and a couple of other suspicious ones, but this is the prime candidate. No problems since then. I'm keeping my fingers crossed. Any thoughts? Best regards, Tim BTW -- Is it okay to top post on this list? Or does anyone care? I just want to follow the rules. Tim, The only time I have seen this msg is if the stack has been closed and removed from memory, but the script editor for the object is still open and I have tried to make changes. Is that when the msg occurs for you, or does it happen under different circumstances? Pat [EMAIL PROTECTED] - Original Message - From: Timothy Miller [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Tuesday, June 21, 2005 1:08 PM Subject: the object you are editing... Huh? At unpredictable times, when trying to edit a script -- the script of a card field at the moment -- I get an error message I can't understand. I'm doing all the logical obvious things that a moderately competent novice would do, before and after encountering this error message. They aren't working. The message: The object you are editing appears to have been removed or deleted. Do you want to copy the text you are editing to the clipboard before closing this script? The two response buttons in the error dialog box are copy and close and close --What am I doing wrong? --What is the significance of this error message? It must occur for a good reason, but I can't figure it out. Thanks to all those who have generously offered assistance in the past week or two. Cheers, Tim ___ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: the object you are editing... Huh?
Is this considered to be a bug? Dennis Brown wrote: This error happens to me all the time under certain circumstances. If I have a script window open, then I go to a group and edit group, then open a script of a button inside that group, it gives the error about the original script window if I try to make any edits in the second window. It will give the error and close the first script window before editing the new script. It was quite annoying when I was trying to copy bits of script between windows. I finally learned to open both windows, the exit the edit group mode before making any edits. It also works Ok to have the mode set for direct selection of controls inside the groups --that is how I do things now. Dennis On Jun 21, 2005, at 7:50 AM, Pat Trendler wrote: Tim, I've tried various other ways to try and force that error msg to appear. Just couldn't get it to happen. Your explanation for your case is probably right. Re top posting, I don't know. I've seen this discussion on other lists, and after everybody has had their say - they all go back to whatever they were doing in the first place. Personally, I prefer top posting. Pat [EMAIL PROTECTED] - Original Message - From: Timothy Miller [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Tuesday, June 21, 2005 4:28 PM Subject: Re: the object you are editing... Huh? Hi Pat, Thanks for your kind attempt to help. No, those are not the circumstances. That's why it seemed inexplicable. The circumstances you describe would make sense to me. I might have found the source of the problem, though. There was a handler in this bg left over from Hypercard: On closefield put me into me pass closeField end closefield This might seem insane, but it worked great in HC. The purpose? I often paste text from other sources into fields in this bg. I want the pasted text to lose its original attributes and take on those assigned to text in the field I am pasting into. I have a hunch Rev choked on this one. Maybe because the script editor is another stack. I suppose the script editor is in the hierarchy when I'm editing a script. Or something... I commented out this handler, and a couple of other suspicious ones, but this is the prime candidate. No problems since then. I'm keeping my fingers crossed. Any thoughts? Best regards, Tim BTW -- Is it okay to top post on this list? Or does anyone care? I just want to follow the rules. Tim, The only time I have seen this msg is if the stack has been closed and removed from memory, but the script editor for the object is still open and I have tried to make changes. Is that when the msg occurs for you, or does it happen under different circumstances? Pat [EMAIL PROTECTED] - Original Message - From: Timothy Miller [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Tuesday, June 21, 2005 1:08 PM Subject: the object you are editing... Huh? At unpredictable times, when trying to edit a script -- the script of a card field at the moment -- I get an error message I can't understand. I'm doing all the logical obvious things that a moderately competent novice would do, before and after encountering this error message. They aren't working. The message: The object you are editing appears to have been removed or deleted. Do you want to copy the text you are editing to the clipboard before closing this script? The two response buttons in the error dialog box are copy and close and close --What am I doing wrong? --What is the significance of this error message? It must occur for a good reason, but I can't figure it out. Thanks to all those who have generously offered assistance in the past week or two. Cheers, Tim ___ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: the object you are editing... Huh?
Jon, I don't know if it is actually a bug or not. It did not blow up. It warned me that It could not continue in that mode for some reason. It just forced the other window to close. Rev error messages are not always the most helpful to understanding what the real problem is. I just learned to do my work in a different mode that did not cause a problem. Dennis On Jun 21, 2005, at 8:51 AM, Jon wrote: Is this considered to be a bug? Dennis Brown wrote: This error happens to me all the time under certain circumstances. If I have a script window open, then I go to a group and edit group, then open a script of a button inside that group, it gives the error about the original script window if I try to make any edits in the second window. It will give the error and close the first script window before editing the new script. It was quite annoying when I was trying to copy bits of script between windows. I finally learned to open both windows, the exit the edit group mode before making any edits. It also works Ok to have the mode set for direct selection of controls inside the groups --that is how I do things now. Dennis On Jun 21, 2005, at 7:50 AM, Pat Trendler wrote: Tim, I've tried various other ways to try and force that error msg to appear. Just couldn't get it to happen. Your explanation for your case is probably right. Re top posting, I don't know. I've seen this discussion on other lists, and after everybody has had their say - they all go back to whatever they were doing in the first place. Personally, I prefer top posting. Pat [EMAIL PROTECTED] - Original Message - From: Timothy Miller [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Tuesday, June 21, 2005 4:28 PM Subject: Re: the object you are editing... Huh? Hi Pat, Thanks for your kind attempt to help. No, those are not the circumstances. That's why it seemed inexplicable. The circumstances you describe would make sense to me. I might have found the source of the problem, though. There was a handler in this bg left over from Hypercard: On closefield put me into me pass closeField end closefield This might seem insane, but it worked great in HC. The purpose? I often paste text from other sources into fields in this bg. I want the pasted text to lose its original attributes and take on those assigned to text in the field I am pasting into. I have a hunch Rev choked on this one. Maybe because the script editor is another stack. I suppose the script editor is in the hierarchy when I'm editing a script. Or something... I commented out this handler, and a couple of other suspicious ones, but this is the prime candidate. No problems since then. I'm keeping my fingers crossed. Any thoughts? Best regards, Tim BTW -- Is it okay to top post on this list? Or does anyone care? I just want to follow the rules. Tim, The only time I have seen this msg is if the stack has been closed and removed from memory, but the script editor for the object is still open and I have tried to make changes. Is that when the msg occurs for you, or does it happen under different circumstances? Pat [EMAIL PROTECTED] - Original Message - From: Timothy Miller [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Tuesday, June 21, 2005 1:08 PM Subject: the object you are editing... Huh? At unpredictable times, when trying to edit a script -- the script of a card field at the moment -- I get an error message I can't understand. I'm doing all the logical obvious things that a moderately competent novice would do, before and after encountering this error message. They aren't working. The message: The object you are editing appears to have been removed or deleted. Do you want to copy the text you are editing to the clipboard before closing this script? The two response buttons in the error dialog box are copy and close and close --What am I doing wrong? --What is the significance of this error message? It must occur for a good reason, but I can't figure it out. Thanks to all those who have generously offered assistance in the past week or two. Cheers, Tim ___ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution
Re: the object you are editing... Huh?
It's me, the original author, correcting myself. Hi Pat, Thanks for your kind attempt to help. No, those are not the circumstances. That's why it seemed inexplicable. The circumstances you describe would make sense to me. I might have found the source of the problem, though. There was a handler in this bg left over from Hypercard: On closefield put me into me pass closeField end closefield That should have been on closeField put target into target pass closeField end closeField This handler remains a prime suspect, because I haven't seen the problem since I commented it out. Does the corrected version of the handler look more problematic? After reading Dennis Brown's enlightening comment, I realize that the improvement might be a coincidence. I doubt I was doing what Dennis described, but maybe I was doing it unwittingly. As I recall, I never had more than one script window open at a time. I'll pay more attention, and see what develops. If the problem persists, Dennis has provided a good clue. Thanks to Dennis, Pat and Jon. Regarding top-posting, I guess I'll take the lead of the previous author on the thread. If he/she has top-posted, so will I. If he/she has bottom-posted, I will too. I don't really care. Both practices mixed in the same quoted thread would produce confusion, of course. Some lists are intensely critical of top-posting, so I've learned to be wary. Comp.sys.mac.sys, for example. Have a nice day, Tim ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: the object you are editing... Huh?
On 6/21/05 3:02 PM, Timothy Miller wrote: That should have been on closeField put target into target pass closeField end closeField This handler remains a prime suspect, because I haven't seen the problem since I commented it out. Does the corrected version of the handler look more problematic? This handler doesn't do anything. There is a difference between the target and target, both of which are recognized tokens in the language. The target refers to an object reference; i.e., if you click a button then the target is a reference to the button. Target (without the) is only applicable to fields, and refers to the text of the field. The looseness of the language allows scripters to omit the in many built-in functions (though I recommend against it) but this is one case where it makes a difference. In your handler above, put target into target, the first target will be resolved to mean the target because of the engine's flexibility. But the second target will be nonsense; possibly interpreted as a variable name, or possibly causing problems. It is strongly recommended that all functions include the in scripts, just for this reason. Always use the date, the time, the target, even though plain old date, time, and target may sometimes work. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: the object you are editing... Huh?
On 6/21/05 3:02 PM, Timothy Miller wrote: on closeField put target into target pass closeField end closeField I should probably have added that this will work: put target into the target because the first one refers to the text, the second to the object. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
the object you are editing... Huh?
At unpredictable times, when trying to edit a script -- the script of a card field at the moment -- I get an error message I can't understand. I'm doing all the logical obvious things that a moderately competent novice would do, before and after encountering this error message. They aren't working. The message: The object you are editing appears to have been removed or deleted. Do you want to copy the text you are editing to the clipboard before closing this script? The two response buttons in the error dialog box are copy and close and close --What am I doing wrong? --What is the significance of this error message? It must occur for a good reason, but I can't figure it out. Thanks to all those who have generously offered assistance in the past week or two. Cheers, Tim ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: the object you are editing... Huh?
Tim, The only time I have seen this msg is if the stack has been closed and removed from memory, but the script editor for the object is still open and I have tried to make changes. Is that when the msg occurs for you, or does it happen under different circumstances? Pat [EMAIL PROTECTED] - Original Message - From: Timothy Miller [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Tuesday, June 21, 2005 1:08 PM Subject: the object you are editing... Huh? At unpredictable times, when trying to edit a script -- the script of a card field at the moment -- I get an error message I can't understand. I'm doing all the logical obvious things that a moderately competent novice would do, before and after encountering this error message. They aren't working. The message: The object you are editing appears to have been removed or deleted. Do you want to copy the text you are editing to the clipboard before closing this script? The two response buttons in the error dialog box are copy and close and close --What am I doing wrong? --What is the significance of this error message? It must occur for a good reason, but I can't figure it out. Thanks to all those who have generously offered assistance in the past week or two. Cheers, Tim ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution