From jeff_gold at state.ga.weo.us Fri Apr 1 06:21:22 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Fri, 1 Apr 2011 09:21:22 -0400 Subject: Panorama "Delay" statement takes over CPU. In-Reply-To: References: Message-ID: <8866AEA3-AC0B-416C-9A6B-FFF1A0D52639@state.ga.weo.us> Hello, I noticed we've been having sluggish behavior on our web server running Panorama from time to time. I started checking things out with Activity Monitor and noticed the cause of the issue is places where we put a Panorama "Delay" statement into a procedure. Whenever Panorama executes the "Delay" statement, it suddenly takes over all the processing power of the computer, with the CPU use by Panorama suddenly registering 99% to 100% and staying there for the entire time period of the delay. I guess this means when the Delay statement is executed, Panorama basically goes into some sort of constant loop checking over and over and over again to see if the delay period is over, without having any pauses at all to allow breathing room for other applications. Perhaps you could make a modification to the Delay procedure, Jim, in the next Panorama update, so it works in a different manner that won't put such a huge burden on the CPU? In the meantime, is there an alternative to the Delay statement anyone can suggest which we can put into some of our procedures? The way we use "Delay" now is in conjunction with the ExecuteEveryMinute variable. Since the ExecuteEveryMinute variable appears to always trigger at precisely 58 seconds after each minute, we use the Delay command if we want something to trigger at different times. So if we want something to trigger at 30 seconds after each minute, we put in a statement "Delay 32" however, this causes Panorama to basically hog 100% of the CPU power during those 32 seconds, slowing our other running applications down to a crawl. Any suggestions would be very appreciated. Best wishes, - Jeff Gold From mark at abernackie.com Fri Apr 1 07:02:18 2011 From: mark at abernackie.com (Mark Terry) Date: Fri, 1 Apr 2011 10:02:18 -0400 Subject: Panorama "Delay" statement takes over CPU. In-Reply-To: <8866AEA3-AC0B-416C-9A6B-FFF1A0D52639@state.ga.weo.us> References: <8866AEA3-AC0B-416C-9A6B-FFF1A0D52639@state.ga.weo.us> Message-ID: <4CDF13E4-AFA4-4BCD-8712-5CA18DDD6033@abernackie.com> The code for the Delay statement is pretty simple: local starttime,delaytime delaytime=fixed(parameter(1)*60) starttime=info("tickcount") loop while info("tickcount") Hello, > > I noticed we've been having sluggish behavior on our web server > running Panorama from time to time. > > I started checking things out with Activity Monitor and noticed the > cause of the issue is places where we put a Panorama "Delay" > statement into a procedure. > > Whenever Panorama executes the "Delay" statement, it suddenly takes > over all the processing power of the computer, with the CPU use by > Panorama suddenly registering 99% to 100% and staying there for the > entire time period of the delay. > > I guess this means when the Delay statement is executed, Panorama > basically goes into some sort of constant loop checking over and > over and over again to see if the delay period is over, without > having any pauses at all to allow breathing room for other > applications. > > Perhaps you could make a modification to the Delay procedure, Jim, > in the next Panorama update, so it works in a different manner that > won't put such a huge burden on the CPU? > > In the meantime, is there an alternative to the Delay statement > anyone can suggest which we can put into some of our procedures? > > The way we use "Delay" now is in conjunction with the > ExecuteEveryMinute variable. Since the ExecuteEveryMinute variable > appears to always trigger at precisely 58 seconds after each minute, > we use the Delay command if we want something to trigger at > different times. So if we want something to trigger at 30 seconds > after each minute, we put in a statement "Delay 32" however, this > causes Panorama to basically hog 100% of the CPU power during those > 32 seconds, slowing our other running applications down to a crawl. > > Any suggestions would be very appreciated. > > Best wishes, > > - Jeff Gold > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From kjmeyer at mac.com Fri Apr 1 07:37:49 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Fri, 01 Apr 2011 16:37:49 +0200 Subject: New Question vs. Thread Hijacking Message-ID: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C@mac.com> Many of us use Mail.app's option to display Mails ordered by thread. This is really a fine option, but it gets messed up quite often, since people, who read the QnA and want to ask a new question, do that by hitting the Reply button and they think, it it sufficient to overwrite the previous subject. No, that is not sufficient. Mail.app obviously looks less for the subject than for the reply-to info (hidden in the headers). Have a look at View > Message > Raw Source ! So please, please, if you want to ask a new question, klick the New Message button, NOT the Reply button! O.K., you have to enter the address manually ? but try it and type "qna" ... It's easy. Best regards Kurt -------------- next part -------------- An HTML attachment was scrubbed... URL: From dthmpsn1 at illinois.edu Fri Apr 1 08:21:18 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Fri, 1 Apr 2011 10:21:18 -0500 (CDT) Subject: Panorama "Delay" statement takes over CPU. In-Reply-To: <8866AEA3-AC0B-416C-9A6B-FFF1A0D52639@state.ga.weo.us> References: <8866AEA3-AC0B-416C-9A6B-FFF1A0D52639@state.ga.weo.us> Message-ID: <20110401102118.CPN61676@expms1.cites.uiuc.edu> AppleScript's delay doesn't do that, and Panorama will idle while waiting for the AppleScript to finish, so you might try ExecuteAppleScript "delay 32" Dave ---- Original message ---- >Date: Fri, 1 Apr 2011 09:21:22 -0400 >From: Jeff Gold >Subject: Panorama "Delay" statement takes over CPU. >To: "Panorama Questions Answers (Discussion)" > >Hello, > >I noticed we've been having sluggish behavior on our web server running Panorama from time to time. > >I started checking things out with Activity Monitor and noticed the cause of the issue is places where we put a Panorama "Delay" statement into a procedure. > >Whenever Panorama executes the "Delay" statement, it suddenly takes over all the processing power of the computer, with the CPU use by Panorama suddenly registering 99% to 100% and staying there for the entire time period of the delay. > >I guess this means when the Delay statement is executed, Panorama basically goes into some sort of constant loop checking over and over and over again to see if the delay period is over, without having any pauses at all to allow breathing room for other applications. > >Perhaps you could make a modification to the Delay procedure, Jim, in the next Panorama update, so it works in a different manner that won't put such a huge burden on the CPU? > >In the meantime, is there an alternative to the Delay statement anyone can suggest which we can put into some of our procedures? > >The way we use "Delay" now is in conjunction with the ExecuteEveryMinute variable. Since the ExecuteEveryMinute variable appears to always trigger at precisely 58 seconds after each minute, we use the Delay command if we want something to trigger at different times. So if we want something to trigger at 30 seconds after each minute, we put in a statement "Delay 32" however, this causes Panorama to basically hog 100% of the CPU power during those 32 seconds, slowing our other running applications down to a crawl. > >Any suggestions would be very appreciated. > >Best wishes, > >- Jeff Gold >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From jeff_gold at state.ga.weo.us Fri Apr 1 08:31:40 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Fri, 1 Apr 2011 11:31:40 -0400 Subject: Panorama "Delay" statement takes over CPU. In-Reply-To: <20110401102118.CPN61676@expms1.cites.uiuc.edu> References: <8866AEA3-AC0B-416C-9A6B-FFF1A0D52639@state.ga.weo.us> <20110401102118.CPN61676@expms1.cites.uiuc.edu> Message-ID: <8F3334D4-A711-432E-9A70-F011C23CCCEF@state.ga.weo.us> Thanks for the suggestion, Dave. It looks like this "might" work, although I noticed if Panorama is executing the AppleScript statement you suggested, as soon as I click over to another application while your suggested AppleScript is still running (e.g., Activity Monitor), Panorama activity jumps back up to 100% CPU use. Perhaps I can avoid this by making sure Panorama is the foreground most application. I'll do some more testing on this today. In the meantime, any additional suggestions would be appreciated. :-) Thanks, - Jeff On Apr 1, 2011, at 11:2118 AM, David Thompson wrote: > AppleScript's delay doesn't do that, and Panorama will idle while waiting for the AppleScript to finish, so you might try > > ExecuteAppleScript "delay 32" > > Dave From samrutherford at musiccitymetals.net Fri Apr 1 08:00:55 2011 From: samrutherford at musiccitymetals.net (Sam Rutherford) Date: Fri, 1 Apr 2011 10:00:55 -0500 Subject: New Question vs. Thread Hijacking In-Reply-To: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C@mac.com> References: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C@mac.com> Message-ID: In your message raw source > reply-to just says: Reply-To: "Panorama Questions & Answers \(Discussion\)" How does this have any bearing on the thread? Just asking. I'll do a new message in the future. ________________________________________________________________ On Apr 1, 2011, at 9:37 AM, Kurt J. Meyer wrote: > Many of us use Mail.app's option to display Mails ordered by thread. > > This is really a fine option, but it gets messed up quite often, since people, who read the QnA and want to ask a new question, do that by hitting the Reply button and they think, it it sufficient to overwrite the previous subject. > > No, that is not sufficient. > > Mail.app obviously looks less for the subject than for the reply-to info (hidden in the headers). Have a look at View > Message > Raw Source ! > > So please, please, if you want to ask a new question, klick the New Message button, NOT the Reply button! O.K., you have to enter the address manually ? but try it and type "qna" ... It's easy. > > Best regards > Kurt > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna ________________________________________________________________ Sam Rutherford Music City Metals 615/255-4481 samrutherford at musiccitymetals.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott at prototek.net Fri Apr 1 09:38:50 2011 From: scott at prototek.net (Scott Taylor) Date: Fri, 01 Apr 2011 09:38:50 -0700 Subject: New Question vs. Thread Hijacking In-Reply-To: Message-ID: In the raw source for Sam?s message, I see: > In-Reply-To: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C at mac.com> This is likely the more relevant information to what Kurt is talking about. And this I?m writing message has the same reference, which is no doubt the thread identifier. So it does have a bearing. Scott > > From: Sam Rutherford > Reply-To: "Panorama Questions & Answers \(Discussion\)" > Date: Fri, 1 Apr 2011 10:00:55 -0500 > To: "Panorama Questions & Answers \(Discussion\)" > Subject: Re: New Question vs. Thread Hijacking > > In your message raw source > reply-to just says: > Reply-To: "Panorama Questions & Answers \(Discussion\)" > > How does this have any bearing on the thread? > > Just asking. > I'll do a new message in the future. > > ________________________________________________________________ > > On Apr 1, 2011, at 9:37 AM, Kurt J. Meyer wrote: > >> Many of us use Mail.app's option to display Mails ordered by thread. >> >> This is really a fine option, but it gets messed up quite often, since >> people, who read the QnA and want to ask a new question, do that by hitting >> the Reply button and they think, it it sufficient to overwrite the previous >> subject. >> >> No, that is not sufficient. >> >> Mail.app obviously looks less for the subject than for the reply-to info >> (hidden in the headers). Have a look at View > Message > Raw Source ! >> >> So please, please, if you want to ask a new question, klick the New Message >> button, NOT the Reply button! O.K., you have to enter the address manually ? >> but try it and type "qna" ... It's easy. >> >> Best regards >> Kurt >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > ________________________________________________________________ > Sam Rutherford > Music City Metals > 615/255-4481 > samrutherford at musiccitymetals.net > > > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff_gold at state.ga.weo.us Fri Apr 1 11:41:30 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Fri, 1 Apr 2011 14:41:30 -0400 Subject: Panorama "Delay" statement takes over CPU. In-Reply-To: <20110401102118.CPN61676@expms1.cites.uiuc.edu> References: <8866AEA3-AC0B-416C-9A6B-FFF1A0D52639@state.ga.weo.us> <20110401102118.CPN61676@expms1.cites.uiuc.edu> Message-ID: <80CB58BB-E46F-43BD-847A-21CBD29889D7@state.ga.weo.us> Hi again, I tried following David Thompson's suggestion of using AppleScript to do the delay instead of using Panorama's "Delay" statement, but I'm having the same issue still, Panorama CPU use jumps up to 100% during the delay process even with AppleScript being used for the delay. If I just write a test procedure on my development machine and monitor it with Activity monitor in the background, the CPU use doesn't go up just as David suggested, but as soon as I click on another window away from Panorama and/or even if I click back to Panorama, CPU use jumps up to 100% during the delay process. I tried putting this on our server running Panorama Direct, and even when Panorama is running the procedure on its own, without being clicked on, whether in the foreground or background, it still is taking the CPU use up to 100% every time the AppleScript delay function is triggered. Any other ideas...??? - Jeff On Apr 1, 2011, at 11:2118 AM, David Thompson wrote: > AppleScript's delay doesn't do that, and Panorama will idle while waiting for the AppleScript to finish, so you might try > > ExecuteAppleScript "delay 32" > > Dave From dthmpsn1 at illinois.edu Fri Apr 1 14:20:59 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Fri, 1 Apr 2011 16:20:59 -0500 (CDT) Subject: Panorama "Delay" statement takes over CPU. In-Reply-To: <80CB58BB-E46F-43BD-847A-21CBD29889D7@state.ga.weo.us> References: <8866AEA3-AC0B-416C-9A6B-FFF1A0D52639@state.ga.weo.us> <20110401102118.CPN61676@expms1.cites.uiuc.edu> <80CB58BB-E46F-43BD-847A-21CBD29889D7@state.ga.weo.us> Message-ID: <20110401162059.CPN96990@expms1.cites.uiuc.edu> You might try having your ExecuteEveryMinute create an ExecuteEverySecond when it determines that the time is within 1 minute of the designated time. Then ExecuteEverySecond could call the appropriate procedure when the time arrives, and destroy itself with an Undefine statement. Dave ---- Original message ---- >Date: Fri, 1 Apr 2011 14:41:30 -0400 >From: Jeff Gold >Subject: Re: Panorama "Delay" statement takes over CPU. >To: "Panorama Questions Answers (Discussion)" > >Hi again, > >I tried following David Thompson's suggestion of using AppleScript to do the delay instead of using Panorama's "Delay" statement, but I'm having the same issue still, Panorama CPU use jumps up to 100% during the delay process even with AppleScript being used for the delay. > >If I just write a test procedure on my development machine and monitor it with Activity monitor in the background, the CPU use doesn't go up just as David suggested, but as soon as I click on another window away from Panorama and/or even if I click back to Panorama, CPU use jumps up to 100% during the delay process. > >I tried putting this on our server running Panorama Direct, and even when Panorama is running the procedure on its own, without being clicked on, whether in the foreground or background, it still is taking the CPU use up to 100% every time the AppleScript delay function is triggered. > >Any other ideas...??? > >- Jeff > > > >On Apr 1, 2011, at 11:2118 AM, David Thompson wrote: > >> AppleScript's delay doesn't do that, and Panorama will idle while waiting for the AppleScript to finish, so you might try >> >> ExecuteAppleScript "delay 32" >> >> Dave >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From jeff_gold at state.ga.weo.us Fri Apr 1 14:47:05 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Fri, 1 Apr 2011 17:47:05 -0400 Subject: Panorama "Delay" statement takes over CPU. In-Reply-To: <20110401162059.CPN96990@expms1.cites.uiuc.edu> References: <8866AEA3-AC0B-416C-9A6B-FFF1A0D52639@state.ga.weo.us> <20110401102118.CPN61676@expms1.cites.uiuc.edu> <80CB58BB-E46F-43BD-847A-21CBD29889D7@state.ga.weo.us> <20110401162059.CPN96990@expms1.cites.uiuc.edu> Message-ID: Good suggesting, Dave. That will work in some cases, but there are a number of places in my programming where I use the Delay command on its own, for example, if Panorama encounters an error downloading a URL from a web server running on our same machine. Oddly, I wrote that into the code so at times of unusually high load on the server, Panorama waits a few seconds before retrying to download something. But, what I learned today is Panorama is actually putting even more stress on the server's CPU with its delay command, so it is making matters worse. I'm still testing different strategies but haven't quite stumbled on anything that works quite right yet. Any other suggestions for a Delay which won't put stress on the CPU would be appreciated. - Jeff On Apr 1, 2011, at 5:2059 PM, David Thompson wrote: > You might try having your ExecuteEveryMinute create an ExecuteEverySecond when it determines that the time is within 1 minute of the designated time. Then ExecuteEverySecond could call the appropriate procedure when the time arrives, and destroy itself with an Undefine statement. > > Dave From sgallaghe at aol.com Fri Apr 1 14:29:59 2011 From: sgallaghe at aol.com (Steve Gallagher) Date: Fri, 1 Apr 2011 14:29:59 -0700 Subject: New Question vs. Thread Hijacking In-Reply-To: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C@mac.com> References: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C@mac.com> Message-ID: <55F2E60E-FB42-44A9-87F5-5A18CBDCACDB@aol.com> I think you're rather naive to think that you can have other people conform to a strict behavior just so you can have an orderly inbox. On Apr 1, 2011, at 7:37 AM, Kurt J. Meyer wrote: > Many of us use Mail.app's option to display Mails ordered by thread. > > This is really a fine option, but it gets messed up quite often, since people, who read the QnA and want to ask a new question, do that by hitting the Reply button and they think, it it sufficient to overwrite the previous subject. > > No, that is not sufficient. > > Mail.app obviously looks less for the subject than for the reply-to info (hidden in the headers). Have a look at View > Message > Raw Source ! > > So please, please, if you want to ask a new question, klick the New Message button, NOT the Reply button! O.K., you have to enter the address manually ? but try it and type "qna" ... It's easy. > > Best regards > Kurt > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From allen at macprosolutions.com Fri Apr 1 15:39:40 2011 From: allen at macprosolutions.com (Allen Cleaton) Date: Fri, 1 Apr 2011 18:39:40 -0400 Subject: Cross Reference Message-ID: I used the cross reference db back in the day and then one day (pano4?) it stopped working. Now I'm trying to use the cross reference wizard and I get various issues. On an older DB I am presented with a set of errors so I started a new clean db and when clicking "Build Cross Reference" I get an error "Field or variable does not exist: xRefOptions." Then Pano crashes. Another attempt and error is no reverseoption. I remember issues commented on this list some time ago, what's the latest? This happens with Pan 6 and 5.5 Allen Cleaton Business Sales Representative MacPro Virginia's Apple Specialist 8026A W. Broad St. Richmond, VA 23294 804-497-8710 705 W. Main St. Charlottesville, VA 22903 434-806-0793 Allen at macprosolutions.com http://www.macprosolutions.com We're here to help Recipient of Apple's Commitment To Excellence Award P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From conable.1 at osu.edu Fri Apr 1 16:05:04 2011 From: conable.1 at osu.edu (William Conable) Date: Fri, 01 Apr 2011 16:05:04 -0700 Subject: New Question vs. Thread Hijacking In-Reply-To: <55F2E60E-FB42-44A9-87F5-5A18CBDCACDB@aol.com> References: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C@mac.com> <55F2E60E-FB42-44A9-87F5-5A18CBDCACDB@aol.com> Message-ID: <4D965A20.7000908@osu.edu> An HTML attachment was scrubbed... URL: From robert at ameeti.net Fri Apr 1 16:44:54 2011 From: robert at ameeti.net (Robert Ameeti) Date: Fri, 1 Apr 2011 16:44:54 -0700 Subject: New Question vs. Thread Hijacking In-Reply-To: <55F2E60E-FB42-44A9-87F5-5A18CBDCACDB@aol.com> References: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C@mac.com> <55F2E60E-FB42-44A9-87F5-5A18CBDCACDB@aol.com> Message-ID: I think the term for this is netiquette. And yes, to expect others to be courteous is sometimes asking a bit more than others want to give. Sorry. At 2:29 PM -0700, 4/1/11, Steve Gallagher wrote: >I think you're rather naive to think that you >can have other people conform to a strict >behavior just so you can have an orderly inbox. > > >On Apr 1, 2011, at 7:37 AM, Kurt J. Meyer wrote: > >>Many of us use Mail.app's option to display Mails ordered by thread. >> >>This is really a fine option, but it gets >>messed up quite often, since people, who read >>the QnA and want to ask a new question, do that >>by hitting the Reply button and they think, it >>it sufficient to overwrite the previous subject. >> >>No, that is not sufficient. >> >>Mail.app obviously looks less for the subject >>than for the reply-to info (hidden in the >>headers). Have a look at View > Message > Raw >>Source ! >> >>So please, please, if you want to ask a new >>question, klick the New Message button, NOT the >>Reply button! O.K., you have to enter the >>address manually - but try it and type "qna" >>... It's easy. >> >>Best regards >>Kurt -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist My software never has bugs; it just develops random features. <><><><><><><><><><><><> -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert at ameeti.net Fri Apr 1 17:20:37 2011 From: robert at ameeti.net (Robert Ameeti) Date: Fri, 1 Apr 2011 17:20:37 -0700 Subject: Cross Reference In-Reply-To: References: Message-ID: I've not found it reliable about 80% of the time. While it would be very handy if it worked, it either crashes Panorama or produces some odd error for me as well. I'm using Panorama 5 & 6 both. At 6:39 PM -0400, 4/1/11, Allen Cleaton wrote: >I used the cross reference db back in the day >and then one day (pano4?) it stopped working. > Now I'm trying to use the cross reference >wizard and I get various issues. >On an older DB I am presented with a set of >errors so I started a new clean db and when >clicking "Build Cross Reference" I get an error >"Field or variable does not exist: xRefOptions." > Then Pano crashes. > >Another attempt and error is no reverseoption. > >I remember issues commented on this list some time ago, what's the latest? > >This happens with Pan 6 and 5.5 > > >Allen Cleaton -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist The first duty of a revolutionary is to get away with it. -- Abbie Hoffman <><><><><><><><><><><><> From audax at wideband.net.au Fri Apr 1 17:58:50 2011 From: audax at wideband.net.au (Michael Kellock) Date: Sat, 2 Apr 2011 11:58:50 +1100 Subject: Cross Reference In-Reply-To: References: Message-ID: CrossRef has become a minefield - ignore it. Use View Wizard (the last item in the Wizards menu) - it's much easier. michael On 02/04/2011, at 9:39 AM, Allen Cleaton wrote: > I used the cross reference db back in the day and then one day (pano4?) it stopped working. Now I'm trying to use the cross reference wizard and I get various issues. > On an older DB I am presented with a set of errors so I started a new clean db and when clicking "Build Cross Reference" I get an error "Field or variable does not exist: xRefOptions." Then Pano crashes. > > Another attempt and error is no reverseoption. > > I remember issues commented on this list some time ago, what's the latest? > > This happens with Pan 6 and 5.5 > > > Allen Cleaton > Business Sales Representative > MacPro > Virginia's Apple Specialist > 8026A W. Broad St. > Richmond, VA 23294 > 804-497-8710 > 705 W. Main St. > Charlottesville, VA 22903 > 434-806-0793 > > Allen at macprosolutions.com > http://www.macprosolutions.com > We're here to help > > Recipient of Apple's Commitment To Excellence Award > > > P > Please consider the environment before printing this e-mail > > > > > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From kjmeyer at mac.com Fri Apr 1 18:37:16 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Sat, 02 Apr 2011 03:37:16 +0200 Subject: New Question vs. Thread Hijacking In-Reply-To: <55F2E60E-FB42-44A9-87F5-5A18CBDCACDB@aol.com> References: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C@mac.com> <55F2E60E-FB42-44A9-87F5-5A18CBDCACDB@aol.com> Message-ID: <4DBFE101-0170-4139-87E8-DE11268B75EC@mac.com> Am 01.04.2011 um 23:29 schrieb Steve Gallagher: > I think you're rather naive to think that you can have other people conform to a strict behavior just so you can have an orderly inbox. I am pretty sure that there will be mess again. And there is no guarantee, my begging will succeed. But I prefer to try make things easier. So I share some code, so I ask to use the New Message button, if you are going to ask a new question and if you are going to start a new thread. I think I did that in a polite way. If you don't think so or belong to generations of people that never have read or will read this thread: Do not bother. I am used to live with messed threads. Best regards Kurt From robert at ameeti.net Fri Apr 1 18:55:27 2011 From: robert at ameeti.net (Robert Ameeti) Date: Fri, 1 Apr 2011 18:55:27 -0700 Subject: New Question vs. Thread Hijacking In-Reply-To: <4DBFE101-0170-4139-87E8-DE11268B75EC@mac.com> References: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C@mac.com> <55F2E60E-FB42-44A9-87F5-5A18CBDCACDB@aol.com> <4DBFE101-0170-4139-87E8-DE11268B75EC@mac.com> Message-ID: Kinda falls along the lines of emails with the subject being 'Help' or 'Question". At 3:37 AM +0200, 4/2/11, Kurt J. Meyer wrote: >Am 01.04.2011 um 23:29 schrieb Steve Gallagher: > >> I think you're rather naive to think that you >>can have other people conform to a strict >>behavior just so you can have an orderly inbox. > >I am pretty sure that there will be mess again. >And there is no guarantee, my begging will >succeed. > >But I prefer to try make things easier. So I >share some code, so I ask to use the New Message >button, if you are going to ask a new question >and if you are going to start a new thread. > >I think I did that in a polite way. > >If you don't think so or belong to generations >of people that never have read or will read this >thread: Do not bother. I am used to live with >messed threads. > >Best regards >Kurt >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist Fear is that little darkroom where negatives are developed. <><><><><><><><><><><><> From trackmanpete at comcast.net Fri Apr 1 19:15:44 2011 From: trackmanpete at comcast.net (Pete) Date: Fri, 01 Apr 2011 22:15:44 -0400 Subject: New Question vs. Thread Hijacking In-Reply-To: <4DBFE101-0170-4139-87E8-DE11268B75EC@mac.com> References: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C@mac.com> <55F2E60E-FB42-44A9-87F5-5A18CBDCACDB@aol.com> <4DBFE101-0170-4139-87E8-DE11268B75EC@mac.com> Message-ID: <4D9686D0.1010802@comcast.net> I have seen other q and a forums where people make a point of asking that any new thread have a heading that gives a clue to what the question might be and posters getting chastised if they don't or if they move away from the given topic. I would think it would be much more helpful to have a topic header in the subject area, rather than just having a subject that states: "I need help", or changing the topic within a specific thread. So, I agree with Kurt, who has been very generous over the years with his code and helpful suggestions. Makes it easy for all of us trying to learn new things with Pan doing searches, if one takes a moment and provides an appropriate subject title and then stays on topic. Pete Schuder On 4/1/2011 9:37 PM, Kurt J. Meyer wrote: > Am 01.04.2011 um 23:29 schrieb Steve Gallagher: > >> I think you're rather naive to think that you can have other people conform to a strict behavior just so you can have an orderly inbox. > I am pretty sure that there will be mess again. And there is no guarantee, my begging will succeed. > > But I prefer to try make things easier. So I share some code, so I ask to use the New Message button, if you are going to ask a new question and if you are going to start a new thread. > > I think I did that in a polite way. > > If you don't think so or belong to generations of people that never have read or will read this thread: Do not bother. I am used to live with messed threads. > > Best regards > Kurt > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > From vic at mac.com Fri Apr 1 19:02:44 2011 From: vic at mac.com (Vic Glassley) Date: Fri, 01 Apr 2011 19:02:44 -0700 Subject: Any eta on next upgrade? Message-ID: Any eta on the next revision to Panorama that was mentioned a while ago? Looking forward to some of the things mentioned. Thanks in advance Vic Sent from my iPad From mylevelbest at gmail.com Sun Apr 3 07:24:19 2011 From: mylevelbest at gmail.com (David Groover) Date: Sun, 03 Apr 2011 10:24:19 -0400 Subject: How To ATtach A Bundle Message-ID: <4D988313.3010407@gmail.com> Can someone suggest a way to attach a bundled file so that clicking it''s stored filepath at a later date will open it? Using Scrivener for my writing projects, the Scrivener files are bundles. Therefore I cannot use: OpenFileDialog lvFolder, lvFile, lvType,"" as the file will be grayed out. Thanks very much. David Groover -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdarington at gmail.com Sun Apr 3 08:10:39 2011 From: sdarington at gmail.com (Steven Darington) Date: Sun, 3 Apr 2011 08:10:39 -0700 Subject: How To ATtach A Bundle In-Reply-To: <4D988313.3010407@gmail.com> References: <4D988313.3010407@gmail.com> Message-ID: openanything folder,file On 4/3/11, David Groover wrote: > Can someone suggest a way to attach a bundled file so that clicking > it''s stored filepath at a later date will open it? Using Scrivener for > my writing projects, the Scrivener files are bundles. Therefore I cannot > use: > > OpenFileDialog lvFolder, lvFile, lvType,"" > > as the file will be grayed out. Thanks very much. > > David Groover > From mylevelbest at gmail.com Sun Apr 3 16:16:50 2011 From: mylevelbest at gmail.com (David Groover) Date: Sun, 03 Apr 2011 19:16:50 -0400 Subject: How To ATtach A Bundle In-Reply-To: References: <4D988313.3010407@gmail.com> Message-ID: <4D98FFE2.40602@gmail.com> Thanks, but that may work when I already have a file picked out. The problem is, how do I pick out a grayed out bundle file from a folder so that I can store the address? I don't have a problem opening it, I have a problem finding it and storing it as a path to open later. When I use the following steps, no matter which folder I chose, I still get the same results. I get a high level folder result (the whole drive apparently), and not the folder I clicked on. choosefolderdialog attachedFile attachedFile = foldercontents(attachedFile) showvariables attachedFile Any ideas? Thanks David Steven Darington wrote: > openanything folder,file > > On 4/3/11, David Groover wrote: > >> Can someone suggest a way to attach a bundled file so that clicking >> it''s stored filepath at a later date will open it? Using Scrivener for >> my writing projects, the Scrivener files are bundles. Therefore I cannot >> use: >> >> OpenFileDialog lvFolder, lvFile, lvType,"" >> >> as the file will be grayed out. Thanks very much. >> >> David Groover >> >> > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From csw at me.com Sun Apr 3 20:22:53 2011 From: csw at me.com (Watts Chris) Date: Sun, 03 Apr 2011 20:22:53 -0700 Subject: How To ATtach A Bundle In-Reply-To: <4D98FFE2.40602@gmail.com> References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> Message-ID: <56265A43-389B-49D2-B341-BDC45698D459@me.com> Well, aside from the arguably bad form in replacing a function's source variable with the output of that function, you are feeding foldercontents the wrong data type. It wants an hfs string and you are feeding it 6 byte binary data. This will do what you want: local attachedFile, thethingiwant choosefolderdialog attachedFile thethingiwant=foldercontents(folderpath(attachedFile)) message "file is " + thethingiwant scrapcalc "the chosen folder was : " + arraytrim(folderpath(attachedFile),1,":")+ ", and its contents are listed below:"+?+thethingiwant The output is as follows: the chosen folder was : csw:movies:detention:101810b:058_002_v01, and its contents are listed below: shot_058_002_0962.tga shot_058_002_0963.tga shot_058_002_0964.tga shot_058_002_0965.tga shot_058_002_0966.tga shot_058_002_0967.tga shot_058_002_0968.tga shot_058_002_0969.tga shot_058_002_0970.tga shot_058_002_0971.tga shot_058_002_0972.tga shot_058_002_0973.tga shot_058_002_0974.tga shot_058_002_0975.tga shot_058_002_0976.tga shot_058_002_0977.tga shot_058_002_0978.tga shot_058_002_0979.tga shot_058_002_0980.tga shot_058_002_0981.tga shot_058_002_0982.tga shot_058_002_0983.tga shot_058_002_0984.tga On Apr 3, 2011, at 4:16 PM, David Groover wrote: > Thanks, but that may work when I already have a file picked out. The problem is, how do I pick out a grayed out bundle file from a folder so that I can store the address? I don't have a problem opening it, I have a problem finding it and storing it as a path to open later. > > When I use the following steps, no matter which folder I chose, I still get the same results. I get a high level folder result (the whole drive apparently), and not the folder I clicked on. > > choosefolderdialog attachedFile > attachedFile = foldercontents(attachedFile) > showvariables attachedFile > > Any ideas? > > Thanks > > David > > Steven Darington wrote: >> >> openanything folder,file >> >> On 4/3/11, David Groover wrote: >> >>> Can someone suggest a way to attach a bundled file so that clicking >>> it''s stored filepath at a later date will open it? Using Scrivener for >>> my writing projects, the Scrivener files are bundles. Therefore I cannot >>> use: >>> >>> OpenFileDialog lvFolder, lvFile, lvType,"" >>> >>> as the file will be grayed out. Thanks very much. >>> >>> David Groover >>> >>> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna >> >> > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From designer at quickdata.com Mon Apr 4 06:15:54 2011 From: designer at quickdata.com (Paul) Date: Mon, 04 Apr 2011 06:15:54 -0700 Subject: New Question vs. Thread Hijacking In-Reply-To: <4D9686D0.1010802@comcast.net> References: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C@mac.com> <55F2E60E-FB42-44A9-87F5-5A18CBDCACDB@aol.com> <4DBFE101-0170-4139-87E8-DE11268B75EC@mac.com> <4D9686D0.1010802@comcast.net> Message-ID: <4D99C48A.7000105@quickdata.com> Pete, But this wasn't about the subject line. That was the issue. It was not about asking question B under old subject line A - anyone can understand that. It was about changing the subject line, i.e. in the mind of the poster, creating a new thread, and asking the new question. As they see it, no harm, no foul - they are not "hijacking" because it is a new subject line. I haven't followed all the detail here but I believe Kurt's request was based on the back that new question B would still have the same Reply To: - a field usually unseen and different from To: - information as the original question A. And because of that, it would throw off some sort in Kurt's and perhaps others' QnA logging/capture programs. So it was informational to learn about the Repy To field not changing but I'd think a person would be sorting on Topic and t'er it me, I'd have a panel of check boxes with various topic keywords and I'd be retrieving on posts with content that matches my KeyWords. I don't recall how Kurt used the Reply To: field (perhaps he is only saving replies from Dave Thompson) but I now know that field doesn't change if I just change the subject line of a previous question. Paul QuickData On 4/1/11 7:15 PM, Pete wrote: > I have seen other q and a forums where people make a point of asking > that any new thread have a heading that gives a clue to what the > question might be and posters getting chastised if they don't or if > they move away from the given topic. I would think it would be much > more helpful to have a topic header in the subject area, rather than > just having a subject that states: "I need help", or changing the > topic within a specific thread. > > So, I agree with Kurt, who has been very generous over the years with > his code and helpful suggestions. Makes it easy for all of us trying > to learn new things with Pan doing searches, if one takes a moment and > provides an appropriate subject title and then stays on topic. > > Pete Schuder > > On 4/1/2011 9:37 PM, Kurt J. Meyer wrote: >> Am 01.04.2011 um 23:29 schrieb Steve Gallagher: >> >>> I think you're rather naive to think that you can have other people >>> conform to a strict behavior just so you can have an orderly inbox. >> I am pretty sure that there will be mess again. And there is no >> guarantee, my begging will succeed. >> >> But I prefer to try make things easier. So I share some code, so I >> ask to use the New Message button, if you are going to ask a new >> question and if you are going to start a new thread. >> >> I think I did that in a polite way. >> >> If you don't think so or belong to generations of people that never >> have read or will read this thread: Do not bother. I am used to live >> with messed threads. >> >> Best regards >> Kurt >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna >> > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > > From kjmeyer at mac.com Mon Apr 4 06:34:23 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Mon, 04 Apr 2011 15:34:23 +0200 Subject: New Question vs. Thread Hijacking In-Reply-To: <4D99C48A.7000105@quickdata.com> References: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C@mac.com> <55F2E60E-FB42-44A9-87F5-5A18CBDCACDB@aol.com> <4DBFE101-0170-4139-87E8-DE11268B75EC@mac.com> <4D9686D0.1010802@comcast.net> <4D99C48A.7000105@quickdata.com> Message-ID: Am 04.04.2011 um 15:15 schrieb Paul: > I don't recall how Kurt used the Reply To: field (perhaps he is only saving replies from Dave Thompson) but I now know that field doesn't change if I just change the subject line of a previous question. To avoid possible misunderstandings: I did not mean the "Reply-to" field of a message, but the hidden "In-Reply-to" information that is stored automatically in the mail header when you answer to a mail. It contains an unique identifier of the source mail. Threads in Mail.app are ordered by this In-Reply-to info, not by subject. Kurt From dthmpsn1 at illinois.edu Mon Apr 4 08:53:46 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Mon, 4 Apr 2011 10:53:46 -0500 (CDT) Subject: New Question vs. Thread Hijacking In-Reply-To: References: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C@mac.com> <55F2E60E-FB42-44A9-87F5-5A18CBDCACDB@aol.com> <4DBFE101-0170-4139-87E8-DE11268B75EC@mac.com> <4D9686D0.1010802@comcast.net> <4D99C48A.7000105@quickdata.com> Message-ID: <20110404105346.CPP43397@expms1.cites.uiuc.edu> Between the In-Reply-to and References fields, the entire thread is recorded in the normally hidden fields. These were taken from Kurt's last reply. In-reply-to: <4D99C48A.7000105 at quickdata.com> Date: Mon, 04 Apr 2011 15:34:23 +0200 Message-id: References: <14F430FA-BC0A-49E9-BC9A-B1A83A999D6C at mac.com> <55F2E60E-FB42-44A9-87F5-5A18CBDCACDB at aol.com> <4DBFE101-0170-4139-87E8-DE11268B75EC at mac.com> <4D9686D0.1010802 at comcast.net> <4D99C48A.7000105 at quickdata.com> These fields appear to be standard. Even email programs that don't offer the option to view by thread maintain them. Dave ---- Original message ---- >Date: Mon, 04 Apr 2011 15:34:23 +0200 >From: "Kurt J. Meyer" >Subject: Re: New Question vs. Thread Hijacking >To: designer at quickdata.com, "Panorama Questions Answers (Discussion)" > > >Am 04.04.2011 um 15:15 schrieb Paul: > >> I don't recall how Kurt used the Reply To: field (perhaps he is only saving replies from Dave Thompson) but I now know that field doesn't change if I just change the subject line of a previous question. > >To avoid possible misunderstandings: >I did not mean the "Reply-to" field of a message, but the hidden "In-Reply-to" information that is stored automatically in the mail header when you answer to a mail. It contains an unique identifier of the source mail. > >Threads in Mail.app are ordered by this In-Reply-to info, not by subject. > >Kurt >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From mylevelbest at gmail.com Mon Apr 4 09:18:20 2011 From: mylevelbest at gmail.com (David Groover) Date: Mon, 04 Apr 2011 12:18:20 -0400 Subject: How To ATtach A Bundle In-Reply-To: <56265A43-389B-49D2-B341-BDC45698D459@me.com> References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> Message-ID: <4D99EF4C.40206@gmail.com> OK, I can get a list of items in a folder (not completely as some are truncated with a number symbol and some numbers). But, I still cannot select one specific file in a folder where all the bundled files are grayed out. Testing, I can see that it all works. But again, the main problem is, how to attach a grayed out file. Is this going to be a two stage process no matter what? Meaning, I can build a list, then I have to display the list, now click on the item to select it? local attachedFile, thethingiwant, temparrayfile choosefolderdialog attachedFile thethingiwant=foldercontents(folderpath(attachedFile)) giantmessage "file is " +?+ thethingiwant temparrayfile = arraylast(thethingiwant,?) openanything attachedFile,temparrayfile Thanks David Groover Watts Chris wrote: > Well, aside from the arguably bad form in replacing a function's > source variable with the output of that function, you are feeding > foldercontents the wrong data type. It wants an hfs string and you > are feeding it 6 byte binary data. > > This will do what you want: > > local attachedFile, thethingiwant > choosefolderdialog attachedFile > thethingiwant=foldercontents(folderpath(attachedFile)) > message "file is " + thethingiwant > > scrapcalc "the chosen folder was : " + > arraytrim(folderpath(attachedFile),1,":")+ ", and its contents are > listed below:"+?+thethingiwant > > > The output is as follows: > > > the chosen folder was : csw:movies:detention:101810b:058_002_v01, and > its contents are listed below: > shot_058_002_0962.tga > shot_058_002_0963.tga > shot_058_002_0964.tga > shot_058_002_0965.tga > shot_058_002_0966.tga > shot_058_002_0967.tga > shot_058_002_0968.tga > shot_058_002_0969.tga > shot_058_002_0970.tga > shot_058_002_0971.tga > shot_058_002_0972.tga > shot_058_002_0973.tga > shot_058_002_0974.tga > shot_058_002_0975.tga > shot_058_002_0976.tga > shot_058_002_0977.tga > shot_058_002_0978.tga > shot_058_002_0979.tga > shot_058_002_0980.tga > shot_058_002_0981.tga > shot_058_002_0982.tga > shot_058_002_0983.tga > shot_058_002_0984.tga > On Apr 3, 2011, at 4:16 PM, David Groover wrote: > >> Thanks, but that may work when I already have a file picked out. The >> problem is, how do I pick out a grayed out bundle file from a folder >> so that I can store the address? I don't have a problem opening it, I >> have a problem finding it and storing it as a path to open later. >> >> When I use the following steps, no matter which folder I chose, I >> still get the same results. I get a high level folder result (the >> whole drive apparently), and not the folder I clicked on. >> >> choosefolderdialog attachedFile >> attachedFile = foldercontents(attachedFile) >> showvariables attachedFile >> >> Any ideas? >> >> Thanks >> >> David >> >> Steven Darington wrote: >>> openanything folder,file >>> >>> On 4/3/11, David Groover wrote: >>> >>>> Can someone suggest a way to attach a bundled file so that clicking >>>> it''s stored filepath at a later date will open it? Using Scrivener for >>>> my writing projects, the Scrivener files are bundles. Therefore I cannot >>>> use: >>>> >>>> OpenFileDialog lvFolder, lvFile, lvType,"" >>>> >>>> as the file will be grayed out. Thanks very much. >>>> >>>> David Groover >>>> >>>> >>> _______________________________________________ >>> Qna mailing list >>> Qna at provue.com >>> http://provue.com/mailman/listinfo/qna >>> >>> >> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > ------------------------------------------------------------------------ > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dthmpsn1 at illinois.edu Mon Apr 4 12:17:13 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Mon, 4 Apr 2011 14:17:13 -0500 Subject: How To ATtach A Bundle In-Reply-To: <4D99EF4C.40206@gmail.com> References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> <4D99EF4C.40206@gmail.com> Message-ID: >OK, I can get a list of items in a folder (not completely as some >are truncated with a number symbol and some numbers). But, I still >cannot select one specific file in a folder where all the bundled >files are grayed out. > >Testing, I can see that it all works. But again, the main problem >is, how to attach a grayed out file. Is this going to be a two stage >process no matter what? Meaning, I can build a list, then I have to >display the list, now click on the item to select it? The code for the ChooseFolderDialog custom statement can be changed so that bundles aren't grayed out. Open the CHOOSEFOLDERDIALOG procedure in the _DiskLib library and look for the line that reads set thisFolder to choose folder and change it to set thisFolder to choose folder with showing package contents Dave From mylevelbest at gmail.com Mon Apr 4 15:03:38 2011 From: mylevelbest at gmail.com (David Groover) Date: Mon, 04 Apr 2011 18:03:38 -0400 Subject: How To ATtach A Bundle In-Reply-To: References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> <4D99EF4C.40206@gmail.com> Message-ID: <4D9A403A.7050309@gmail.com> Thanks. I will take a look at that. David David Thompson wrote: >> OK, I can get a list of items in a folder (not completely as some are >> truncated with a number symbol and some numbers). But, I still cannot >> select one specific file in a folder where all the bundled files are >> grayed out. >> >> Testing, I can see that it all works. But again, the main problem is, >> how to attach a grayed out file. Is this going to be a two stage >> process no matter what? Meaning, I can build a list, then I have to >> display the list, now click on the item to select it? > > The code for the ChooseFolderDialog custom statement can be changed so > that bundles aren't grayed out. Open the CHOOSEFOLDERDIALOG procedure > in the _DiskLib library and look for the line that reads > > set thisFolder to choose folder > > and change it to > > set thisFolder to choose folder with showing package contents > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From wahib at eim.ae Tue Apr 5 09:02:31 2011 From: wahib at eim.ae (Wahib Afyouni) Date: Tue, 5 Apr 2011 20:02:31 +0400 Subject: Is the list down ? Message-ID: <75AF3099-1319-45B0-970D-91EAA7F53F0B@eim.ae> I have not seen any message since March 29th ! <><><><><><><><><><><><><><><><><> Best Regards Dr. Wahib S. Afyouni Managing Director Gulf Scientific Corporation, Dubai (www.gsc2000.com) Mobile : +971-50-644-0133 ---------------------------------------------------------------------------------------------- --- Celebrating 21 years of scientific support excellence (1990-2011) --- -------------------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From cdpublishing at qwestoffice.net Tue Apr 5 10:13:34 2011 From: cdpublishing at qwestoffice.net (Craig McPherson) Date: Tue, 5 Apr 2011 10:13:34 -0700 Subject: Is the list down ? In-Reply-To: <75AF3099-1319-45B0-970D-91EAA7F53F0B@eim.ae> References: <75AF3099-1319-45B0-970D-91EAA7F53F0B@eim.ae> Message-ID: <47AA60FC-DA26-4AED-AEEE-175D61C4D079@qwestoffice.net> nope; I got several messages yesterday, 04/04/11 Craig McPherson On Apr 5, 2011, at 9:02 AM, Wahib Afyouni wrote: > I have not seen any message since March 29th ! > <><><><><><><><><><><><><><><><><> > Best Regards > > Dr. Wahib S. Afyouni > Managing Director > Gulf Scientific Corporation, Dubai (www.gsc2000.com) > Mobile : +971-50-644-0133 > > ---------------------------------------------------------------------------------------------- > --- Celebrating 21 years of scientific support excellence (1990-2011) --- > -------------------------------------------------------------------------------------------- > > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert at ameeti.net Tue Apr 5 10:27:43 2011 From: robert at ameeti.net (Robert Ameeti) Date: Tue, 5 Apr 2011 10:27:43 -0700 Subject: Is the list down ? In-Reply-To: <75AF3099-1319-45B0-970D-91EAA7F53F0B@eim.ae> References: <75AF3099-1319-45B0-970D-91EAA7F53F0B@eim.ae> Message-ID: Rather than give everyone a test message, it would be great if you might offer a tip that you have recently learned for figured out. If the list is working, you will get the tip, if it is not working, you will know it too. Treasures instead of trash. At 8:02 PM +0400, 4/5/11, Wahib Afyouni wrote: >I have not seen any message since March 29th ! -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist Children in the front seat cause accidents, accidents in the back seat cause children. <><><><><><><><><><><><> From kjmeyer at mac.com Tue Apr 5 10:45:12 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Tue, 05 Apr 2011 19:45:12 +0200 Subject: Is the list down ? In-Reply-To: <75AF3099-1319-45B0-970D-91EAA7F53F0B@eim.ae> References: <75AF3099-1319-45B0-970D-91EAA7F53F0B@eim.ae> Message-ID: <5726AA6D-EA09-4521-98C8-0D51A7537519@mac.com> Am 05.04.2011 um 18:02 schrieb Wahib Afyouni: > I have not seen any message since March 29th ! You can see what has happened on the list on http://www.provue.com/support/QNA/index.html . If you did not receive the last messages, you might consider checking your mailing list settings at http://provue.com/mailman/listinfo/qna . Kurt From audax at wideband.net.au Tue Apr 5 16:04:34 2011 From: audax at wideband.net.au (Michael Kellock) Date: Wed, 6 Apr 2011 09:04:34 +1000 Subject: An alternative to record-by-record search? Message-ID: <48DCEC39-5CD3-4B33-92B7-8FE71D5315B5@wideband.net.au> I have a 600k-record d/b in which some values in field A have multiple occurrences, each with a different value in field B. For each such case, I want to gather all of the B values and store them in one record. For example, A B 6 12 6 21 6 9 6 123 would become 6 12;21;9;123 My current solution is to sort and unpropagate field A, seek empty A values and relocate their B values. This is painfully slow for a large d/b but I can't devise an alternative - is there one? michael From robert at ameeti.net Tue Apr 5 16:07:10 2011 From: robert at ameeti.net (Robert Ameeti) Date: Tue, 5 Apr 2011 16:07:10 -0700 Subject: Syntax assist please Message-ID: I am needing to create Permanent variables programmatically within a procedure but I do not know the name of the variable ahead of time. Permanent "p"+NewVariableName results in a permanent variable that is named: "p"+NewVariableName Similarly Permanent "p"+Clipboard() results in a permanent variable named: "p"+Clipboard() Not quite what I'm wanting. I've tried other methods but can't seem to find the right syntax. Assist from others? -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist I majored in liberal arts. Will that be for here or to go? <><><><><><><><><><><><> From jim at provue.com Tue Apr 5 16:32:10 2011 From: jim at provue.com (James Rea) Date: Tue, 5 Apr 2011 16:32:10 -0700 Subject: Syntax assist please In-Reply-To: Message-ID: On 4/5/11 at 4:07 PM, robert at ameeti.net (Robert Ameeti) wrote: >I am needing to create Permanent variables programmatically >within a procedure but I do not know the name of the variable >ahead of time. > >Permanent "p"+NewVariableName results in a permanent variable that is named: The only way to do this is with the execute statement, for example execute {Permanent p}+NewVariableName Jim From mark at abernackie.com Wed Apr 6 05:01:24 2011 From: mark at abernackie.com (Mark Terry) Date: Wed, 6 Apr 2011 08:01:24 -0400 Subject: An alternative to record-by-record search? In-Reply-To: <48DCEC39-5CD3-4B33-92B7-8FE71D5315B5@wideband.net.au> References: <48DCEC39-5CD3-4B33-92B7-8FE71D5315B5@wideband.net.au> Message-ID: <4A1F1A84-B1BF-41AD-90DD-E74B04F60C3B@abernackie.com> This loop seems to work ok. You'd need to deal with dup records afterwards, if wanted. local RA,CHAR loop RA="" CHAR=A arraybuild RA, ";", "", ?(A=CHAR,B,"") arraydeduplicate arraystrip(RA,";"),RA,";" B=RA DownRecord until info("stopped") M On Apr 5, 2011, at 7:04 PM, Michael Kellock wrote: > I have a 600k-record d/b in which some values in field A have > multiple occurrences, each with a different value in field B. For > each such case, I want to gather all of the B values and store them > in one record. For example, > > A B > 6 12 > 6 21 > 6 9 > 6 123 > > would become > > 6 12;21;9;123 > > My current solution is to sort and unpropagate field A, seek empty A > values and relocate their B values. This is painfully slow for a > large d/b but I can't devise an alternative - is there one? > > michael > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From csw at me.com Wed Apr 6 06:04:47 2011 From: csw at me.com (Watts Chris) Date: Wed, 06 Apr 2011 06:04:47 -0700 Subject: Syntax assist please In-Reply-To: References: Message-ID: Execute {Permanent }+ p+clipboard() watts On Apr 5, 2011, at 4:07 PM, Robert Ameeti wrote: > I am needing to create Permanent variables programmatically within a procedure but I do not know the name of the variable ahead of time. > > Permanent "p"+NewVariableName results in a permanent variable that is named: > > "p"+NewVariableName > > Similarly > > Permanent "p"+Clipboard() results in a permanent variable named: > > "p"+Clipboard() > > Not quite what I'm wanting. I've tried other methods but can't seem to find the right syntax. Assist from others? > -- > > <><><><><><><><><><><><> > Robert Ameeti - ePro? > MailTo:robert at ameeti.net > (949) 422-6866 FAX (267) 222-6866 > PC & Mac computer specialist > > I majored in liberal arts. Will that be for here or to go? > <><><><><><><><><><><><> > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From samrutherford at musiccitymetals.net Wed Apr 6 07:32:04 2011 From: samrutherford at musiccitymetals.net (Sam Rutherford) Date: Wed, 6 Apr 2011 09:32:04 -0500 Subject: An alternative to record-by-record search? In-Reply-To: <48DCEC39-5CD3-4B33-92B7-8FE71D5315B5@wideband.net.au> References: <48DCEC39-5CD3-4B33-92B7-8FE71D5315B5@wideband.net.au> Message-ID: Create a database with unique values of A, then fill B with a lookupall(. ________________________________________________________________ On Apr 5, 2011, at 6:04 PM, Michael Kellock wrote: > I have a 600k-record d/b in which some values in field A have multiple occurrences, each with a different value in field B. For each such case, I want to gather all of the B values and store them in one record. For example, > > A B > 6 12 > 6 21 > 6 9 > 6 123 > > would become > > 6 12;21;9;123 > > My current solution is to sort and unpropagate field A, seek empty A values and relocate their B values. This is painfully slow for a large d/b but I can't devise an alternative - is there one? > > michael > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > ________________________________________________________________ Sam Rutherford Music City Metals 615/255-4481 samrutherford at musiccitymetals.net From csw at me.com Wed Apr 6 06:43:09 2011 From: csw at me.com (Watts Chris) Date: Wed, 06 Apr 2011 06:43:09 -0700 Subject: Syntax assist please In-Reply-To: References: Message-ID: Oops. Execute {Permanent p}+clipboard() or, for clarity > Execute {Permanent }+ "p"+clipboard() watts On Apr 6, 2011, at 6:04 AM, Watts Chris wrote: > Execute {Permanent }+ p+clipboard() > > watts > > > On Apr 5, 2011, at 4:07 PM, Robert Ameeti wrote: > >> I am needing to create Permanent variables programmatically within a procedure but I do not know the name of the variable ahead of time. >> >> Permanent "p"+NewVariableName results in a permanent variable that is named: >> >> "p"+NewVariableName >> >> Similarly >> >> Permanent "p"+Clipboard() results in a permanent variable named: >> >> "p"+Clipboard() >> >> Not quite what I'm wanting. I've tried other methods but can't seem to find the right syntax. Assist from others? >> -- >> >> <><><><><><><><><><><><> >> Robert Ameeti - ePro? >> MailTo:robert at ameeti.net >> (949) 422-6866 FAX (267) 222-6866 >> PC & Mac computer specialist >> >> I majored in liberal arts. Will that be for here or to go? >> <><><><><><><><><><><><> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From gregnilsen at me.com Wed Apr 6 13:05:58 2011 From: gregnilsen at me.com (Greg Nilsen) Date: Wed, 06 Apr 2011 13:05:58 -0700 Subject: Emailing Pan Files Message-ID: <414BE211-00A4-4426-B8AC-40B63FD972A3@me.com> I have always been able to email as attachments pan files to customers and they to me. Now that I have OS 10.6.7, Pan 6.0 and new Mac Book Pro 2 ghz i7, this does not work. Customer sends me his file "Payroll" as a file attachment. This file was developed years ago and has gone from Pan 2, 3, 4 and now 5.5 running on his Mac Book with OS 10.5. I have never added extensions to the file names and it downloads as a generic UNIX file. Adding the .pan makes it a Pan file and I can open it from the Finder. However, opening the file in a procedure using OpenFile does not work. If I manually SaveAs "Payroll.pan" and overwrite the original, the procedure then opens the file. If I email this file to my other address and download it and replace the original, it will not open from a procedure again. What is the fix? Greg Nilsen From cdpublishing at qwestoffice.net Wed Apr 6 13:13:42 2011 From: cdpublishing at qwestoffice.net (Craig McPherson) Date: Wed, 6 Apr 2011 13:13:42 -0700 Subject: Emailing Pan Files In-Reply-To: <414BE211-00A4-4426-B8AC-40B63FD972A3@me.com> References: <414BE211-00A4-4426-B8AC-40B63FD972A3@me.com> Message-ID: <7E284B88-E869-472E-8FA0-0BD311DE2ABC@qwestoffice.net> I have taken to naming all my panorama files with the extension included, mainly because I find it works better for the windows/mac crossover. I have also found occasion to write in some error fixing code, something like openfile myfilename IF ERROR openfile myfilename+".pan" ENDIF Not sure if that would fix your problem or not. Or, try compressing the file before sending? Craig McPherson On Apr 6, 2011, at 1:05 PM, Greg Nilsen wrote: > I have always been able to email as attachments pan files to customers and they to me. Now that I have OS 10.6.7, Pan 6.0 and new Mac Book Pro 2 ghz i7, this does not work. Customer sends me his file "Payroll" as a file attachment. This file was developed years ago and has gone from Pan 2, 3, 4 and now 5.5 running on his Mac Book with OS 10.5. I have never added extensions to the file names and it downloads as a generic UNIX file. Adding the .pan makes it a Pan file and I can open it from the Finder. However, opening the file in a procedure using OpenFile does not work. If I manually SaveAs "Payroll.pan" and overwrite the original, the procedure then opens the file. If I email this file to my other address and download it and replace the original, it will not open from a procedure again. What is the fix? > > Greg Nilsen > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From j.franzen at verizon.net Wed Apr 6 13:31:12 2011 From: j.franzen at verizon.net (James Franzen) Date: Wed, 06 Apr 2011 16:31:12 -0400 Subject: Saving a file to its original location and to another location. In-Reply-To: <4D916CB1.8060309@osu.edu> References: <4D916414.6030604@osu.edu> <6E6402BC-743E-421F-9AEB-F3E9283D4DAA@mac.com> <4D916CB1.8060309@osu.edu> Message-ID: I would like to save a PAN file to a second backup folder on a connected reserve drive at the same time as it is saved to its resident location. I'd like to replace the entire file in the external location without having to open that location and drag the newer file image over the older one. Is FILESAVE the command for doing do this? If so, what is the typecreator and what are the data, since I'd like the whole new file to be written over the old one. Thanks OS 10.6.7 Pan 6.0.0 Build 94356 Jim Franzen From gary at yonaites.com Wed Apr 6 15:20:07 2011 From: gary at yonaites.com (Gary Yonaites) Date: Wed, 6 Apr 2011 15:20:07 -0700 Subject: Saving a file to its original location and to another location. In-Reply-To: References: <4D916414.6030604@osu.edu> <6E6402BC-743E-421F-9AEB-F3E9283D4DAA@mac.com> <4D916CB1.8060309@osu.edu> Message-ID: Check out the custom CopyFile command. This will save a copy of the source file to a new destination and includes both the data fork and the resource fork. Gary gary at yonaites.com On Apr 6, 2011, at 1:31 PM, James Franzen wrote: > I would like to save a PAN file to a second backup folder on a connected reserve drive at the same time as it is saved to its resident location. I'd like to replace the entire file in the external location without having to open that location and drag the newer file image over the older one. > > Is FILESAVE the command for doing do this? If so, what is the typecreator and what are the data, since I'd like the whole new file to be written over the old one. > > Thanks > > OS 10.6.7 Pan 6.0.0 Build 94356 > > Jim Franzen > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From sdarington at gmail.com Wed Apr 6 15:16:40 2011 From: sdarington at gmail.com (Steven Darington) Date: Wed, 6 Apr 2011 15:16:40 -0700 Subject: Saving a file to its original location and to another location. In-Reply-To: References: <4D916414.6030604@osu.edu> <6E6402BC-743E-421F-9AEB-F3E9283D4DAA@mac.com> <4D916CB1.8060309@osu.edu> Message-ID: saveacopyas filepath:filename the path and file name may be up to 256 characters long On 4/6/11, James Franzen wrote: > I would like to save a PAN file to a second backup folder on a > connected reserve drive at the same time as it is saved to its > resident location. I'd like to replace the entire file in the > external location without having to open that location and drag the > newer file image over the older one. > > Is FILESAVE the command for doing do this? If so, what is the > typecreator and what are the data, since I'd like the whole new file > to be written over the old one. > > Thanks > > OS 10.6.7 Pan 6.0.0 Build 94356 > > Jim Franzen > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > From jim at provue.com Wed Apr 6 15:47:29 2011 From: jim at provue.com (James Rea) Date: Wed, 6 Apr 2011 15:47:29 -0700 Subject: Emailing Pan Files In-Reply-To: <414BE211-00A4-4426-B8AC-40B63FD972A3@me.com> Message-ID: On 4/6/11 at 1:05 PM, gregnilsen at me.com (Greg Nilsen) wrote: >I have never added extensions to the file names and it >downloads as a generic UNIX file. Adding the .pan makes it a >Pan file and I can open it from the Finder. This is really an OS issue, not a Panorama issue. Instead of adding .pan, you can adjust it with the Platform Converter wizard. Drag the file onto the "fix type/creator code" section of the wizard. Another alternative is to compress the file before e-mailing it. Jim From audax at wideband.net.au Wed Apr 6 16:22:44 2011 From: audax at wideband.net.au (Michael Kellock) Date: Thu, 7 Apr 2011 09:22:44 +1000 Subject: An alternative to record-by-record search? In-Reply-To: <4A1F1A84-B1BF-41AD-90DD-E74B04F60C3B@abernackie.com> References: <48DCEC39-5CD3-4B33-92B7-8FE71D5315B5@wideband.net.au> <4A1F1A84-B1BF-41AD-90DD-E74B04F60C3B@abernackie.com> Message-ID: <56FAD31F-08D8-4202-978F-BA02372A5391@wideband.net.au> I may be missing something but doesn't this do exactly what I'm doing now? It still involves stepping through the 600,000 records. michael On 06/04/2011, at 10:01 PM, Mark Terry wrote: > This loop seems to work ok. You'd need to deal with dup records afterwards, if wanted. > > local RA,CHAR > loop > RA="" > CHAR=A > arraybuild RA, ";", "", ?(A=CHAR,B,"") > arraydeduplicate arraystrip(RA,";"),RA,";" > B=RA > DownRecord > until info("stopped") > > M > > On Apr 5, 2011, at 7:04 PM, Michael Kellock wrote: > >> I have a 600k-record d/b in which some values in field A have multiple occurrences, each with a different value in field B. For each such case, I want to gather all of the B values and store them in one record. For example, >> >> A B >> 6 12 >> 6 21 >> 6 9 >> 6 123 >> >> would become >> >> 6 12;21;9;123 >> >> My current solution is to sort and unpropagate field A, seek empty A values and relocate their B values. This is painfully slow for a large d/b but I can't devise an alternative - is there one? >> >> michael >> >> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From designer at quickdata.com Wed Apr 6 19:33:10 2011 From: designer at quickdata.com (Paul) Date: Wed, 06 Apr 2011 19:33:10 -0700 Subject: How much RAM to set Message-ID: <4D9D2266.4040602@quickdata.com> Okay, here is my first attempt at "New" rather than just changing the subject line. I want to push around about 1.25 million records. The tab delimited .txt file is about 70MB. What RAM settings and where do I make things so it is a walk in the park. The PC is running Win 7 on an i5 (plenty of horsepower) with 12GB RAM (plenty of RAM). How do I make Panorama be the best it can be in that environment? Also, originally I tried to copy the result from a SQL query to the clipboard and run it in via my little "import from clipboard" routine. It choked there, but that could have been because of the PC and clipboard limitations. In that instance the PC was running a Core 2 at 1.8Ghz and only 2GB ram. Along the way I saw something about an overflow (maybe it was when I tried to import the .txt file) with a number like 4500000 (plus or minus a zero). In my "take from Clipboard" routine I set Scratch MemoryTemporary to 60000000 and Expression stacksize to 100000000 Wouldn't it be great if there were a memory wizard that would look at a data file with one representative record and take as user input the number of records and calculate all the optimum memory settings, report what they should be an optionally set them for you, either permanently or temporarily. How do I set the RAM (and where) so Panorama can handle the 1.25 million records or rather the records and fields in a 70MB text file? Thank you, Paul QuickData PS: if formulas have been developed where you plug in a number, like record count (yes, I know it depends on size of fields per record) and get those RAM suggestions it would be great to have them. From warren_rekow at speedyquick.net Wed Apr 6 20:53:44 2011 From: warren_rekow at speedyquick.net (Rekow Warren) Date: Wed, 6 Apr 2011 21:53:44 -0600 Subject: An alternative to record-by-record search? In-Reply-To: <4A1F1A84-B1BF-41AD-90DD-E74B04F60C3B@abernackie.com> References: <48DCEC39-5CD3-4B33-92B7-8FE71D5315B5@wideband.net.au> <4A1F1A84-B1BF-41AD-90DD-E74B04F60C3B@abernackie.com> Message-ID: <52D01667-21BE-48B4-95BF-4B88C361C9B1@speedyquick.net> Michael, The following script works. I have not tested it for speed on a large db. If there are not a lot of duplicate values in field A then perhaps it would run faster if a db which only contains records with duplicate field A values was first constructed. Note that a large array only somewhat smaller than the db is created. Warren local _array field A sortup arraybuild _array,?,"",A ; build array of field A values arraydeduplicate _array,_array,? ; eliminate duplicates ; step through the array combining field B values for matching field A values arrayfilter _array,_array,?,import()+?+lookupall(info("databasename"),A,import(),B,";") openfile "&@_array" ; CAUTION - replaces existing file data On Apr 5, 2011, at 7:04 PM, Michael Kellock wrote: > I have a 600k-record d/b in which some values in field A have multiple occurrences, each with a different value in field B. For each such case, I want to gather all of the B values and store them in one record. For example, > > A B > 6 12 > 6 21 > 6 9 > 6 123 > > would become > > 6 12;21;9;123 > > My current solution is to sort and unpropagate field A, seek empty A values and relocate their B values. This is painfully slow for a large d/b but I can't devise an alternative - is there one? > > michael From audax at wideband.net.au Wed Apr 6 22:53:20 2011 From: audax at wideband.net.au (Michael Kellock) Date: Thu, 7 Apr 2011 15:53:20 +1000 Subject: An alternative to record-by-record search? In-Reply-To: <52D01667-21BE-48B4-95BF-4B88C361C9B1@speedyquick.net> References: <48DCEC39-5CD3-4B33-92B7-8FE71D5315B5@wideband.net.au> <4A1F1A84-B1BF-41AD-90DD-E74B04F60C3B@abernackie.com> <52D01667-21BE-48B4-95BF-4B88C361C9B1@speedyquick.net> Message-ID: <40ACD146-0674-4AFF-B147-296E1EFF65EE@wideband.net.au> Of my 600,000 records, 450,000 A-values have multiple (up to 75) B-values. This means that your solution would involve 450,000 lokupall( calls and I'm fairly sure that wouldn't be an improvement. Nevertheless, I'll give it a try. I'm currently using my original approach but on successive partitions containing from 5,000 to 50,000 records. So far, the most efficient figure is in the region of 15,000. Both 10,000 and 20,000 take longer - interesting. Partitioning increases the efficiency significantly. michael On 07/04/2011, at 1:53 PM, Rekow Warren wrote: > Michael, > The following script works. I have not tested it for speed on a large db. If there are not a lot of duplicate values in field A then perhaps it would run faster if a db which only contains records with duplicate field A values was first constructed. Note that a large array only somewhat smaller than the db is created. > Warren > > local _array > field A sortup > arraybuild _array,?,"",A ; build array of field A values > arraydeduplicate _array,_array,? ; eliminate duplicates > ; step through the array combining field B values for matching field A values > arrayfilter _array,_array,?,import()+?+lookupall(info("databasename"),A,import(),B,";") > openfile "&@_array" ; CAUTION - replaces existing file data > > > > On Apr 5, 2011, at 7:04 PM, Michael Kellock wrote: > >> I have a 600k-record d/b in which some values in field A have multiple occurrences, each with a different value in field B. For each such case, I want to gather all of the B values and store them in one record. For example, >> >> A B >> 6 12 >> 6 21 >> 6 9 >> 6 123 >> >> would become >> >> 6 12;21;9;123 >> >> My current solution is to sort and unpropagate field A, seek empty A values and relocate their B values. This is painfully slow for a large d/b but I can't devise an alternative - is there one? >> >> michael > From BillArleneBush at cs.com Thu Apr 7 09:24:09 2011 From: BillArleneBush at cs.com (BillArleneBush at cs.com) Date: Thu, 7 Apr 2011 12:24:09 -0400 (EDT) Subject: An alternative to record-by-record search? Message-ID: In a message Michael Kellock > This code will do most of what you want. Run a test case to see the result. You next have to remove the extra records. Local item,list,Aval FirstRecord list="" Aval= A Field B FormulaFill assign(?(Aval = A,sandwich("",list,";")+B,B),"list" ) +assign(?(Aval = A,Aval,A),"Aval")[0,0] Bill Bush From gregnilsen at me.com Thu Apr 7 09:30:09 2011 From: gregnilsen at me.com (Greg Nilsen) Date: Thu, 07 Apr 2011 09:30:09 -0700 Subject: Emailing Pan Files Message-ID: <8C2DEB18-4857-4262-86BB-303E2410F84A@me.com> Once again Panorama comes through. Platform Converter fixes everything on the Mac without adding the .pan extension. If I were to use these files on a Windows machine, would I need the extensions and would I have to add the extensions to all the OpenFile commands in my procedures? Greg Nilsen From jim at provue.com Thu Apr 7 10:50:36 2011 From: jim at provue.com (James Rea) Date: Thu, 7 Apr 2011 10:50:36 -0700 Subject: Emailing Pan Files In-Reply-To: <8C2DEB18-4857-4262-86BB-303E2410F84A@me.com> Message-ID: On 4/7/11 at 9:30 AM, gregnilsen at me.com (Greg Nilsen) wrote: >If I were to use these files on a Windows machine, would I need the >extensions Yes, extensions are required when using Windows. Otherwise Windows has no way to know what type of files they are. >would I have to add the extensions to all the OpenFile commands in my procedures? No. If all the files end in .pan, openfile will figure this out. If the current file has a .pan extension, openfile will automatically append this extension if it isn't supplied (unless the nodefaultextension statement is used). All of this is described in Chapter 5 of the Formulas & Programming PDF file. Jim From dthmpsn1 at illinois.edu Thu Apr 7 10:50:33 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Thu, 7 Apr 2011 12:50:33 -0500 (CDT) Subject: Emailing Pan Files In-Reply-To: <8C2DEB18-4857-4262-86BB-303E2410F84A@me.com> References: <8C2DEB18-4857-4262-86BB-303E2410F84A@me.com> Message-ID: <20110407125033.CPS55325@expms1.cites.uiuc.edu> >Once again Panorama comes through. Platform Converter fixes everything on the Mac without adding the .pan extension. If I were to use these files on a Windows machine, would I need the extensions and would I have to add the extensions to all the OpenFile commands in my procedures? > Yes and no. Since Windows doesn't have type codes, the extensions are the only way to identify them as Panorama files. If the active database has a .pan extension (which will always be the case on Windows) Panorama will automatically add the .pan extension to the file name. So, if the active database is MyDB.pan for example, and you write OpenFile "MyOtherDB" Panorama will go looking for a file named MyOtherDB.pan and open it if it finds it. Dave From dthmpsn1 at illinois.edu Thu Apr 7 11:46:35 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Thu, 7 Apr 2011 13:46:35 -0500 Subject: An alternative to record-by-record search? In-Reply-To: <48DCEC39-5CD3-4B33-92B7-8FE71D5315B5@wideband.net.au> References: <48DCEC39-5CD3-4B33-92B7-8FE71D5315B5@wideband.net.au> Message-ID: >I have a 600k-record d/b in which some values in field A have >multiple occurrences, each with a different value in field B. For >each such case, I want to gather all of the B values and store them >in one record. For example, > >A B >6 12 >6 21 >6 9 >6 123 > >would become > >6 12;21;9;123 > >My current solution is to sort and unpropagate field A, seek empty A >values and relocate their B values. This is painfully slow for a >large d/b but I can't devise an alternative - is there one? Here is another version that uses assign(. Local x x="" Field "A" SortUp UnpropagateUp Field "B" FormulaFill sandwich("",x,";")+B+assign((sandwich("",x,";")+B)[1,(A="")],"x")[1,0] Select A <> "" RemoveUnselected The UnPropagateUp statement would blank the first 3 sixes and leave the last one alone. The purpose of the [1,(A="")] text funnel is to return the value of x to a blank after the last of the current repetitions, in order to prepare it for the next one. The text funnel will be equivalent to [1,-1] when the (A="") expression is true, and it will be equivalent to [1,0] when the expression is false. You could also write that text funnel as [1,?(A="",-1,0)] and that would be a little bit clearer, but also a little bit slower. Bill's version and mine should yield the same results. I don't know which will be faster. Dave From robert at ameeti.net Thu Apr 7 12:18:08 2011 From: robert at ameeti.net (Robert Ameeti) Date: Thu, 7 Apr 2011 12:18:08 -0700 Subject: Syntax assist please In-Reply-To: References: Message-ID: Once a variable has been defined as a permanent variable via the execute statement as shown below, how would a value be assigned to that variable that was created on the fly and will be unknown prior to running of the procedure? ie. If the clipboard contains 'Apple" execute {Permanent p}+Clipboard() will create a variable named pApple How can a procedure then assign that previously unknown variable named 'pApple' the contents of a field named 'A' ? (Pressure from work schedule appears to be clogging my brain.) At 4:32 PM -0700, 4/5/11, James Rea wrote: >On 4/5/11 at 4:07 PM, robert at ameeti.net (Robert Ameeti) wrote: > >>I am needing to create Permanent variables >>programmatically within a procedure but I do >>not know the name of the variable ahead of time. >> >>Permanent "p"+NewVariableName results in a >>permanent variable that is named: > >The only way to do this is with the execute statement, for example > >execute {Permanent p}+NewVariableName -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist If you believe in telekinesis, raise my hands. <><><><><><><><><><><><> From j.franzen at verizon.net Thu Apr 7 11:30:19 2011 From: j.franzen at verizon.net (James Franzen) Date: Thu, 07 Apr 2011 14:30:19 -0400 Subject: Saving a file to its original location and to another location. In-Reply-To: References: <4D916414.6030604@osu.edu> <6E6402BC-743E-421F-9AEB-F3E9283D4DAA@mac.com> <4D916CB1.8060309@osu.edu> Message-ID: I checked it out, and found (after I got the lengthy "paths" rightly entered) that this command does exactly what I was hoping could be done. Thank you Gary. Jim >Check out the custom CopyFile command. This will save a copy of the >source file to a new destination and includes both the data fork and >the resource fork. > >Gary >gary at yonaites.com > >On Apr 6, 2011, at 1:31 PM, James Franzen wrote: > >> I would like to save a PAN file to a second backup folder on a >>connected reserve drive at the same time as it is saved to its >>resident location. I'd like to replace the entire file in the >>external location without having to open that location and drag the >>newer file image over the older one. >> >> Is FILESAVE the command for doing do this? If so, what is the >>typecreator and what are the data, since I'd like the whole new >>file to be written over the old one. >> >> Thanks >> >> OS 10.6.7 Pan 6.0.0 Build 94356 >> > > Jim Franzen From dthmpsn1 at illinois.edu Thu Apr 7 12:57:47 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Thu, 7 Apr 2011 14:57:47 -0500 Subject: Syntax assist please In-Reply-To: References: Message-ID: >Once a variable has been defined as a permanent variable via the >execute statement as shown below, >how would a value be assigned to that variable that was created on >the fly and will be unknown prior to running of the procedure? > >ie. If the clipboard contains 'Apple" > >execute {Permanent p}+Clipboard() > >will create a variable named pApple > >How can a procedure then assign that previously unknown variable >named 'pApple' the contents of a field named 'A' ? That could be part of the execute, or of another execute. execute {Permanent p}+clipboard()+{ p}+clipboard()+{=A} or you could use the Set command execute {Permanent p}+clipboard() Set "p"+clipboard(), A Dave From csw at me.com Thu Apr 7 14:22:23 2011 From: csw at me.com (Watts Chris) Date: Thu, 07 Apr 2011 14:22:23 -0700 Subject: An alternative to record-by-record search? In-Reply-To: References: <48DCEC39-5CD3-4B33-92B7-8FE71D5315B5@wideband.net.au> Message-ID: <554636E9-7307-43EA-AB4C-546F3623F9BC@me.com> I do it like this: ;Make sure you have the right field!! This macro does not check!! ;Window info("databasename")+":Secret" ;debug Local TempSlug, Separator TempSlug="" Separator=", " ;______________ if info("formname") contains "Help" Message "Please use the Reset Database command or Data Sheet button." rtn endif ;Just making sure the user is in the data sheet ;________________ NoUndo ;this will speed things up a little FirstRecord Hide ;The loop will scan the database collecting values Loop If info("summary") =0 CopyCell ;_____________ if TempSlug contains clipboard() else TempSlug=TempSlug+Separator+clipboard() endif ;_____________ ;this makes sure that duplicates are not repeated in the cumulated list. DownRecord endif ;If it's a summary record, PASTE'EM! ;_____________ if info("summary") =1 TempSlug = TempSlug[3,-1] ;gets rid of the trailing comma Scrapcalc TempSlug PasteCell TempSlug="" DownRecord endif ;_____________ ;When you get to the bottom, stop! until info("eof") ?0 Show FirstRecord ;Window info("databasename") On Apr 7, 2011, at 11:46 AM, David Thompson wrote: >> I have a 600k-record d/b in which some values in field A have multiple occurrences, each with a different value in field B. For each such case, I want to gather all of the B values and store them in one record. For example, >> >> A B >> 6 12 >> 6 21 >> 6 9 >> 6 123 >> >> would become >> >> 6 12;21;9;123 >> >> My current solution is to sort and unpropagate field A, seek empty A values and relocate their B values. This is painfully slow for a large d/b but I can't devise an alternative - is there one? > > Here is another version that uses assign(. > > Local x > x="" > Field "A" > SortUp > UnpropagateUp > Field "B" > FormulaFill sandwich("",x,";")+B+assign((sandwich("",x,";")+B)[1,(A="")],"x")[1,0] > Select A <> "" > RemoveUnselected > > The UnPropagateUp statement would blank the first 3 sixes and leave the last one alone. The purpose of the > [1,(A="")] text funnel is to return the value of x to a blank after the last of the current repetitions, in order to prepare it for the next one. The text funnel will be equivalent to [1,-1] when the (A="") expression is true, and it will be equivalent to [1,0] when the expression is false. You could also write that text funnel as [1,?(A="",-1,0)] and that would be a little bit clearer, but also a little bit slower. > > Bill's version and mine should yield the same results. I don't know which will be faster. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From artdoc at calweb.com Thu Apr 7 14:38:35 2011 From: artdoc at calweb.com (Steve Tyron) Date: Thu, 07 Apr 2011 14:38:35 -0700 Subject: ModifyRecord question... Message-ID: <4D9E2EDB.9030704@calweb.com> The examples leave me baffled. I see this: QtyInStock=QtyInStock-1 call .ModifyRecord This is offered as an example of the .ModifyRecord, a hidden trigger procedure, but it's pretty vague! I have tried to put this into use and get nowhere. I have a simple (and almost silly) idea: I want to limit the number of characters (keystrokes) added to a field for a company name so that new additions will not be too long for a mailing label. If a name will run on to a second line, I'd like the data to alert the data entry person to break the name and put "extra" info into a second field for overflow. I have used a text display object to build the label info with several ?( functions to correctly add lines when names extend to two lines, or there is an "ATTN: " line. What I want to do is let the human decide how to break long lines. I can put 40 keystrokes into one line, so my wish is to count strokes and pop an alert when the count is 40, or more elegantly, show a running count and then lock the field at 40. I tried simple putting an equation into the design sheet: charCount=length(BusinessName1), with charCount set up as a numeric field. The Formula Wizard handles this easily, but testing the form tells me I have used a numeric argument when text was expected, then when I dismiss that warning, the numeric field updates. Questions: 1. Why am I warned if it is going to work anyway? 2. What do I do to count keystokes as they happen? Seems like ModifyRecord would do this but I don't know where to find something more informative than the "call .ModifyRecord" line that doesn't tell me anything at all. 3. Do I create my own .ModifyRecord procedure to call, like the .initialize procedure? A push in the right direction would be welcomed... Steve From cdpublishing at qwestoffice.net Thu Apr 7 15:10:53 2011 From: cdpublishing at qwestoffice.net (Craig McPherson) Date: Thu, 7 Apr 2011 15:10:53 -0700 Subject: ModifyRecord question... In-Reply-To: <4D9E2EDB.9030704@calweb.com> References: <4D9E2EDB.9030704@calweb.com> Message-ID: <073E36A5-A943-4F93-80BD-03E9CEA53584@qwestoffice.net> ? use a text funnel, e.g. MyCompanyName[1,40] to display a company name of any length on your label this will just trim off everything after the 40th character. fancier: use the length( function to determine if the length is greater than 40 and if so, display nothing on the form; use a similar, but separate text display formula in a smaller font size to determine if the length is greater than 40 and display the company name in the smaller font size if length longer than 40 or display nothing if less. Craig McPherson On Apr 7, 2011, at 2:38 PM, Steve Tyron wrote: > The examples leave me baffled. I see this: > > QtyInStock=QtyInStock-1 > call .ModifyRecord > > This is offered as an example of the .ModifyRecord, a hidden trigger procedure, but it's pretty vague! I have tried to put this into use and get nowhere. > > I have a simple (and almost silly) idea: I want to limit the number of characters (keystrokes) added to a field for a company name so that new additions will not be too long for a mailing label. If a name will run on to a second line, I'd like the data to alert the data entry person to break the name and put "extra" info into a second field for overflow. I have used a text display object to build the label info with several ?( functions to correctly add lines when names extend to two lines, or there is an "ATTN: " line. What I want to do is let the human decide how to break long lines. > > I can put 40 keystrokes into one line, so my wish is to count strokes and pop an alert when the count is 40, or more elegantly, show a running count and then lock the field at 40. > > I tried simple putting an equation into the design sheet: charCount=length(BusinessName1), with charCount set up as a numeric field. The Formula Wizard handles this easily, but testing the form tells me I have used a numeric argument when text was expected, then when I dismiss that warning, the numeric field updates. > > Questions: > > 1. Why am I warned if it is going to work anyway? > 2. What do I do to count keystokes as they happen? Seems like ModifyRecord would do this but I don't know where to find something more informative than the "call .ModifyRecord" line that doesn't tell me anything at all. > 3. Do I create my own .ModifyRecord procedure to call, like the .initialize procedure? > > A push in the right direction would be welcomed... > > Steve > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From kjmeyer at mac.com Thu Apr 7 15:13:38 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Fri, 08 Apr 2011 00:13:38 +0200 Subject: ModifyRecord question... In-Reply-To: <4D9E2EDB.9030704@calweb.com> References: <4D9E2EDB.9030704@calweb.com> Message-ID: <0C3E0ED9-7F75-4365-9562-87D573323397@mac.com> Am 07.04.2011 um 23:38 schrieb Steve Tyron: > QtyInStock=QtyInStock-1 > call .ModifyRecord > > This is offered as an example of the .ModifyRecord, a hidden trigger procedure, but it's pretty vague! I have tried to put this into use and get nowhere. > ... > 3. Do I create my own .ModifyRecord procedure to call, like the .initialize procedure? This example seems to show an call to the .ModifyRecord procedure in a case when no record is manually altered. The field QtyInStock was changed by the procedure, not by modifying the record manually. The answer to your question #3 is: Yes. You define the actions that shall happen when a record is modified. Kurt From gary at yonaites.com Thu Apr 7 15:51:43 2011 From: gary at yonaites.com (Gary Yonaites) Date: Thu, 7 Apr 2011 15:51:43 -0700 Subject: ModifyRecord question... In-Reply-To: <4D9E2EDB.9030704@calweb.com> References: <4D9E2EDB.9030704@calweb.com> Message-ID: <3327713E-42F3-4D15-8089-02A1E3A4A643@yonaites.com> I would use a Text Editor SuperObject on the form instead of the Text Display object. I note here a problem that I found using this method. If I set the Data to the field, it will not update every key stroke and the option for updating variable every key stroke is grayed out. If I set the Data to a variable even without entering a name for the variable and click the update every keystroke box that is now not grayed out I can go back and set the Data to a field and the box will still be checked even though it is now grayed out. Now every key will update the field. This being said, you would set Data first to a variable, check the update every keystroke box and then change the Data to your field. Check the box to Attach Procedure and set the procedure to a new procedure as shown below. Also check the Every Key box. Have a procedure with your error checking as in this example where MyField is the name of the field you are editing: If length(MyField)>40 Message "Over 40 characters! Please reedit for line break." Endif Now as soon as you enter over 40 characters the message will pop up. I did notice that once you have fooled Panorama into updating the field every key instead of a variable, the TESO can only be selected in graphics mode by dragging a selection box over it and you can only edit the TESO properties by selecting Object Properties... from the Edit menu. I don't know if this will cause a problem down the line or not but I imagine Jim might chime in with a warning about this anomaly. Gary gary at yonaites.com On Apr 7, 2011, at 2:38 PM, Steve Tyron wrote: > The examples leave me baffled. I see this: > > QtyInStock=QtyInStock-1 > call .ModifyRecord > > This is offered as an example of the .ModifyRecord, a hidden trigger procedure, but it's pretty vague! I have tried to put this into use and get nowhere. > > I have a simple (and almost silly) idea: I want to limit the number of characters (keystrokes) added to a field for a company name so that new additions will not be too long for a mailing label. If a name will run on to a second line, I'd like the data to alert the data entry person to break the name and put "extra" info into a second field for overflow. I have used a text display object to build the label info with several ?( functions to correctly add lines when names extend to two lines, or there is an "ATTN: " line. What I want to do is let the human decide how to break long lines. > > I can put 40 keystrokes into one line, so my wish is to count strokes and pop an alert when the count is 40, or more elegantly, show a running count and then lock the field at 40. > > I tried simple putting an equation into the design sheet: charCount=length(BusinessName1), with charCount set up as a numeric field. The Formula Wizard handles this easily, but testing the form tells me I have used a numeric argument when text was expected, then when I dismiss that warning, the numeric field updates. > > Questions: > > 1. Why am I warned if it is going to work anyway? > 2. What do I do to count keystokes as they happen? Seems like ModifyRecord would do this but I don't know where to find something more informative than the "call .ModifyRecord" line that doesn't tell me anything at all. > 3. Do I create my own .ModifyRecord procedure to call, like the .initialize procedure? > > A push in the right direction would be welcomed... > > Steve > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From gregnilsen at me.com Thu Apr 7 21:03:40 2011 From: gregnilsen at me.com (Greg Nilsen) Date: Thu, 07 Apr 2011 21:03:40 -0700 Subject: No more PICT Files Message-ID: OS 10.6 does not support the Macintosh PICT file, the standard for Flash Art. Pan still works with the existing files but the enhanced image pack is mandatory for new machine installations. I use lots of Flash Art, hundreds of objects in hundreds of files for me and my customers. Will I have to edit every object's equation to add the ".jpg" to the calculated file name or can Jim perform another miracle and make .jpg the default or assumed extension like .PICT has been? Also OS 10.6 supports .TIFF files. What is the best photo quality? Greg Nilsen From gregnilsen at me.com Thu Apr 7 21:18:57 2011 From: gregnilsen at me.com (Greg Nilsen) Date: Thu, 07 Apr 2011 21:18:57 -0700 Subject: ModifyRecord question... Message-ID: <1E3891F0-9BE8-40C2-B19F-775D28607838@me.com> Text Super Objects can be set to wrap text or not. If not, the extra long name runs off the label without creating a new line. Use that to display the text on your label without affecting the data. Greg Nilsen From jim at provue.com Thu Apr 7 23:14:35 2011 From: jim at provue.com (James Rea) Date: Thu, 7 Apr 2011 23:14:35 -0700 Subject: No more PICT Files In-Reply-To: Message-ID: On 4/7/11 at 9:03 PM, gregnilsen at me.com (Greg Nilsen) wrote: >OS 10.6 does not support the Macintosh PICT file Who told you that? It is in fact not true -- PICT files work fine on OS X 10.6. Perhaps you are referring to the fact that Preview no longer can create PICT files, which I think may be true. But nothing has changed in the OS. Jim From jim at provue.com Thu Apr 7 23:20:06 2011 From: jim at provue.com (James Rea) Date: Thu, 7 Apr 2011 23:20:06 -0700 Subject: ModifyRecord question... In-Reply-To: <3327713E-42F3-4D15-8089-02A1E3A4A643@yonaites.com> Message-ID: On 4/7/11 at 3:51 PM, gary at yonaites.com (Gary Yonaites) wrote: >If I set the Data to a variable even without entering a name >for the variable and click the update every keystroke box that >is now not grayed out I can go back and set the Data to a field >and the box will still be checked even though it is now grayed >out. Now every key will update the field. I am really surprised that the field updates. I wouldn't rely on this - it might even cause database corruption or crashes. Now that you've drawn my attention to this I'll investigate further and may completely disable this back door. If you were going to do this I would use a variable, not a field. That is supported. But it all sounds super complicated -- I think Greg's suggestion of turning off auto-wrap would be a lot simpler. Jim From alfred at seqair.com Fri Apr 8 00:24:32 2011 From: alfred at seqair.com (Alfred Scott) Date: Fri, 08 Apr 2011 03:24:32 -0400 Subject: No more PICT Files In-Reply-To: References: Message-ID: <87ECACB5-E8DF-44CB-A47E-C5CFA248ACD5@seqair.com> I have switched to PNG in my WildTools programming. Like TIFF, you do not get any image degradation and the file sizes are dramatically smaller if you use Save For Web & Devices in Photoshop. Alfred On Apr 8, 2011, at 12:03 AM, Greg Nilsen wrote: > OS 10.6 does not support the Macintosh PICT file, the standard for Flash Art. Pan still works with the existing files but the enhanced image pack is mandatory for new machine installations. I use lots of Flash Art, hundreds of objects in hundreds of files for me and my customers. Will I have to edit every object's equation to add the ".jpg" to the calculated file name or can Jim perform another miracle and make .jpg the default or assumed extension like .PICT has been? Also OS 10.6 supports .TIFF files. What is the best photo quality? > > Greg Nilsen > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From artdoc at calweb.com Fri Apr 8 07:57:20 2011 From: artdoc at calweb.com (Steve Tyron) Date: Fri, 08 Apr 2011 07:57:20 -0700 Subject: ModifyRecord question... In-Reply-To: <1E3891F0-9BE8-40C2-B19F-775D28607838@me.com> References: <1E3891F0-9BE8-40C2-B19F-775D28607838@me.com> Message-ID: <4D9F2250.806@calweb.com> On 4/7/11 9:18 PM, Greg Nilsen wrote: > Text Super Objects can be set to wrap text or not. If not, the extra long name runs off the label without creating a new line. Use that to display the text on your label without affecting the data. Some interesting ideas coming out of this, and I have made some progress toward my goal of providing a simple warning to the person entering data. The auto wrap, or font resizing suggestions are not quite what I want because I just want to avoid awkward breaks, like maybe a single word dropping down to a second line. It would just be best if the operator made a decision based on logical visual breaking, then moving to a separate field (Business2) which then becomes the second line via the ?(Business2?"",...) in the Text Display equation. I have a new idea based on my trial of Gary's method and will report any discoveries. Thanks, Steve -- My address is going away soon. Please update your address book to make the change to. From gary at yonaites.com Fri Apr 8 08:54:29 2011 From: gary at yonaites.com (Gary Yonaites) Date: Fri, 8 Apr 2011 08:54:29 -0700 Subject: ModifyRecord question... In-Reply-To: <4D9F2250.806@calweb.com> References: <1E3891F0-9BE8-40C2-B19F-775D28607838@me.com> <4D9F2250.806@calweb.com> Message-ID: If you want to use the TESO method, use a variable to gather the data instead of directly using the field. The procedure that is linked to the TESO could then not only check the length of the line with every key stroke but also transfer that data to the field if the last keystroke is a return or tab. This would be much safer than the hacked method I first described and Jim warned against just as I thought he would (and for good reason!) Gary gary at yonaites.com On Apr 8, 2011, at 7:57 AM, Steve Tyron wrote: > On 4/7/11 9:18 PM, Greg Nilsen wrote: >> Text Super Objects can be set to wrap text or not. If not, the extra long name runs off the label without creating a new line. Use that to display the text on your label without affecting the data. > Some interesting ideas coming out of this, and I have made some progress toward my goal of providing a simple warning to the person entering data. > > The auto wrap, or font resizing suggestions are not quite what I want because I just want to avoid awkward breaks, like maybe a single word dropping down to a second line. It would just be best if the operator made a decision based on logical visual breaking, then moving to a separate field (Business2) which then becomes the second line via the ?(Business2?"",...) in the Text Display equation. > > I have a new idea based on my trial of Gary's method and will report any discoveries. > > Thanks, > > Steve > > -- > My address is going away soon. Please update your address book to make the change to. > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From dthmpsn1 at illinois.edu Fri Apr 8 11:27:28 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Fri, 8 Apr 2011 13:27:28 -0500 (CDT) Subject: No more PICT Files In-Reply-To: References: Message-ID: <20110408132728.CPT52478@expms1.cites.uiuc.edu> >Perhaps you are referring to the fact that Preview no longer can >create PICT files, which I think may be true. But nothing has >changed in the OS. > Preview can still create PICT files, but not in 64-bit mode. To create or open PICT files in Preview, select Preview's application icon in the Finder, and Get Info. Then check the Open in 32-bit mode checkbox. Dave From dthmpsn1 at illinois.edu Fri Apr 8 12:32:41 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Fri, 8 Apr 2011 14:32:41 -0500 (CDT) Subject: No more PICT Files In-Reply-To: References: Message-ID: <20110408143241.CPT58788@expms1.cites.uiuc.edu> Will I have to edit every object's equation to add the ".jpg" to the calculated file name or can Jim perform another miracle and make .jpg the default or assumed extension like .PICT has been? Flash art doesn't depend on either the extension, or the type code to determine the image format. It (or more likely Quicktime) looks at the internal data. An image file can have the wrong type, extension, or both, or it can have neither an extension or type, and it can still be displayed as flash art. I tested this for PICT, JPEG, TIFF and PNG files, but I believe this is true for other file types as well. Dave From peter.levitt at me.com Fri Apr 8 16:19:41 2011 From: peter.levitt at me.com (Peter Levitt) Date: Fri, 08 Apr 2011 19:19:41 -0400 Subject: Manipulating records when I get an 'illegal date' message Message-ID: i'm missing the obvious and I don't see it. In a procedure, I have a line of code - date(strip(Memo[1," "])). All it does is pull out the date at the front of a memo field. However, not all memo fields have a date. I don't see how to use the fact that an illegal date forces one action and a legal date forces a different action. I don't want to run a select statement every time as its just not practical. I'm thinking I want to use a true() or false() statement but I haven't figured out how to use this. Any help is appreciated. Thanks. Peter From dthmpsn1 at illinois.edu Fri Apr 8 18:43:40 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Fri, 8 Apr 2011 20:43:40 -0500 (CDT) Subject: Manipulating records when I get an 'illegal date' message In-Reply-To: References: Message-ID: <20110408204340.CPT78686@expms1.cites.uiuc.edu> >i'm missing the obvious and I don't see it. > >In a procedure, I have a line of code - date(strip(Memo[1," "])). All it does is pull out the date at the front of a memo field. However, not all memo fields have a date. > >I don't see how to use the fact that an illegal date forces one action and a legal date forces a different action. I don't want to run a select statement every time as its just not practical. I'm thinking I want to use a true() or false() statement but I haven't figured out how to use this. Any help is appreciated. > If I understand this correctly, you want to follow that line with if error /* do something appropriate when there is no date */ else /* do something appropriate when there is a date */ endif You might also want to add a test to see if info("error") is the error you were expecting. Dave From nacnuddd at gmail.com Fri Apr 8 18:51:10 2011 From: nacnuddd at gmail.com (David Duncan) Date: Sat, 9 Apr 2011 11:51:10 +1000 Subject: Manipulating records when I get an 'illegal date' message In-Reply-To: References: Message-ID: > In a procedure, I have a line of code - date(strip(Memo[1," "])). All it does is pull out the date at the front of a memo field. However, not all memo fields have a date. Assuming you are not using the line in conjunction with a formulafill statement, you can test it, for example by trying to assign it to a variable. Then, using if error, if there's an error you know it doesn't start with a date, otherwise it does and you pull the date out. David Duncan From Jim at JamesCook.biz Sat Apr 9 06:11:05 2011 From: Jim at JamesCook.biz (James Cook) Date: Sat, 9 Apr 2011 09:11:05 -0400 Subject: PrintPDF In-Reply-To: References: Message-ID: Alas, I've found no way to make it work, so I'm abandoning the effort. It appeared to have promise as something many of my clients could use. But if I can't make it work for myself I surely can't expect it to work for them. At 3:53 PM -0700 3/30/11, Robert Ameeti wrote: >At 6:04 PM -0400, 3/30/11, James Cook wrote: > >>There was no such folder on my Desktop created by cups or Panorama and I see nothing in the documentation suggesting that I should have created one. > >You are probably using Snow Leopard. That folder was automatically created in previous OSes. The internet posted work arounds for Snow Leopard speak of manually creating this folder. But alas, creating that folder is the not the cure all that you would hope it would be as you found. > >>The PRINTPDF procedure checks to see if such a folder exists and that it's empty, but it doesn't create it if it's not there. It seems then that this would be an error others should have been encountering too. >> >>Once I created the folder, that error ended, but now I get a failure to print within 30 seconds. > >Ah yes. The infamous error that I just couldn't get around even with my extreme amount of patience. Due to this error, I've resorted to other awkward solutions as posted elsewhere. > >This error is due to the lock down and sand boxing of the OS by Apple. The creators of the CUPS pdf creator have just not yet accomplished an easy method to make all of this work in Snow Leopard. > >It would be nice if ProVUE could implement an easier method that we are currently needing to manipulate as it just isn't as easy as it should be to accomplish this common need. > -- James Cook Jim at JamesCook.biz 720-252-7042 http://JamesCook.biz From audax at wideband.net.au Sat Apr 9 23:17:33 2011 From: audax at wideband.net.au (Michael Kellock) Date: Sun, 10 Apr 2011 16:17:33 +1000 Subject: An alternative to record-by-record search? In-Reply-To: References: <48DCEC39-5CD3-4B33-92B7-8FE71D5315B5@wideband.net.au> Message-ID: The core algorithm of Dave's solution took 21 seconds for 600,000 records and Bill's took 24 seconds. Both produce the same result. The overall task now takes less than 90 seconds when my previous personal best was 46 minutes! They are two very impressive examples of lateral thinking and excellent demonstrations of the awesome power of the assign( function. I've written a detailed analysis of Dave's algorithm for my future reference (I doubt my ability to generate a similar one unassisted). Thanks to both of you. michael On 08/04/2011, at 4:46 AM, David Thompson wrote: >> I have a 600k-record d/b in which some values in field A have multiple occurrences, each with a different value in field B. For each such case, I want to gather all of the B values and store them in one record. For example, >> >> A B >> 6 12 >> 6 21 >> 6 9 >> 6 123 >> >> would become >> >> 6 12;21;9;123 >> >> My current solution is to sort and unpropagate field A, seek empty A values and relocate their B values. This is painfully slow for a large d/b but I can't devise an alternative - is there one? > > Here is another version that uses assign(. > > Local x > x="" > Field "A" > SortUp > UnpropagateUp > Field "B" > FormulaFill sandwich("",x,";")+B+assign((sandwich("",x,";")+B)[1,(A="")],"x")[1,0] > Select A <> "" > RemoveUnselected > > The UnPropagateUp statement would blank the first 3 sixes and leave the last one alone. The purpose of the > [1,(A="")] text funnel is to return the value of x to a blank after the last of the current repetitions, in order to prepare it for the next one. The text funnel will be equivalent to [1,-1] when the (A="") expression is true, and it will be equivalent to [1,0] when the expression is false. You could also write that text funnel as [1,?(A="",-1,0)] and that would be a little bit clearer, but also a little bit slower. > > Bill's version and mine should yield the same results. I don't know which will be faster. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From jetpuck04 at me.com Sun Apr 10 04:15:26 2011 From: jetpuck04 at me.com (Peter Levitt) Date: Sun, 10 Apr 2011 07:15:26 -0400 Subject: Manipulating records when I get an 'illegal date' message In-Reply-To: <20110408204340.CPT78686@expms1.cites.uiuc.edu> References: <20110408204340.CPT78686@expms1.cites.uiuc.edu> Message-ID: <4A3A5796-E3C1-4776-8988-8FC71CC2F007@me.com> Thank you. On Apr 8, 2011, at 9:43 PM, David Thompson wrote: >> i'm missing the obvious and I don't see it. >> >> In a procedure, I have a line of code - date(strip(Memo[1," "])). All it does is pull out the date at the front of a memo field. However, not all memo fields have a date. >> >> I don't see how to use the fact that an illegal date forces one action and a legal date forces a different action. I don't want to run a select statement every time as its just not practical. I'm thinking I want to use a true() or false() statement but I haven't figured out how to use this. Any help is appreciated. >> > > If I understand this correctly, you want to follow that line with > > if error > > /* do something appropriate when there is no date */ > > else > > /* do something appropriate when there is a date */ > > endif > > You might also want to add a test to see if info("error") is the error you were expecting. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From ballewijn at gmail.com Sun Apr 10 03:48:07 2011 From: ballewijn at gmail.com (Sylvia van der Heijden) Date: Sun, 10 Apr 2011 12:48:07 +0200 Subject: error Message-ID: <087230F9-6B74-4605-AE6E-508E3F47B0FB@gmail.com> Suddenly all my panorama documents are not recognized anymore and I get the Icon of panorama 9 and the documents cannot be opened regulary. What to do ?? Also in the time-machine, how far I go back just Icon's of panorama 9 Sylvia van der Heijden From jim at provue.com Sun Apr 10 11:07:39 2011 From: jim at provue.com (James Rea) Date: Sun, 10 Apr 2011 11:07:39 -0700 Subject: error In-Reply-To: <087230F9-6B74-4605-AE6E-508E3F47B0FB@gmail.com> Message-ID: On 4/10/11 at 3:48 AM, ballewijn at gmail.com (Sylvia van der Heijden) wrote: >Suddenly all my panorama documents are not recognized anymore >and I get the Icon of panorama 9 and the documents cannot be >opened regulary. What to do ?? It sounds like you are running Panorama 5.5 on OS X 10.6 (Snow Leopard). You need to upgrade to Panorama 6. Jim From gregnilsen at me.com Sun Apr 10 20:11:13 2011 From: gregnilsen at me.com (Greg Nilsen) Date: Sun, 10 Apr 2011 20:11:13 -0700 Subject: How to write Procedures Message-ID: <8AB6D640-7F7E-4D89-B71A-A23A4A3C4742@me.com> Pan 6 does not have the Fields or Commands menus of earlier versions. The Programmer's Assistant in the Edit Menu maybe is the new way but it crashes on my OS 10.6.7 Mac Book Pro. I have the Classic Menus set in Preferences. Greg Nilsen From kjmeyer at mac.com Sun Apr 10 22:37:36 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Mon, 11 Apr 2011 07:37:36 +0200 Subject: error In-Reply-To: <087230F9-6B74-4605-AE6E-508E3F47B0FB@gmail.com> References: <087230F9-6B74-4605-AE6E-508E3F47B0FB@gmail.com> Message-ID: Am 10.04.2011 um 12:48 schrieb Sylvia van der Heijden: > Suddenly all my panorama documents are not recognized anymore and I get the Icon of panorama 9 and the documents cannot be opened regulary. What to do ?? > > Also in the time-machine, how far I go back just Icon's of panorama 9 It seems you are using Panorama 5.5 and have recently updated to Snow Leopard. There is a problem about icons in this constellation. This issue is more optical than functional. All your Panorama documents can be opened by dragging them onto the Panorama icon in the Finder or in the Dock. And you still can open them from within Panorama via the File menu or via procedures. As Jim wrote, that issue is solved with Panorama 6. Kurt From kjmeyer at mac.com Sun Apr 10 22:47:40 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Mon, 11 Apr 2011 07:47:40 +0200 Subject: How to write Procedures In-Reply-To: <8AB6D640-7F7E-4D89-B71A-A23A4A3C4742@me.com> References: <8AB6D640-7F7E-4D89-B71A-A23A4A3C4742@me.com> Message-ID: <48CBEF27-4595-4D7B-943D-9478FD47EFF9@mac.com> Am 11.04.2011 um 05:11 schrieb Greg Nilsen: > Pan 6 does not have the Fields or Commands menus of earlier versions. The Programmer's Assistant in the Edit Menu maybe is the new way but it crashes on my OS 10.6.7 Mac Book Pro. I have the Classic Menus set in Preferences. The Fields or Commands menu went into a context menu that you invoke by control-click in the procedure window. This menu gives you access to fields, functions, statements (ordered by topics), but also to the Programming Assistant and Help. I do not know why your Programming Assistant crashes. I would consider a clean new installation of Panorama. Kurt From barryk at caravanbeads.net Mon Apr 11 11:16:11 2011 From: barryk at caravanbeads.net (Barry Kahn) Date: Mon, 11 Apr 2011 14:16:11 -0400 Subject: List super object Message-ID: I know this is easy but I'm stuck again. I have a customer database. One field is called NAME. I have a button on a form which lets the user input first or last name and then searches in the name field for a match. I'd like to have the search results display on the form as a scrollable list and the Scrolling List SuperObject looks like the right tool, but I'm not getting anywhere setting it up. Thanks again (and again!) bk Barry Kahn Caravan Beads, Inc. 915 Forest Ave Portland ME 04103 800-230-8941 fax: 207-874-2664 www.caravanbeads.net barryk at caravanbeads.net *** Bead store owners and designers: Please visit our new bead blog: http://caravanbeads.biz/beadblog/ *** My daughter Heather's new business: http://www.chrononautmercantile.com/ From gregnilsen at me.com Mon Apr 11 22:10:50 2011 From: gregnilsen at me.com (Greg Nilsen) Date: Mon, 11 Apr 2011 22:10:50 -0700 Subject: Emailing Pan Files Message-ID: <836B5B24-8833-4767-A897-09A9610E6E5F@me.com> Thanks for the help. After further testing, other problems exist. Using Apple's Mail application, Folders can be attached and are automatically zipped. Any enclosed Pan files without the extension email fine. Using Safari to directly access my Google mail, it can't attach a folder, only individual filers. Sending a single Pan file without the extension comes through as a generic file while with the extension it is fine. Since Panorama can figure out the extensions and email can't, old time Mac users must choke and add visible extensions to all of our files. Greg Nilsen From audax at wideband.net.au Tue Apr 12 17:03:48 2011 From: audax at wideband.net.au (Michael Kellock) Date: Wed, 13 Apr 2011 10:03:48 +1000 Subject: ArrayDeduplicate without sorting - error in statement? Message-ID: <9995D31A-8E46-4DD7-9434-09F4188511DB@wideband.net.au> On 21 March 2008, Dave Thompson posted this: Here's one I posted on August 14, 2002. ArrayFilter oldarray,newarray,sep,?(arraysearch(arrayrange(oldarray,1,seq()?1, sep),import(),1, sep),"",import()) newarray=arraystrip(newarray,sep) My version will use the first instance of every value, and throw out any that occur later. Gary's will use the last instance of every value, and throw out any that occur prior. I got a little fancy in my use of arraysearch(. Instead of comparing its value to zero, I just used its value as the condition in the ?( function. If the value is zero, it will be considered "false" and if its value is non?zero, it will be "true." I've modified the statement as follows: ArrayFilter Tel1,Tel1,";",?(arraysearch(arrayrange(Tel1,1,seq()?1,";"),import(),1,";"),"",import()) all on one line but, when I try to save it, it shows an error - a CMD-E puts the cursor between the () of the seq() function. I assume that I'm in error but where? michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From dthmpsn1 at illinois.edu Tue Apr 12 18:11:03 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Tue, 12 Apr 2011 20:11:03 -0500 (CDT) Subject: ArrayDeduplicate without sorting - error in statement? In-Reply-To: <9995D31A-8E46-4DD7-9434-09F4188511DB@wideband.net.au> References: <9995D31A-8E46-4DD7-9434-09F4188511DB@wideband.net.au> Message-ID: <20110412201103.CPW63247@expms1.cites.uiuc.edu> It looks like the email or, perhaps the archive, must have converted the minus sign in seq()-1 to an em dash. Change that back to a minus sign, and it should work. Dave ---- Original message ---- >Date: Wed, 13 Apr 2011 10:03:48 +1000 >From: Michael Kellock >Subject: ArrayDeduplicate without sorting - error in statement? >To: "qna Answers (Discussion)" > > On 21 March 2008, Dave Thompson posted this: > Here's one I posted on August 14, 2002. > > ArrayFilter > oldarray,newarray,sep,?(arraysearch(arrayrange(oldarray,1,seq()?1, > sep),import(),1, sep),"",import()) > newarray=arraystrip(newarray,sep) > > My version will use the first instance of every > value, and throw out any that occur later. Gary's > will use the last instance of every value, and > throw out any that occur prior. > > I got a little fancy in my use of arraysearch(. > Instead of comparing its value to zero, I just > used its value as the condition in the ?( > function. If the value is zero, it will be > considered "false" and if its value is non?zero, > it will be "true." > > I've modified the statement as follows: > ArrayFilter > Tel1,Tel1,";",?(arraysearch(arrayrange(Tel1,1,seq()?1,";"),import(),1,";"),"",import()) > all on one line but, when I try to save it, it shows an error > - a CMD-E puts the cursor between the () of the seq() > function. > I assume that I'm in error but where? > michael >________________ >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From audax at wideband.net.au Tue Apr 12 18:58:59 2011 From: audax at wideband.net.au (Michael Kellock) Date: Wed, 13 Apr 2011 11:58:59 +1000 Subject: ArrayDeduplicate without sorting - error in statement? In-Reply-To: <20110412201103.CPW63247@expms1.cites.uiuc.edu> References: <9995D31A-8E46-4DD7-9434-09F4188511DB@wideband.net.au> <20110412201103.CPW63247@expms1.cites.uiuc.edu> Message-ID: <91290289-94F2-4169-B2BD-4A6E061B5832@wideband.net.au> You've got a good eye Dave! michael On 13/04/2011, at 11:11 AM, David Thompson wrote: > It looks like the email or, perhaps the archive, must have converted the minus sign in seq()-1 to an em dash. Change that back to a minus sign, and it should work. > > Dave > > ---- Original message ---- >> Date: Wed, 13 Apr 2011 10:03:48 +1000 >> From: Michael Kellock >> Subject: ArrayDeduplicate without sorting - error in statement? >> To: "qna Answers (Discussion)" >> >> On 21 March 2008, Dave Thompson posted this: >> Here's one I posted on August 14, 2002. >> >> ArrayFilter >> oldarray,newarray,sep,?(arraysearch(arrayrange(oldarray,1,seq()?1, >> sep),import(),1, sep),"",import()) >> newarray=arraystrip(newarray,sep) >> >> My version will use the first instance of every >> value, and throw out any that occur later. Gary's >> will use the last instance of every value, and >> throw out any that occur prior. >> >> I got a little fancy in my use of arraysearch(. >> Instead of comparing its value to zero, I just >> used its value as the condition in the ?( >> function. If the value is zero, it will be >> considered "false" and if its value is non?zero, >> it will be "true." >> >> I've modified the statement as follows: >> ArrayFilter >> Tel1,Tel1,";",?(arraysearch(arrayrange(Tel1,1,seq()?1,";"),import(),1,";"),"",import()) >> all on one line but, when I try to save it, it shows an error >> - a CMD-E puts the cursor between the () of the seq() >> function. >> I assume that I'm in error but where? >> michael >> ________________ >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From qnaweb at provue.com Wed Apr 13 16:01:09 2011 From: qnaweb at provue.com (Robert Bell) Date: Wed, 13 Apr 2011 16:01:09 -0700 (PDT) Subject: Trying to complete folderpath(dbinfo("folder","") statement Message-ID: <20110413230109.684051CD1DC@provue.com> I want to play a movie in a database called "Food Handling" on the Harddrive MacHD which is the drive with the System Folder. The database "Food Handling" is open in a folder called "Food Movies" which is inside a folder called "PanPrograms" which is on the desktop of MacHD The movie named "Food Preparation.mov" is on a connected drive called "2T" and inside a folder called "Health And Safety" where I keep all similar pictures and movies. What is the formula for the Super Flash Art Object that will bring the movie to the database "Food Handling". How do I complete folderpath(dbinfo("folder","")? Pan 6.0.0 (94356) iMac 24 Intel 10.6.7 Any and all help is greatly appreciated. Robert From dthmpsn1 at illinois.edu Wed Apr 13 19:05:29 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Wed, 13 Apr 2011 21:05:29 -0500 (CDT) Subject: Trying to complete folderpath(dbinfo("folder","") statement In-Reply-To: <20110413230109.684051CD1DC@provue.com> References: <20110413230109.684051CD1DC@provue.com> Message-ID: <20110413210529.CPX65776@expms1.cites.uiuc.edu> >I want to play a movie in a database called "Food Handling" on the Harddrive MacHD which is the drive with the System Folder. >The database "Food Handling" is open in a folder called "Food Movies" which is inside a folder called "PanPrograms" which is on the desktop of MacHD > >The movie named "Food Preparation.mov" is on a connected drive called "2T" and inside a folder called "Health And Safety" where I keep all similar pictures and movies. > >What is the formula for the Super Flash Art Object that will bring the movie to the database "Food Handling". How do I complete folderpath(dbinfo("folder","")? > You just need the path of the movie, not the database. No functions are involved. You just put the path between quotes. "2T:Health And Safety:Food Preparation.mov" Dave From allen at macprosolutions.com Wed Apr 13 20:57:48 2011 From: allen at macprosolutions.com (Allen Cleaton) Date: Wed, 13 Apr 2011 23:57:48 -0400 Subject: Flicker Message-ID: I have a database for sales and one for inventory. The items on an invoice are line items 1 through 10. Currently when a sale is completed the inventory DB is updated with a loop in a proc in the sales DB which subtracts the amount sold from each line item. This causes the screen to flicker back and forth between the databases. Can this be suppressed? Allen Cleaton Business Sales Representative MacPro Virginia's Apple Specialist 8026A W. Broad St. Richmond, VA 23294 804-497-8710 705 W. Main St. Charlottesville, VA 22903 434-806-0793 Allen at macprosolutions.com http://www.macprosolutions.com We're here to help Recipient of Apple's Commitment To Excellence Award P Please consider the environment before printing this e-mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott at stillpoint.us Wed Apr 13 21:18:49 2011 From: scott at stillpoint.us (Scott Corbett) Date: Wed, 13 Apr 2011 23:18:49 -0500 (CDT) Subject: Flicker In-Reply-To: References: Message-ID: <22444F39-F63C-497C-B16A-82056E826E5F@stillpoint.us> Yes, it can be suppressed without too much difficulty, but it takes some programming. The commands you need are the "secret" commands: opensecret, makesecret, window "windowname:secret" . See page 455 in the Pan Handbook. You might try these two approaches: 1. flip back and forth from your main window to a secret database window in the other database and do your updating, or 2. make an array of the item identifier and qty sold first, then switch once to the inventory DB and update all line items using data in the array. Either way will eliminate the flashing. Remember to be clear about which window you are in as you do the updating when using secret databases because the fieldnames and variables will be the ones belonging to the active database, not the one that looks like it is in front on the screen. If you need more detail, I may be able to help or someone with more experience can chime in. Scott On Apr 13, 2011, at 10:57 PM, Allen Cleaton wrote: > I have a database for sales and one for inventory. The items on an invoice are line items 1 through 10. Currently when a sale is completed the inventory DB is updated with a loop in a proc in the sales DB which subtracts the amount sold from each line item. This causes the screen to flicker back and forth between the databases. Can this be suppressed? > > > > > Allen Cleaton > Business Sales Representative > MacPro > Virginia's Apple Specialist > 8026A W. Broad St. > Richmond, VA 23294 > 804-497-8710 > 705 W. Main St. > Charlottesville, VA 22903 > 434-806-0793 > > Allen at macprosolutions.com > http://www.macprosolutions.com > We're here to help > > Recipient of Apple's Commitment To Excellence Award > > > P > Please consider the environment before printing this e-mail > > > > > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna Scott R. Corbett, D.O. Stillpoint Osteopathic, Ltd. www.stillpoint.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From allen at macprosolutions.com Wed Apr 13 21:29:21 2011 From: allen at macprosolutions.com (Allen Cleaton) Date: Thu, 14 Apr 2011 00:29:21 -0400 Subject: Flicker In-Reply-To: <22444F39-F63C-497C-B16A-82056E826E5F@stillpoint.us> References: <22444F39-F63C-497C-B16A-82056E826E5F@stillpoint.us> Message-ID: <5AFDB2EC-9E7F-4DD8-8B72-9E756E15CFFF@macprosolutions.com> Thanks Scott. I forgot the secret commands and was hung up on noshow. On Apr 14, 2011, at 12:18 AM, Scott Corbett wrote: > Yes, it can be suppressed without too much difficulty, but it takes > some programming. > > The commands you need are the "secret" commands: opensecret, > makesecret, window "windowname:secret" . See page 455 in the Pan > Handbook. > > You might try these two approaches: 1. flip back and forth from > your main window to a secret database window in the other database > and do your updating, or 2. make an array of the item identifier > and qty sold first, then switch once to the inventory DB and update > all line items using data in the array. Either way will eliminate > the flashing. Remember to be clear about which window you are in as > you do the updating when using secret databases because the > fieldnames and variables will be the ones belonging to the active > database, not the one that looks like it is in front on the screen. > > If you need more detail, I may be able to help or someone with more > experience can chime in. > > Scott > > > On Apr 13, 2011, at 10:57 PM, Allen Cleaton wrote: > >> I have a database for sales and one for inventory. The items on an >> invoice are line items 1 through 10. Currently when a sale is >> completed the inventory DB is updated with a loop in a proc in the >> sales DB which subtracts the amount sold from each line item. This >> causes the screen to flicker back and forth between the databases. >> Can this be suppressed? >> >> >> >> >> Allen Cleaton >> Business Sales Representative >> MacPro >> Virginia's Apple Specialist >> 8026A W. Broad St. >> Richmond, VA 23294 >> 804-497-8710 >> 705 W. Main St. >> Charlottesville, VA 22903 >> 434-806-0793 >> >> Allen at macprosolutions.com >> http://www.macprosolutions.com >> We're here to help >> >> Recipient of Apple's Commitment To Excellence Award >> >> >> P >> Please consider the environment before printing this e-mail >> >> >> >> >> >> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > Scott R. Corbett, D.O. > Stillpoint Osteopathic, Ltd. > www.stillpoint.us > > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert at ameeti.net Wed Apr 13 21:29:49 2011 From: robert at ameeti.net (Robert Ameeti) Date: Wed, 13 Apr 2011 21:29:49 -0700 Subject: Flicker In-Reply-To: <22444F39-F63C-497C-B16A-82056E826E5F@stillpoint.us> References: <22444F39-F63C-497C-B16A-82056E826E5F@stillpoint.us> Message-ID: Also see NoShow and EndNoShow In fact, do a search for Show in the Panorama Reference for other useful similar commands. At 11:18 PM -0500, 4/13/11, Scott Corbett wrote: >Yes, it can be suppressed without too much >difficulty, but it takes some programming. > >The commands you need are the "secret" commands: >opensecret, makesecret, window >"windowname:secret" . See page 455 in the Pan >Handbook. > >You might try these two approaches: 1. flip back >and forth from your main window to a secret >database window in the other database and do >your updating, or 2. make an array of the item >identifier and qty sold first, then switch once >to the inventory DB and update all line items >using data in the array. Either way will >eliminate the flashing. Remember to be clear >about which window you are in as you do the >updating when using secret databases because the >fieldnames and variables will be the ones >belonging to the active database, not the one >that looks like it is in front on the screen. > >If you need more detail, I may be able to help >or someone with more experience can chime in. > >Scott > > >On Apr 13, 2011, at 10:57 PM, Allen Cleaton wrote: > >>I have a database for sales and one for >>inventory. The items on an invoice are line >>items 1 through 10. Currently when a sale is >>completed the inventory DB is updated with a >>loop in a proc in the sales DB which subtracts >>the amount sold from each line item. This >>causes the screen to flicker back and forth >>between the databases. Can this be suppressed? -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist Would those of you in the cheaper seats clap your hands? And the rest of you, if you'll just rattle your jewelry. -- John Lennon <><><><><><><><><><><><> From dthmpsn1 at illinois.edu Thu Apr 14 04:42:05 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Thu, 14 Apr 2011 06:42:05 -0500 (CDT) Subject: Flicker In-Reply-To: <22444F39-F63C-497C-B16A-82056E826E5F@stillpoint.us> References: <22444F39-F63C-497C-B16A-82056E826E5F@stillpoint.us> Message-ID: <20110414064205.CPX92702@expms1.cites.uiuc.edu> The PostAdjust custom statement will do most of this for you. It follows Scott's first approach, flipping back and forth from your main window and a secret database window in the other database. Dave ---- Original message ---- >Date: Wed, 13 Apr 2011 23:18:49 -0500 (CDT) >From: Scott Corbett >Subject: Re: Flicker >To: "Panorama Questions Answers (Discussion)" > > Yes, it can be suppressed without too much difficulty, but it > takes some programming. > The commands you need are the "secret" commands: opensecret, > makesecret, window "windowname:secret" . See page 455 in the > Pan Handbook. > You might try these two approaches: 1. flip back and forth > from your main window to a secret database window in the other > database and do your updating, or 2. make an array of the item > identifier and qty sold first, then switch once to the > inventory DB and update all line items using data in the > array. Either way will eliminate the flashing. Remember to be > clear about which window you are in as you do the updating > when using secret databases because the fieldnames and > variables will be the ones belonging to the active database, > not the one that looks like it is in front on the screen. > If you need more detail, I may be able to help or someone with > more experience can chime in. > Scott > On Apr 13, 2011, at 10:57 PM, Allen Cleaton wrote: > > I have a database for sales and one for inventory. The items > on an invoice are line items 1 through 10. Currently when a > sale is completed the inventory DB is updated with a loop in > a proc in the sales DB which subtracts the amount sold from > each line item. This causes the screen to flicker back and > forth between the databases. Can this be suppressed? > > Allen Cleaton > Business Sales Representative > MacPro > Virginia's Apple Specialist > 8026A W. Broad St. > Richmond, VA 23294 > > 804-497-8710 > 705 W. Main St. > Charlottesville, VA 22903 > 434-806-0793 > Allen at macprosolutions.com > http://www.macprosolutions.com > We're here to help > Recipient of Apple's Commitment To Excellence Award > > P > Please consider the environment before printing this e-mail > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > > Scott R. Corbett, D.O. > Stillpoint Osteopathic, Ltd. > www.stillpoint.us >________________ >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From operations at redhouserecords.com Thu Apr 14 10:34:21 2011 From: operations at redhouserecords.com (C W Frymire) Date: Thu, 14 Apr 2011 12:34:21 -0500 Subject: postadjust custom statement In-Reply-To: References: Message-ID: <2EEBF7C6-DCFD-43B6-B277-1C8976F9E252@redhouserecords.com> I just spent a bunch of time "discovering" this.... it's a problem with post update as well. How did you fix it? CW Frymire On Mar 23, 2010, at 8:50 PM, Jay Schille wrote: > I reported this as a bug sometime back but nothing seems to have > changed in the code, version after version. > > I use postadjust quite a bit. But I get a "There is no match for the > key value" error if the database which is getting adjusted doesn't > have all its records selected. (The findFormula can't find values in > records that aren't currently selected.) > > The problem goes away if PleaseSelectAll is inserted between" Endif" > and "ExecuteLocal { Find }+findFormula". > > I've resorted to creating a custom statement called PlzPostAdjust > that incorporates this change to avoid having each new version of > Panorama overwrite my corrected version of postadjust with the older > code. > > But it would sure be nice if postadjust could be adjusted by adding > pleaseselectall. (Hint.) > -- > Jay Schille > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From dthmpsn1 at illinois.edu Thu Apr 14 11:43:23 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Thu, 14 Apr 2011 13:43:23 -0500 (CDT) Subject: postadjust custom statement In-Reply-To: <2EEBF7C6-DCFD-43B6-B277-1C8976F9E252@redhouserecords.com> References: <2EEBF7C6-DCFD-43B6-B277-1C8976F9E252@redhouserecords.com> Message-ID: <20110414134323.CPY35929@expms1.cites.uiuc.edu> The change that Jay asked for has been made in the current version of Panorama 6 (build 94356). For post update, just change "update" to "updateall". Dave ---- Original message ---- >Date: Thu, 14 Apr 2011 12:34:21 -0500 >From: C W Frymire >Subject: Re: postadjust custom statement >To: "Panorama Questions Answers (Discussion)" > >I just spent a bunch of time "discovering" this.... it's a problem >with post update as well. > >How did you fix it? > >CW Frymire > > > > >On Mar 23, 2010, at 8:50 PM, Jay Schille wrote: > >> I reported this as a bug sometime back but nothing seems to have >> changed in the code, version after version. >> >> I use postadjust quite a bit. But I get a "There is no match for the >> key value" error if the database which is getting adjusted doesn't >> have all its records selected. (The findFormula can't find values in >> records that aren't currently selected.) >> >> The problem goes away if PleaseSelectAll is inserted between" Endif" >> and "ExecuteLocal { Find }+findFormula". >> >> I've resorted to creating a custom statement called PlzPostAdjust >> that incorporates this change to avoid having each new version of >> Panorama overwrite my corrected version of postadjust with the older >> code. >> >> But it would sure be nice if postadjust could be adjusted by adding >> pleaseselectall. (Hint.) >> -- >> Jay Schille >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From qnaweb at provue.com Fri Apr 15 07:03:49 2011 From: qnaweb at provue.com (John Doelman) Date: Fri, 15 Apr 2011 07:03:49 -0700 (PDT) Subject: lib failed Message-ID: <20110415140349.F3C801D68FB@provue.com> I am getting a "lib failed! MacintoshHD:Applications:Panorama:Extensions:Libraries:_PanoramaLib" message and can't open my databases. What do I need to do? This happened after it started taking forever to open them. From kjmeyer at mac.com Fri Apr 15 07:52:21 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Fri, 15 Apr 2011 16:52:21 +0200 Subject: lib failed In-Reply-To: <20110415140349.F3C801D68FB@provue.com> References: <20110415140349.F3C801D68FB@provue.com> Message-ID: <8FAABEF6-E745-44CF-B5E9-209BEAD1CEFE@mac.com> Am 15.04.2011 um 16:03 schrieb John Doelman: > What do I need to do? Re-install Panorama. Something is missing or has not the appropriate access rights. Kurt From rgbell1 at gmail.com Fri Apr 15 07:38:55 2011 From: rgbell1 at gmail.com (Bob) Date: Fri, 15 Apr 2011 10:38:55 -0400 Subject: Trying to complete folderpath(dbinfo("folder","") statement In-Reply-To: <20110413210529.CPX65776@expms1.cites.uiuc.edu> Message-ID: >> I want to play a movie in a database called "Food Handling" on the Harddrive >> MacHD which is the drive with the System Folder. >> The database "Food Handling" is open in a folder called "Food Movies" which >> is inside a folder called "PanPrograms" which is on the desktop of MacHD >> >> The movie named "Food Preparation.mov" is on a connected drive called "2T" >> and inside a folder called "Health And Safety" where I keep all similar >> pictures and movies. >> >> What is the formula for the Super Flash Art Object that will bring the movie >> to the database "Food Handling". How do I complete >> folderpath(dbinfo("folder","")? >> > > You just need the path of the movie, not the database. No functions are > involved. You just put the path between quotes. > > "2T:Health And Safety:Food Preparation.mov" > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna Thanks Dave and yes it worked. The movie was originally in .mp4 format and played in Quicktime. I changed the .mp4 to .mov and it played no problem. I also tried .avi and it worked also. I also found out that the title of the movie can not be longer than 31 characters. Could the folderpath(dbinfo("folder","") statement be used and if yes how would it have looked (but I like your shorter method best)? Once again thanks Robert From scott at prototek.net Fri Apr 15 09:57:50 2011 From: scott at prototek.net (Scott Taylor) Date: Fri, 15 Apr 2011 09:57:50 -0700 Subject: Rogue Enterprise behavior Message-ID: I got to work this morning and my 3 Panorama users had not been able to bring up served databases at all, with strange client error messages. I went to the server error logs (I was able to connect with Sharing wizard) and saw this series of messages (a normal startup begins with one database whose .Initialize opens about 10 others): > First attempt: many ?Code error: type mismatch: numeric argument where text > was expected?, one per attempted database open > Next 3 attempts: ?[database name] is not currently sharable over the > internet? one for each file. This is actually a local network, not over the > internet, but we are using Internet sharing. > Next several attempts: ?[database name] has been deleted or moved? Sure enough, when I looked in the Public Databases folder, it was empty. At the same folder level, I saw a folder named ?******...********? which was actually about 400 asterisks. In that folder were all of my databases, and when I moved them back to Public Databases, the sun came out and everything was wonderful again. What in the world??!! What does this succession of errors mean, and did Enterprise actually move my databases for some reason? There was noting unusual about closing things down the night before, and no indications that anything was amiss. BTW, this is Enterprise ver 5.5.2, running on a G4 Mini. Never saw anything like it. Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwfrymire at modernminstrel.com Fri Apr 15 10:07:49 2011 From: cwfrymire at modernminstrel.com (Chris Frymire) Date: Fri, 15 Apr 2011 12:07:49 -0500 Subject: postadjust custom statement In-Reply-To: <20110414134323.CPY35929@expms1.cites.uiuc.edu> Message-ID: Excellent! Thanks Dave On 4/14/11 1:43 PM, "David Thompson" wrote: > The change that Jay asked for has been made in the current version of Panorama > 6 (build > 94356). For post update, just change "update" to "updateall". > > Dave > From dthmpsn1 at illinois.edu Fri Apr 15 11:06:43 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Fri, 15 Apr 2011 13:06:43 -0500 (CDT) Subject: Trying to complete folderpath(dbinfo("folder","") statement In-Reply-To: References: <20110413210529.CPX65776@expms1.cites.uiuc.edu> Message-ID: <20110415130643.CPZ29335@expms1.cites.uiuc.edu> >Could the folderpath(dbinfo("folder","") statement be used and if yes how >would it have looked (but I like your shorter method best)? >Once again thanks >Robert > In your case, it could not. Folderpath(dbinfo("folder","") would produce the path to the folder containing your database. The movie was on a completely different drive from the data base, so the path to the database did not overlap the path to the movie at all. Many people like to put their images or movies in a sub-folder of the folder that contains the database. In that case the path could look something like this. folderpath(dbinfo("folder","")+"Movies:My Movie.mov" But it could also look like this. ":Movies:My Movie.mov" So even in this case, there would be little point in using folderpath(dbinfo("folder",""). In some earlier versions of Panorama, I believe, you were required to use a full path. At that time folderpath(dbinfo("folder","") would have been useful in cases where the same folder would be placed on different computers, and you didn't want to have to write a different path for each machine. Dave From jim at provue.com Fri Apr 15 11:40:01 2011 From: jim at provue.com (James Rea) Date: Fri, 15 Apr 2011 11:40:01 -0700 Subject: Rogue Enterprise behavior In-Reply-To: Message-ID: On 4/15/11 at 9:57 AM, scott at prototek.net (Scott Taylor) wrote: >What in the world??!! What does this succession of errors mean, and did >Enterprise actually move my databases for some reason? There was noting >unusual about closing things down the night before, and no indications that >anything was amiss. BTW, this is Enterprise ver 5.5.2, running on a G4 >Mini. Never saw anything like it. I think there is something else going on, outside of Enterprise. Enterprise does not ever move databases, and in fact Panorama does not have any capability to move a file (as opposed to copying it). Also, Panorama does not have the ability to give a file or folder a name that is longer than 31 characters. So something else on your system must have done this. Jim Rea From mark at abernackie.com Fri Apr 15 13:42:13 2011 From: mark at abernackie.com (Mark Terry) Date: Fri, 15 Apr 2011 16:42:13 -0400 Subject: Rogue Enterprise behavior In-Reply-To: References: Message-ID: <20262CD3-2C50-4B5B-8716-4058B1D875DC@abernackie.com> Sounds like the cat was sleeping on the keyboard... ;-D On Apr 15, 2011, at 2:40 PM, James Rea wrote: > On 4/15/11 at 9:57 AM, scott at prototek.net (Scott Taylor) wrote: > >> What in the world??!! What does this succession of errors mean, >> and did >> Enterprise actually move my databases for some reason? There was >> noting >> unusual about closing things down the night before, and no >> indications that >> anything was amiss. BTW, this is Enterprise ver 5.5.2, running on >> a G4 >> Mini. Never saw anything like it. > > I think there is something else going on, outside of Enterprise. > Enterprise does not ever move databases, and in fact Panorama does > not have any capability to move a file (as opposed to copying it). > Also, Panorama does not have the ability to give a file or folder a > name that is longer than 31 characters. So something else on your > system must have done this. > > Jim Rea > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From scott at prototek.net Fri Apr 15 13:57:45 2011 From: scott at prototek.net (Scott Taylor) Date: Fri, 15 Apr 2011 13:57:45 -0700 Subject: Rogue Enterprise behavior In-Reply-To: <20262CD3-2C50-4B5B-8716-4058B1D875DC@abernackie.com> Message-ID: Pretty smart cat, to be able to move files after sleeping on the * key. I have seen peculiar directory names on this computer before (a bunch of symbols) for no discernable reason. This is the first time the files migrated. I?m afraid there is no explanation, but I?m glad there was such an easy solution once I found it. I would be interested in hearing from anyone else with even remotely similar experience. Scott > > From: Mark Terry > Reply-To: "Panorama Questions & Answers \(Discussion\)" > Date: Fri, 15 Apr 2011 16:42:13 -0400 > To: "Panorama Questions & Answers \(Discussion\)" > Subject: Re: Rogue Enterprise behavior > > Sounds like the cat was sleeping on the keyboard... ;-D > > On Apr 15, 2011, at 2:40 PM, James Rea wrote: > >> > On 4/15/11 at 9:57 AM, scott at prototek.net (Scott Taylor) wrote: >> > >>> >> What in the world??!! What does this succession of errors mean, >>> >> and did >>> >> Enterprise actually move my databases for some reason? There was >>> >> noting >>> >> unusual about closing things down the night before, and no >>> >> indications that >>> >> anything was amiss. BTW, this is Enterprise ver 5.5.2, running on >>> >> a G4 >>> >> Mini. Never saw anything like it. >> > >> > I think there is something else going on, outside of Enterprise. >> > Enterprise does not ever move databases, and in fact Panorama does >> > not have any capability to move a file (as opposed to copying it). >> > Also, Panorama does not have the ability to give a file or folder a >> > name that is longer than 31 characters. So something else on your >> > system must have done this. >> > >> > Jim Rea >> > >> > _______________________________________________ >> > Qna mailing list >> > Qna at provue.com >> > http://provue.com/mailman/listinfo/qna > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From skane at skaneco.com Sun Apr 17 10:41:03 2011 From: skane at skaneco.com (Steve Kane) Date: Sun, 17 Apr 2011 12:41:03 -0500 Subject: Disk Error -37 Message-ID: <74CEB103-26F4-485A-8877-6D6E89EF7099@skaneco.com> An old, extensively modified copy of SurfScout, Pan 6.0.0 Build 9435, MacBook, 10.6.7 SurfScout launches with its own copy of Pan 6 using an AutoLoad file. Lately, when launched *sometimes* an alert window opens saying "Disk Error -37". The error seems to be more likely to occur if it has been a while since I launched this file. If I quit and then reopen, usually the error does not occur. After I dismiss the alert window the file runs just fine, saves just fine, data appears to be intact. Other copies of Pan 6 and Pan 5.5 which I open with AutoLoad opening other files or file sets do not give this error. Any ideas welcome. Thanks. From jeff_gold at state.ga.weo.us Sun Apr 17 11:31:59 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Sun, 17 Apr 2011 14:31:59 -0400 Subject: Disk Error -37 In-Reply-To: <74CEB103-26F4-485A-8877-6D6E89EF7099@skaneco.com> References: <74CEB103-26F4-485A-8877-6D6E89EF7099@skaneco.com> Message-ID: <28B65D44-22D5-494C-9BF4-7E778DE7BC6A@state.ga.weo.us> Hi Steve, I also get this error frequently with AutoLoad files, not sure the cause. I have hypothesized that it could have something to do with Panorama launching and starting to run an Initialize procedure before the Panorama program itself is fully done launching and preparing all that it needs to do to be ready for that. Maybe Panorama is somehow "multitasking" at launch and Panorama starts running an Initialize procedure before it is quite ready to do so. Don't know if that's even possible, just a thought, more like a "non" educated guess. Another guess, perhaps it could happen if the Initialize procedure starts opening another file too quickly. I added a delay to mine of a second or two before opening other files, in case that was an issue, and I think it might have reduced the frequency of the error, but I still saw it happen once even after I did that. I think it did help, but didn't try any scientific system to test it much. Does your file creating the error have an "Initialize" procedure of some sort? That would at least help explain if it is the "Initialize" procedure which might be causing the issue. Best wishes, - Jeff On Apr 17, 2011, at 1:4103 PM, Steve Kane wrote: > An old, extensively modified copy of SurfScout, Pan 6.0.0 Build 9435, MacBook, 10.6.7 > > SurfScout launches with its own copy of Pan 6 using an AutoLoad file. Lately, when launched *sometimes* an alert window opens saying "Disk Error -37". The error seems to be more likely to occur if it has been a while since I launched this file. If I quit and then reopen, usually the error does not occur. > > After I dismiss the alert window the file runs just fine, saves just fine, data appears to be intact. > > Other copies of Pan 6 and Pan 5.5 which I open with AutoLoad opening other files or file sets do not give this error. > > Any ideas welcome. > > Thanks. > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From gary at yonaites.com Sun Apr 17 12:01:38 2011 From: gary at yonaites.com (Gary Yonaites) Date: Sun, 17 Apr 2011 12:01:38 -0700 Subject: Disk Error -37 In-Reply-To: <28B65D44-22D5-494C-9BF4-7E778DE7BC6A@state.ga.weo.us> References: <74CEB103-26F4-485A-8877-6D6E89EF7099@skaneco.com> <28B65D44-22D5-494C-9BF4-7E778DE7BC6A@state.ga.weo.us> Message-ID: <695419A1-ECF4-4734-B76D-262687B53800@yonaites.com> For what it is worth, that error is for a bad file name (error -37 bdNamErr). Gary gary at yonaites.com On Apr 17, 2011, at 11:31 AM, Jeff Gold wrote: > Hi Steve, > > I also get this error frequently with AutoLoad files, not sure the cause. I have hypothesized that it could have something to do with Panorama launching and starting to run an Initialize procedure before the Panorama program itself is fully done launching and preparing all that it needs to do to be ready for that. Maybe Panorama is somehow "multitasking" at launch and Panorama starts running an Initialize procedure before it is quite ready to do so. Don't know if that's even possible, just a thought, more like a "non" educated guess. > > Another guess, perhaps it could happen if the Initialize procedure starts opening another file too quickly. I added a delay to mine of a second or two before opening other files, in case that was an issue, and I think it might have reduced the frequency of the error, but I still saw it happen once even after I did that. I think it did help, but didn't try any scientific system to test it much. > > Does your file creating the error have an "Initialize" procedure of some sort? That would at least help explain if it is the "Initialize" procedure which might be causing the issue. > > Best wishes, > > - Jeff > > > > On Apr 17, 2011, at 1:4103 PM, Steve Kane wrote: > >> An old, extensively modified copy of SurfScout, Pan 6.0.0 Build 9435, MacBook, 10.6.7 >> >> SurfScout launches with its own copy of Pan 6 using an AutoLoad file. Lately, when launched *sometimes* an alert window opens saying "Disk Error -37". The error seems to be more likely to occur if it has been a while since I launched this file. If I quit and then reopen, usually the error does not occur. >> >> After I dismiss the alert window the file runs just fine, saves just fine, data appears to be intact. >> >> Other copies of Pan 6 and Pan 5.5 which I open with AutoLoad opening other files or file sets do not give this error. >> >> Any ideas welcome. >> >> Thanks. >> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From macmerlin at mac.com Sun Apr 17 19:34:49 2011 From: macmerlin at mac.com (John Stansel) Date: Sun, 17 Apr 2011 22:34:49 -0400 Subject: Where's the Export? Message-ID: When I use the Save Flash Art Scrapbook... command from the Picture menu, nothing happens. What am I doing wrong? I expected to find a file in the location indicated in the Save Picture Catalog> dialog box. Thanks John Stansel Panorama 6.0.0 Build 94356 From kjmeyer at mac.com Mon Apr 18 01:23:31 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Mon, 18 Apr 2011 10:23:31 +0200 Subject: Where's the Flash Art Scrapbook Export? In-Reply-To: References: Message-ID: <6BDAE6CC-DD04-4BB7-AFC4-72959593FE5A@mac.com> I tested that and exported a Flash Art Scrapbook to my desktop. The file was created there, but got an alias icon, and so the Finder's information window says it is an Alias. Panorama is not able to import this file into the Flash Art Scrapbook again. Then I tried to remember when I exported Flash Art Scrapbook files the last time and found the exported files. They have a normal Panorama document icon now, but Panorama cannot import them into a Flash Art Scrapbook either, and when I try to open them directly, Panorama crashes with an Hunter error. Kurt Am 18.04.2011 um 04:34 schrieb John Stansel: > When I use the Save Flash Art Scrapbook... command from the Picture menu, nothing happens. What am I doing wrong? I expected to find a file in the location indicated in the Save Picture Catalog> dialog box. > > Thanks > > John Stansel > Panorama 6.0.0 Build 94356 > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From jim at provue.com Mon Apr 18 11:08:00 2011 From: jim at provue.com (James Rea) Date: Mon, 18 Apr 2011 11:08:00 -0700 Subject: Where's the Flash Art Scrapbook Export? In-Reply-To: <6BDAE6CC-DD04-4BB7-AFC4-72959593FE5A@mac.com> Message-ID: >When I use the Save Flash Art Scrapbook... command from the >Picture menu, nothing happens. What am I doing wrong? There is a bug in Panorama 6 in this function, so it doesn't currently work. I believe it will work if you temporarily switch Panorama to "Open in Rosetta" (from the Get Info window). Don't forget to switch back once you are done. Jim From qnaweb at provue.com Tue Apr 19 11:14:26 2011 From: qnaweb at provue.com (Geoffroy Tremblay) Date: Tue, 19 Apr 2011 11:14:26 -0700 (PDT) Subject: Enterprise server migration Message-ID: <20110419181426.71E991EC595@provue.com> Hi there, I am migrating my server from one machine to another. I would like to have 2 servers running at the same time for 1 or 2 days (so that I can easily revert if anything bad happen. 1- Can I use any serial number to activate the enterprise version on the new machine ? For the migration I was planning to : 1 - Install panorama on a new server 2- Turn off the older server 3 - From all the clients change the server settings to the new server Would that be the right way to go about that ? thanks ! From steve at gomiddleton.com Tue Apr 19 13:17:32 2011 From: steve at gomiddleton.com (Steve Middleton) Date: Tue, 19 Apr 2011 16:17:32 -0400 Subject: Test Message-ID: <633F922E-C0D5-4086-A6B4-A010C75EA91B@gomiddleton.com> I have not been receiving emails since April 1. Just Checking. Thanks Steve Middleton Middleton Label If It Sticks...We Do It! ? http://www.goMiddleton.com From dthmpsn1 at illinois.edu Tue Apr 19 13:28:14 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Tue, 19 Apr 2011 15:28:14 -0500 (CDT) Subject: Test In-Reply-To: <633F922E-C0D5-4086-A6B4-A010C75EA91B@gomiddleton.com> References: <633F922E-C0D5-4086-A6B4-A010C75EA91B@gomiddleton.com> Message-ID: <20110419152814.CQC22897@expms1.cites.uiuc.edu> There have been a number of messages since then. You can view them at Dave ---- Original message ---- >Date: Tue, 19 Apr 2011 16:17:32 -0400 >From: Steve Middleton >Subject: Test >To: "Panorama Questions Answers (Discussion)" > >I have not been receiving emails since April 1. > >Just Checking. > >Thanks From steve at gomiddleton.com Tue Apr 19 14:00:18 2011 From: steve at gomiddleton.com (Steve Middleton) Date: Tue, 19 Apr 2011 17:00:18 -0400 Subject: Another Test Message-ID: Sorry about the message, but I need to test if qna is coming through now. Thanks Steve Middleton Middleton Label If It Sticks...We Do It! ? http://www.goMiddleton.com From orlandospecial at gmail.com Tue Apr 19 14:24:11 2011 From: orlandospecial at gmail.com (Orlando) Date: Tue, 19 Apr 2011 16:24:11 -0500 Subject: Another Test In-Reply-To: References: Message-ID: You're coming through loud and clear. I think there must be some flaw in the system because I opted-out April 2 and I haven't stopped receiving emails since. I don't complain though, I learn something every day ... On Tue, Apr 19, 2011 at 4:00 PM, Steve Middleton wrote: > Sorry about the message, but I need to test if qna is coming through now. > > Thanks > > Steve Middleton > Middleton Label > If It Sticks...We Do It! ? > > http://www.goMiddleton.com > > > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at provue.com Tue Apr 19 18:10:22 2011 From: jim at provue.com (James Rea) Date: Tue, 19 Apr 2011 18:10:22 -0700 Subject: Enterprise server migration In-Reply-To: <20110419181426.71E991EC595@provue.com> Message-ID: On 4/19/11 at 11:14 AM, qnaweb at provue.com (Geoffroy Tremblay) wrote: >1- Can I use any serial number to activate the enterprise version on >the new machine ? No, only the serial number that is licensed for enterprise will activate it. >I would like to have 2 servers running at the same time for 1 or 2 days (so that I can easily revert if anything bad happen. You must de-activate Enterprise Server from the old machine before activating it on the second machine. You could set up the second machine to run in demo mode to verify that it works (this limits you to two users, however). If there is a problem you could always deactivate the second machine and re-activate the first one, but we've never heard of anyone needing to do that. >3 - From all the clients change the server settings to the new server If you do things properly this won't be necessary. You can copy the Public Databases folder from the old computer to the new computer. When you configure the new server just make sure that the "bonjour name" is the same as the old server and the clients will automatically connect to the new server (of course the old server must be turned off because two computers cannot have the same bonjour name). I notice that your Enterprise Server license is for Panorama 5.5. If your new server machine has an Intel processor you may want to upgrade to Panorama Enterprise 6.0 -- it will run 5x faster on Intel machines. You can use either 5.5 or 6.0 as clients (though of course if you are using Intel clients you'll get an additional speed boost from upgrading to 6.0, plus all of Panorama 6's cool features). Jim Rea From vaugn at oikia-inc.com Thu Apr 21 08:11:45 2011 From: vaugn at oikia-inc.com (vaugn at oikia-inc.com) Date: Thu, 21 Apr 2011 11:11:45 -0400 Subject: Procedure Statement for Setting TimeStamp Message-ID: What procedure syntax is used to change a numeric field to a timestamp field. ADDFIELD "TimeStamp" Field "TimeStamp" fieldtype "float" ;FORMULAFILL VAL(timestampstr()) From dthmpsn1 at illinois.edu Thu Apr 21 11:16:39 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Thu, 21 Apr 2011 13:16:39 -0500 (CDT) Subject: Procedure Statement for Setting TimeStamp Message-ID: <20110421131639.CQE05514@expms1.cites.uiuc.edu> >What procedure syntax is used to change a numeric field to a timestamp field. > > >ADDFIELD "TimeStamp" >Field "TimeStamp" >fieldtype "float" >;FORMULAFILL VAL(timestampstr()) > It can't be done entirely with a procedure, and a time stamp field is an integer field, not a floating point field. To change an integer field to a time stamp field, you would go to the design sheet, choose Time Stamp... from the Special menu, and then choose the field from the menu in the dialog that appears. If you perform those steps with the procedure recorder running, it will record a procedure that will perform those same steps. The process of choosing the field from the menu in the dialog would still have to be done manually. One of the statements the recorder will write for you, Time Stamp Setup is considered illegal by the compiler, so the only way to write that procedure is to record it, and you would have to use it as is, because any modifications would require recompiling. To fill an integer field with time stamps for the current time, you would use FormulaFill superdate(today(), now()) Dave From steve at gomiddleton.com Fri Apr 22 05:50:59 2011 From: steve at gomiddleton.com (Steve Middleton) Date: Fri, 22 Apr 2011 08:50:59 -0400 Subject: Test Message-ID: Sorry about more test emails. My provider 1&1.com had me add the emails from Provue to a white list but I still have not received any QNA emails. So, I am testing again. Thanks Steve Middleton Middleton Label If It Sticks...We Do It! ? http://www.goMiddleton.com From jetpuck04 at me.com Fri Apr 22 06:13:00 2011 From: jetpuck04 at me.com (Peter Levitt) Date: Fri, 22 Apr 2011 09:13:00 -0400 Subject: Test In-Reply-To: References: Message-ID: Test back. On Apr 22, 2011, at 8:50 AM, Steve Middleton wrote: > Sorry about more test emails. My provider 1&1.com had me add the emails from Provue to a white list but I still have not received any QNA emails. > > So, I am testing again. > > Thanks > > Steve Middleton > Middleton Label > If It Sticks...We Do It! ? > > http://www.goMiddleton.com > > > > > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From robert at ameeti.net Fri Apr 22 09:51:28 2011 From: robert at ameeti.net (Robert Ameeti) Date: Fri, 22 Apr 2011 09:51:28 -0700 Subject: Test In-Reply-To: References: Message-ID: I've mentioned it before. Rather than put a known piece of trash in everyone's InBox, might it be nicer to ask a question that you've wondered the answer to? Or perhaps offer a tip from something that you've recently learned? At 8:50 AM -0400, 4/22/11, Steve Middleton wrote: >Sorry about more test emails. My provider >1&1.com had me add the emails from Provue to a >white list but I still have not received any QNA >emails. > >So, I am testing again. -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist Hit any user to continue. <><><><><><><><><><><><> From vaugn at oikia-inc.com Fri Apr 22 09:38:45 2011 From: vaugn at oikia-inc.com (vaugn at oikia-inc.com) Date: Fri, 22 Apr 2011 12:38:45 -0400 Subject: Resolving Variables Message-ID: <5174362a52565079a92da003a69a68d9.squirrel@email.powweb.com> I'm trying to pass subroutine parameters, and this fails. Why? message "Month " + STR(STRIPCHAR((parameter(1))[3;4], "AZaz")) The funnel chops of the parameter name, I want it to parse the parameter value.. From dthmpsn1 at illinois.edu Fri Apr 22 10:58:01 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Fri, 22 Apr 2011 12:58:01 -0500 (CDT) Subject: Resolving Variables In-Reply-To: <5174362a52565079a92da003a69a68d9.squirrel@email.powweb.com> References: <5174362a52565079a92da003a69a68d9.squirrel@email.powweb.com> Message-ID: <20110422125801.CQE93229@expms1.cites.uiuc.edu> >I'm trying to pass subroutine parameters, and this fails. Why? > > >message "Month " + STR(STRIPCHAR((parameter(1))[3;4], "AZaz")) > > >The funnel chops of the parameter name, I want it to parse the parameter >value.. > To answer this question, I think we need to see the subroutine call. That's probably where the syntax error is. Dave From vaugn at oikia-inc.com Fri Apr 22 11:41:30 2011 From: vaugn at oikia-inc.com (vaugn at oikia-inc.com) Date: Fri, 22 Apr 2011 14:41:30 -0400 Subject: Resolving Variables In-Reply-To: <20110422125801.CQE93229@expms1.cites.uiuc.edu> References: <5174362a52565079a92da003a69a68d9.squirrel@email.powweb.com> <20110422125801.CQE93229@expms1.cites.uiuc.edu> Message-ID: <1576c31b61dfb5a5417420173ea8e071.squirrel@email.powweb.com> >>I'm trying to pass subroutine parameters, and this fails. Why? >> >> >>message "Month " + STR(STRIPCHAR((parameter(1))[3;4], "AZaz")) >> >> >>The funnel chops of the parameter name, I want it to parse the parameter >>value.. >> > > To answer this question, I think we need to see the subroutine call. > That's probably where > the syntax error is. Call Check1, "xyzresponsedate", "xyzresponseactualdate" ;------- procedure Check1 ---------------------------------------- FILEAPPEND "",efname,eftype, " " + ? FILEAPPEND "",efname,eftype, "========================= " + str(parameter(1)) + " & " + str(parameter(2)) + " ==================" + ? FILEAPPEND "",efname,eftype, "================ Date Time Stamp " + datepattern(today(),"yyyyddmm") + timepattern(NOW(),"hhmmss") + " ==================" + ? FIELD (parameter(1)) FIRSTRECORD LOOP IF sizeof(parameter(1)) message "Month " + STR(STRIPCHAR((parameter(1))[3;4], "AZaz")) RTN ..........etc The statement FIELD (parameter(1)) resolves correctly, yet last line before RTN does not resolve to the value of the variable. That line works correctly if a field name is used. I thought enclosing () would resolve the variable to its value. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > From dthmpsn1 at illinois.edu Fri Apr 22 12:36:38 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Fri, 22 Apr 2011 14:36:38 -0500 (CDT) Subject: Resolving Variables In-Reply-To: <1576c31b61dfb5a5417420173ea8e071.squirrel@email.powweb.com> References: <5174362a52565079a92da003a69a68d9.squirrel@email.powweb.com> <20110422125801.CQE93229@expms1.cites.uiuc.edu> <1576c31b61dfb5a5417420173ea8e071.squirrel@email.powweb.com> Message-ID: <20110422143638.CQF01612@expms1.cites.uiuc.edu> >>>I'm trying to pass subroutine parameters, and this fails. Why? >>> >>> >>>message "Month " + STR(STRIPCHAR((parameter(1))[3;4], "AZaz")) >>> >>> >>>The funnel chops of the parameter name, I want it to parse the parameter >>>value.. >>> >> >> To answer this question, I think we need to see the subroutine call. >> That's probably where >> the syntax error is. > > >Call Check1, "xyzresponsedate", "xyzresponseactualdate" > >;------- procedure Check1 ---------------------------------------- > >FILEAPPEND "",efname,eftype, " " + ? >FILEAPPEND "",efname,eftype, "========================= " + >str(parameter(1)) + " & " + str(parameter(2)) + " ==================" + ? >FILEAPPEND "",efname,eftype, "================ Date Time Stamp " + >datepattern(today(),"yyyyddmm") + timepattern(NOW(),"hhmmss") + " >==================" + ? >FIELD (parameter(1)) >FIRSTRECORD >LOOP >IF sizeof(parameter(1)) >message "Month " + STR(STRIPCHAR((parameter(1))[3;4], "AZaz")) >RTN >..........etc > > >The statement FIELD (parameter(1)) resolves correctly, yet last line >before RTN does not resolve to the value of the variable. That line works >correctly if a field name is used. > >I thought enclosing () would resolve the variable to its value. > It does in a Field command, but the Field command is an exception to the usual syntax rules. Since it allows you to write either Field "MyField" or Field MyField and get the same results, there needed to be some syntax for saying "I really do want the value of MyField, and not its name." Ordinarily, MyField and (MyField) both mean the value, while "MyField" means the name. In your case you want to use message "Month " + stripchar(datavalue(parameter(1))[3;4], "AZaz") or message "Month " + stripchar(grabdata("", parameter(1))[3;4], "AZaz") I took out the str( function, because it serves no purpose in that context, but it was also doing no harm. Dave From dthmpsn1 at illinois.edu Tue Apr 26 10:22:17 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Tue, 26 Apr 2011 12:22:17 -0500 Subject: Searching the Qna Archives In-Reply-To: References: <20110325202908.CPI36812@expms1.cites.uiuc.edu> <20110325231536.CPI40053@expms1.cites.uiuc.edu> <16C4B06D-1DF6-4262-8D60-6BD783914518@me.com> <5432B47A-1FDA-44BC-BE68-F84D80DCB3E0@amnet.net.au> Message-ID: I found a trick that works for both Safari 5.0.4 and Firefox 4.0. You need to open the frame containing the search form in its own window or tab, *before* you do the search. Then, after searching, you can move from one page of search results to another by clicking the numbers at the bottom of the page, or by clicking PREVIOUS or NEXT. It doesn't help to do the search first, and then put the results in a separate window or tab. The frame containing the form consists of everything except the navigation bar on the left of the page. Just right click (or control-click) in the right side of the page, and use the context menu that opens, to open the frame in a new window or tab. Dave At 11:55 PM -0700 3/26/11, Robert Ameeti wrote: >I did not realize we would have different >results but that may be due to different >versions of the browsers. > >On my system, Safari 5.0.4, a results from a >search that had multiple pages, would only show >the first page. Attempting to advance to another >page would only cause a refresh of the same 1st >page with no advanced results displaying. > >On FireFox 4.0, the table would disappear and >there would be blank space where the table was. > > > > > >At 10:55 AM +0800, 3/27/11, Barry & Leith Johnston wrote: > >>I have tried to search for a topic which >>produced a summary with a lot of pages. The >>initial page was shown, but when I tried to >>access page 2 or any other page it produced a >>blank page. This was tried using Firefox. >>However when I tried Safari page 2 or any other >>pages showed up. >> >>Regards Barry Johnston >> >> >>On 27/03/2011, at 5:31 AM, Peter Levitt wrote: >> >>>But this isn't addressing Robert's question. >>> >>>Searching QNA, and clicking on a answer, and >>>then trying to use the 'links' at the top of >>>the screen do not produce what one would say >>>are consistent results. >>> >>>Short of manually clicking on different >>>answers?the links don't produce consistent >>>results. Seems a pity. >>>Peter >>> >>> >>>On Mar 26, 2011, at 5:23 AM, Michael Kellock wrote: >>> >>>>Which clearly demonstrates the benefits of >>>>giving one's posts a meaningful subject name. >>>> >>>>michael >>>> >>>> >>>>On 26/03/2011, at 3:15 PM, David Thompson wrote: >>>> >>>>>No trick that I know of. I just tried a >>>>>search for "array" which produced 124 pages >>>>>of results, and had no problem moving from >>>>>page to page. From operations at redhouserecords.com Wed Apr 27 12:52:25 2011 From: operations at redhouserecords.com (C W Frymire) Date: Wed, 27 Apr 2011 14:52:25 -0500 Subject: Pan databases opening w/pan server, not client if server is running In-Reply-To: <20100709192526.8B06724E876C@provue.com> References: <20100709192526.8B06724E876C@provue.com> Message-ID: <3283AC75-7BF8-415B-841B-3C334E25B14A@redhouserecords.com> Hi Joesef, Did you ever solve this problem? after upgrading Enterprise to v6 it is happening to me as well. I hate upgrading, something always breaks.... CW Frymire On Jul 9, 2010, at 2:25 PM, Josef Kryklywec wrote: > On the Enterprise server v6 91236 (and prior versions in v6 series), > when it is running, and i double click on a Pan database, which is > properly mapped to open with Panorama (and manually changed it in > get info as well) it opens up in Server. If i right click on the > file and select open with Panorama(default) it opens up correctly in > panorama. > > We do have Pan running along side server to do some data dumps, and > a reboot of server (v5) would have login items to launch server, > then the pan file and it opened in Pan (not server) which is correct. > > any ideas? > > thanks > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > From samrutherford at musiccitymetals.net Wed Apr 27 15:39:21 2011 From: samrutherford at musiccitymetals.net (Sam Rutherford) Date: Wed, 27 Apr 2011 17:39:21 -0500 Subject: applescript error Message-ID: This is admittedly an apple script question, not a panorama problem, so please blow it off if you like, but I did use panorama to write the applescript. This is the applescript (There are a few hundred like it.): tell application "Finder" copy {file "Macintosh HD:work in progress:product management:photo project:item photos:00-00242.JPG"} to folder "Macintosh HD:Users:sam:Desktop:batch:" end tell This is the error: error "Finder got an error: Can?t set folder \"Macintosh HD:Users:sam:Desktop:batch:\" to file \"Macintosh HD:work in progress:product management:photo project:item photos:00-00242.JPG\"." number -10006 from folder "Macintosh HD:Users:sam:Desktop:batch:" This is the most of the procedure that wrote the script: src = 'Macintosh HD:work in progress:product management:photo project:item photos:' // the folder where the files to be copied reside dst = 'Macintosh HD:Users:sam:Desktop:batch:' // the folder to which the files will be copied fld = 'filename' // the name of the field holding the filename of the files to be copied export dsk+'script.txt', 'tell application "Finder"' + ? + 'copy {file "' + src + datavalue(fld) + '"} to folder "' + dst + '"' + ? + 'end tell' + ? An obvious place to look for an error would be the pathname of the source folder, but that should be ok because I had panorama write that too. I used this: local qqq qqq = folderpath(dbinfo('folder', '')) filesave folder(dsk), 'fldr.txt', '', qqq from a database inside the folder. I know the dst variable is OK because it works in other scripts. ________________________________________________________________ Sam Rutherford Music City Metals 615/255-4481 samrutherford at musiccitymetals.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff_gold at state.ga.weo.us Wed Apr 27 16:09:16 2011 From: jeff_gold at state.ga.weo.us (Jeff Gold) Date: Wed, 27 Apr 2011 19:09:16 -0400 Subject: applescript error In-Reply-To: References: Message-ID: Instead of this... tell application "Finder" copy {file "Macintosh HD:work in progress:product management:photo project:item photos:00-00242.JPG"} to folder "Macintosh HD:Users:sam:Desktop:batch:" end tell Try this... tell application "Finder" copy file "Macintosh HD:work in progress:product management:photo project:item photos:00-00242.JPG" to folder ("Macintosh HD:Users:sam:Desktop:batch" as alias) end tell The new variant works fine on my system here. I use lots of Applescripts triggered from Panorama, and I usually figure things about by trial and error, and copying portions of other scripts I find by searching the Internet. Beware, Applescript has *LOTS* of bugs in it. If you work around those bugs it is very useful. I do, and use it all the time. Good luck with that, - Jeff From mylevelbest at gmail.com Wed Apr 27 18:40:04 2011 From: mylevelbest at gmail.com (David Groover) Date: Wed, 27 Apr 2011 21:40:04 -0400 Subject: How To Attach A Bundle In-Reply-To: References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> <4D99EF4C.40206@gmail.com> Message-ID: <4DB8C574.2000702@gmail.com> Thanks for the tip. Unfortunately, it hasn't worked. I had several _DiskLib copies backed up here and there so I had to zip all the backups in case it wasn't launching on the _DiskLib for that DB. But now, with just one _DiskLib I can report that the files are still all grayed out when trying to attach a file path in a bundle. /* This statement will use a standard choose folder dialog to choose a folder and return the 6 byte binary path ID of the chosen folder. The result will be a blank if no folder is chosen.

Note: This statement requires OS X. The path ID of the chosen file local folder, theList
choosefolder folder
theList = listfiles(folder,"????????")
*/ if osx()=false() rtnerror "ERROR: ChooseFolderDialog requires OS X" endif Local theVolume, theFolder ExecuteAppleScript ||| try *set thisFolder to choose folder with showing package contents * on error return "User clicked cancel" end try tell application "System Events" return id of thisFolder end tell ||| If AppleScriptResult = {"User clicked cancel"} setparameter 1,"" setdialogtrigger "Cancel" Rtn EndIf theFolder = val(AppleScriptResult["-,",-2][2,-1]) theVolume = val(AppleScriptResult[1,"-,"][1,-2]["-,",-1][2,-1]) If theVolume < 0 theVolume = theVolume + 65536 EndIf setparameter 1, word(theVolume)+longword(theFolder) setdialogtrigger "Choose" David Thompson wrote: >> OK, I can get a list of items in a folder (not completely as some are >> truncated with a number symbol and some numbers). But, I still cannot >> select one specific file in a folder where all the bundled files are >> grayed out. >> >> Testing, I can see that it all works. But again, the main problem is, >> how to attach a grayed out file. Is this going to be a two stage >> process no matter what? Meaning, I can build a list, then I have to >> display the list, now click on the item to select it? > > The code for the ChooseFolderDialog custom statement can be changed so > that bundles aren't grayed out. Open the CHOOSEFOLDERDIALOG procedure > in the _DiskLib library and look for the line that reads > > set thisFolder to choose folder > > and change it to > > set thisFolder to choose folder with showing package contents > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna -------------- next part -------------- An HTML attachment was scrubbed... URL: From dthmpsn1 at illinois.edu Wed Apr 27 19:14:56 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Wed, 27 Apr 2011 21:14:56 -0500 (CDT) Subject: How To Attach A Bundle In-Reply-To: <4DB8C574.2000702@gmail.com> References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> <4D99EF4C.40206@gmail.com> <4DB8C574.2000702@gmail.com> Message-ID: <20110427211456.CQI85207@expms1.cites.uiuc.edu> > Thanks for the tip. Unfortunately, it hasn't worked. I had > several _DiskLib copies backed up here and there so I had to > zip all the backups in case it wasn't launching on the > _DiskLib for that DB. But now, with just one _DiskLib I can > report that the files are still all grayed out when trying to > attach a file path in a bundle. I would try adding a message command to that procedure, just to verify that you are running the procedure you modified. That modification definitely worked for me when I tested it. Dave > > /* > > > This statement will use a standard choose folder dialog to > choose a folder and return the 6 byte binary path ID of the > chosen folder. The result will be a blank if no folder is > chosen.

> Note: This statement requires OS X. > > The path ID of the chosen > file > > local folder, theList
> choosefolder folder
> theList = listfiles(folder,"????????") >
> > */ > > if osx()=false() > rtnerror "ERROR: ChooseFolderDialog requires OS X" > endif > > Local theVolume, theFolder > ExecuteAppleScript ||| > try > set thisFolder to choose folder with showing package contents > on error > return "User clicked cancel" > end try > tell application "System Events" > return id of thisFolder > end tell > ||| > If AppleScriptResult = {"User clicked cancel"} > setparameter 1,"" > setdialogtrigger "Cancel" > Rtn > EndIf > > theFolder = val(AppleScriptResult["-,",-2][2,-1]) > theVolume = > val(AppleScriptResult[1,"-,"][1,-2]["-,",-1][2,-1]) > > If theVolume < 0 > theVolume = theVolume + 65536 > EndIf > > setparameter 1, word(theVolume)+longword(theFolder) > setdialogtrigger "Choose" > > David Thompson wrote: > > OK, I can get a list of items in a folder (not completely > as some are truncated with a number symbol and some > numbers). But, I still cannot select one specific file in > a folder where all the bundled files are grayed out. > > Testing, I can see that it all works. But again, the main > problem is, how to attach a grayed out file. Is this going > to be a two stage process no matter what? Meaning, I can > build a list, then I have to display the list, now click > on the item to select it? > > The code for the ChooseFolderDialog custom statement can be > changed so that bundles aren't grayed out. Open the > CHOOSEFOLDERDIALOG procedure in the _DiskLib library and > look for the line that reads > > set thisFolder to choose folder > > and change it to > > set thisFolder to choose folder with showing package > contents > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna >________________ >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From mylevelbest at gmail.com Wed Apr 27 19:26:26 2011 From: mylevelbest at gmail.com (David Groover) Date: Wed, 27 Apr 2011 22:26:26 -0400 Subject: How To Attach A Bundle In-Reply-To: <20110427211456.CQI85207@expms1.cites.uiuc.edu> References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> <4D99EF4C.40206@gmail.com> <4DB8C574.2000702@gmail.com> <20110427211456.CQI85207@expms1.cites.uiuc.edu> Message-ID: <4DB8D052.7030001@gmail.com> Thanks Dave, good call. I guess this is simple enough to just do as Applescript in a procedure. Can you please tell me if the Applescript resultant number in the second part of the result can be used as an effective file opener? Without the part: tell application "System Events" return id of thisFolder ... I get a filepath separated by colons that I was planning on using to store the path. Since you pointed this method out using system events I have to assume your way is the better solution. ExecuteAppleScript ||| try set thisFolder to choose folder with prompt "Pick A File To Attach To This Record" with showing package contents on error return "User clicked cancel" end try ||| ... etc... I would be happy to have it working in Pan in the disklib. I will test with message to see if I am doing what I thought I was doing. Thanks. David Groover David Thompson wrote: >> Thanks for the tip. Unfortunately, it hasn't worked. I had >> several _DiskLib copies backed up here and there so I had to >> zip all the backups in case it wasn't launching on the >> _DiskLib for that DB. But now, with just one _DiskLib I can >> report that the files are still all grayed out when trying to >> attach a file path in a bundle. >> > > I would try adding a message command to that procedure, just to verify that you are running the procedure you modified. That modification definitely worked for me when I tested it. > > Dave > >> /* >> >> >> This statement will use a standard choose folder dialog to >> choose a folder and return the 6 byte binary path ID of the >> chosen folder. The result will be a blank if no folder is >> chosen.

>> Note: This statement requires OS X. >> >> The path ID of the chosen >> file >> >> local folder, theList
>> choosefolder folder
>> theList = listfiles(folder,"????????") >>
>> >> */ >> >> if osx()=false() >> rtnerror "ERROR: ChooseFolderDialog requires OS X" >> endif >> >> Local theVolume, theFolder >> ExecuteAppleScript ||| >> try >> set thisFolder to choose folder with showing package contents >> on error >> return "User clicked cancel" >> end try >> tell application "System Events" >> return id of thisFolder >> end tell >> ||| >> If AppleScriptResult = {"User clicked cancel"} >> setparameter 1,"" >> setdialogtrigger "Cancel" >> Rtn >> EndIf >> >> theFolder = val(AppleScriptResult["-,",-2][2,-1]) >> theVolume = >> val(AppleScriptResult[1,"-,"][1,-2]["-,",-1][2,-1]) >> >> If theVolume< 0 >> theVolume = theVolume + 65536 >> EndIf >> >> setparameter 1, word(theVolume)+longword(theFolder) >> setdialogtrigger "Choose" >> >> David Thompson wrote: >> >> OK, I can get a list of items in a folder (not completely >> as some are truncated with a number symbol and some >> numbers). But, I still cannot select one specific file in >> a folder where all the bundled files are grayed out. >> >> Testing, I can see that it all works. But again, the main >> problem is, how to attach a grayed out file. Is this going >> to be a two stage process no matter what? Meaning, I can >> build a list, then I have to display the list, now click >> on the item to select it? >> >> The code for the ChooseFolderDialog custom statement can be >> changed so that bundles aren't grayed out. Open the >> CHOOSEFOLDERDIALOG procedure in the _DiskLib library and >> look for the line that reads >> >> set thisFolder to choose folder >> >> and change it to >> >> set thisFolder to choose folder with showing package >> contents >> >> Dave >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna >> ________________ >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna >> > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dthmpsn1 at illinois.edu Wed Apr 27 20:18:27 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Wed, 27 Apr 2011 22:18:27 -0500 (CDT) Subject: How To Attach A Bundle In-Reply-To: <4DB8D052.7030001@gmail.com> References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> <4D99EF4C.40206@gmail.com> <4DB8C574.2000702@gmail.com> <20110427211456.CQI85207@expms1.cites.uiuc.edu> <4DB8D052.7030001@gmail.com> Message-ID: <20110427221827.CQI87251@expms1.cites.uiuc.edu> > Thanks Dave, good call. > > I guess this is simple enough to just do as Applescript in a > procedure. Can you please tell me if the Applescript resultant > number in the second part of the result can be used as an > effective file opener? > > Without the part: > > tell application "System Events" > return id of thisFolder > > ... I get a filepath separated by colons that I was planning > on using to store the path. Since you pointed this method out > using system events I have to assume your way is the better > solution. > I did it that way to make it consistent with OpenFileDialog, and SaveFileDialog, which both use the 6 byte binary path ID to specify the folder. The first two bytes of that binary path ID specify the volume, and the last four specify the folder. The ID returned by System Events contains both of those numbers. If you are writing your own AppleScript, and your goal is to get the colon separated path, then you can probably do without the System Events part of the script and just use return thisFolder as string I say "probably" because I am writing this email on a PC, so I can't test an AppleScript. Dave From samrutherford at musiccitymetals.net Thu Apr 28 09:17:21 2011 From: samrutherford at musiccitymetals.net (Sam Rutherford) Date: Thu, 28 Apr 2011 11:17:21 -0500 Subject: applescript error In-Reply-To: References: Message-ID: I tried your variant and a lot like it without success, although sometimes I got an 'event handler failed' error instead of a "can't set" error. I'm very new to applescript. I've written three that work. Well two, since this one seems to have quit working. I'm beginning to believe you about bugs. Thanks anyway. I really appreciate your help. Sam ________________________________________________________________ On Apr 27, 2011, at 6:09 PM, Jeff Gold wrote: > Instead of this... > > tell application "Finder" > copy {file "Macintosh HD:work in progress:product management:photo project:item photos:00-00242.JPG"} to folder "Macintosh HD:Users:sam:Desktop:batch:" > end tell > > > Try this... > > tell application "Finder" > copy file "Macintosh HD:work in progress:product management:photo project:item photos:00-00242.JPG" to folder ("Macintosh HD:Users:sam:Desktop:batch" as alias) > end tell > > > The new variant works fine on my system here. > > I use lots of Applescripts triggered from Panorama, and I usually figure things about by trial and error, and copying portions of other scripts I find by searching the Internet. > > Beware, Applescript has *LOTS* of bugs in it. If you work around those bugs it is very useful. I do, and use it all the time. > > Good luck with that, > > - Jeff > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > ________________________________________________________________ Sam Rutherford Music City Metals 615/255-4481 samrutherford at musiccitymetals.net From robert at ameeti.net Thu Apr 28 12:05:33 2011 From: robert at ameeti.net (Robert Ameeti) Date: Thu, 28 Apr 2011 12:05:33 -0700 Subject: Panorama Vers 6 vs Vers 5 - Are they compatible? Message-ID: Panorama Enterprise Server 5 Panorama (Full) (version 6) clients Panorama Direct (version 5) clients Are there any changes in version 6 (functions or commands) that would cause a version 5 Panorama client to not be able to successfully open and use a file that was created or modified on a version 6 Panorama? -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist Between two evils, I always pick the one I never tried before. <><><><><><><><><><><><> From csw at me.com Thu Apr 28 12:27:48 2011 From: csw at me.com (Watts Chris) Date: Thu, 28 Apr 2011 12:27:48 -0700 Subject: LastCheck.dat In-Reply-To: References: Message-ID: <06124981-8C23-4F33-99FE-16200FA2ED06@me.com> I am getting this "LastCheck.dat message now?. using 6.0 On Jul 1, 2008, at 9:29 AM, James Rea wrote: >> Sometimes when I open a database the following window will pop up: >> >> File ?LastCheck.dat? or disk may be locked or busy. Unlock and try >> again. > > This issue has been resolved in Panorama 5.5. I notice that KSU has one > copy of 5.5 and two copies of V, so upgrading the other two copies > should take care of the problem. > > Jim Rea > President, ProVUE Development > > --------------------------------------------------------------------- > --- Celebrating 30 years of software excellence (1978-2008) --- > --------------------------------------------------------------------- > ProVUE Development (714) 841-7779 > 18685-A Main Street PMB356 http://www.provue.com/ > Huntington Beach, CA 92648 Panorama: Turn information into knowledge > --------------------------------------------------------------------- > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna From dthmpsn1 at illinois.edu Thu Apr 28 17:22:05 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Thu, 28 Apr 2011 19:22:05 -0500 (CDT) Subject: applescript error In-Reply-To: References: Message-ID: <20110428192205.CQJ76020@expms1.cites.uiuc.edu> You might want to look at the COPYFILE custom statement. Don't worry about the buffersize parameter. It's optional. On Windows it defaults to 100,000 bytes, and it's ignored completely on a Mac. Dave. ---- Original message ---- >Date: Thu, 28 Apr 2011 11:17:21 -0500 >From: Sam Rutherford >Subject: Re: applescript error >To: "Panorama Questions Answers (Discussion)" > >I tried your variant and a lot like it without success, although sometimes I got an 'event handler failed' error instead of a "can't set" error. > >I'm very new to applescript. I've written three that work. Well two, since this one seems to have quit working. I'm beginning to believe you about bugs. > >Thanks anyway. I really appreciate your help. > >Sam >________________________________________________________________ > >On Apr 27, 2011, at 6:09 PM, Jeff Gold wrote: > >> Instead of this... >> >> tell application "Finder" >> copy {file "Macintosh HD:work in progress:product management:photo project:item photos:00-00242.JPG"} to folder "Macintosh HD:Users:sam:Desktop:batch:" >> end tell >> >> >> Try this... >> >> tell application "Finder" >> copy file "Macintosh HD:work in progress:product management:photo project:item photos:00-00242.JPG" to folder ("Macintosh HD:Users:sam:Desktop:batch" as alias) >> end tell >> >> >> The new variant works fine on my system here. >> >> I use lots of Applescripts triggered from Panorama, and I usually figure things about by trial and error, and copying portions of other scripts I find by searching the Internet. >> >> Beware, Applescript has *LOTS* of bugs in it. If you work around those bugs it is very useful. I do, and use it all the time. >> >> Good luck with that, >> >> - Jeff >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna >> > >________________________________________________________________ >Sam Rutherford >Music City Metals >615/255-4481 >samrutherford at musiccitymetals.net > > >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From robert at ameeti.net Thu Apr 28 17:30:05 2011 From: robert at ameeti.net (Robert Ameeti) Date: Thu, 28 Apr 2011 17:30:05 -0700 Subject: Enterprise client connections to server EPPC or HTTP Message-ID: I have multiple clients complaining about extremely slow connections with the server. I have just noticed that some of the clients are connecting via EPPC and others are connecting via HTTP as indicated in the <--> column of the Active Sessions table within the Server Administration window. I presume that this difference is accounting for the slow response and spinning rainbows. All of the clients are hard wired within the LAN that includes the Enterprise Server. How do I alter this and what is the preferred setting? Why would the slower setting be prerred in some settings? -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist The shortest distance between two points is how far apart they are. <><><><><><><><><><><><> From mylevelbest at gmail.com Thu Apr 28 19:43:52 2011 From: mylevelbest at gmail.com (David Groover) Date: Thu, 28 Apr 2011 22:43:52 -0400 Subject: How To Attach A Bundle In-Reply-To: <20110427221827.CQI87251@expms1.cites.uiuc.edu> References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> <4D99EF4C.40206@gmail.com> <4DB8C574.2000702@gmail.com> <20110427211456.CQI85207@expms1.cites.uiuc.edu> <4DB8D052.7030001@gmail.com> <20110427221827.CQI87251@expms1.cites.uiuc.edu> Message-ID: <4DBA25E8.8080805@gmail.com> I appreciate the AS Tip. I think I have it right, although no results suggest I do not. The upper section works. Pointed to a bundle file, it returns the file path. Searching the net, I think I have a valid way using AS to launch the file. The second section is below the arrow and it is not working yet. I put them together just for testing to see if I could capture the location, then launch it. It will get separated out once I have it working. Sorry to be missing it, but I am not seeing how what looks like a valid AS in the giant message, is not launching the file. It seems to test correctly with this syntax in AS editor? ------------------------ Local theFile, theFolder, lvFindFile, lvGoScript ExecuteAppleScript ||| try set thisFolder to choose folder with showing package contents on error return "User clicked cancel" end try ||| If AppleScriptResult = {"User clicked cancel"} message "User Canceled" stop EndIf // ------>> theFile = AppleScriptResult[{"},{-"}][1,-3] + {"} message theFile lvGoScript = "|||" +?+ "tell application " + {"} + "Finder"+ {"} +?+ "try" +?+ "set filepath to POSIX path of " + theFile +?+ "set command to " + {"} + "open " + {"} + { &} + " quoted form of filepath" +?+ "do shell script command" +?+ "end try" +?+ "end tell" +?+ "|||" giantmessage lvGoScript ExecuteApplescript lvGoScript ------------------------ Thanks David G David Thompson wrote: >> Thanks Dave, good call. >> >> I guess this is simple enough to just do as Applescript in a >> procedure. Can you please tell me if the Applescript resultant >> number in the second part of the result can be used as an >> effective file opener? >> >> Without the part: >> >> tell application "System Events" >> return id of thisFolder >> >> ... I get a filepath separated by colons that I was planning >> on using to store the path. Since you pointed this method out >> using system events I have to assume your way is the better >> solution. >> >> > > I did it that way to make it consistent with OpenFileDialog, and SaveFileDialog, which both use the 6 byte binary path ID to specify the folder. The first two bytes of that binary path ID specify the volume, and the last four specify the folder. The ID returned by System Events contains both of those numbers. > > If you are writing your own AppleScript, and your goal is to get the colon separated path, then you can probably do without the System Events part of the script and just use > > return thisFolder as string > > I say "probably" because I am writing this email on a PC, so I can't test an AppleScript. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at provue.com Thu Apr 28 20:00:15 2011 From: jim at provue.com (James Rea) Date: Thu, 28 Apr 2011 20:00:15 -0700 Subject: Enterprise client connections to server EPPC or HTTP In-Reply-To: Message-ID: On 4/28/11 at 5:30 PM, robert at ameeti.net (Robert Ameeti) wrote: >How do I alter this and what is the preferred setting? See page 59 of the Panorama Enterprise Handbook. For Macs on the local network EPPC (Remote Apple Events) is usually the preferred setting, in my tests it is about 2x faster than TCP/IP. I'm not sure why that is. If you are using a Windows system, or connecting over the internet, then EPPC is not an option, you must use TCP/IP. Jim Rea From dthmpsn1 at illinois.edu Thu Apr 28 20:37:14 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Thu, 28 Apr 2011 22:37:14 -0500 (CDT) Subject: How To Attach A Bundle In-Reply-To: <4DBA25E8.8080805@gmail.com> References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> <4D99EF4C.40206@gmail.com> <4DB8C574.2000702@gmail.com> <20110427211456.CQI85207@expms1.cites.uiuc.edu> <4DB8D052.7030001@gmail.com> <20110427221827.CQI87251@expms1.cites.uiuc.edu> <4DBA25E8.8080805@gmail.com> Message-ID: <20110428223714.CQJ82280@expms1.cites.uiuc.edu> > lvGoScript = "|||" +P:+ > "tell application " + {"} + "Finder"+ {"} +P:+ > "try" +P:+ > "set filepath to POSIX path of " + theFile +P:+ > "set command to " + {"} + "open " + {"} + { &} + " quoted form > of filepath" +P:+ > "do shell script command" +P:+ > "end try" +P:+ > "end tell" +P:+ > "|||" > > giantmessage lvGoScript > ExecuteApplescript lvGoScript I'm on a PC again, so no testing, but I think this will work if you lose the triple pipes at the beginning and end. You are making those pipes part of the AppleScipt. You don't want the script to begin and end with those pipes. You want it to begin with tell application "Finder" and end with end tell Dave From robert at ameeti.net Thu Apr 28 23:29:37 2011 From: robert at ameeti.net (Robert Ameeti) Date: Thu, 28 Apr 2011 23:29:37 -0700 Subject: Searching the Qna Archives In-Reply-To: <20110325202908.CPI36812@expms1.cites.uiuc.edu> References: <20110325202908.CPI36812@expms1.cites.uiuc.edu> Message-ID: I'd love to see that at the end of the Pano List emails instead of just the mailman/listinfo/qna link that is there now. At 8:29 PM -0500, 3/25/11, David Thompson wrote: > >I see a QNA Archive page but it just separates by >>month. Is there a way to search the archives? >>-- > >It sounds like you are looking at the "raw >archives." There is a searchable version at >. -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist Well, this day was a total waste of makeup. <><><><><><><><><><><><> From robert at ameeti.net Thu Apr 28 23:38:39 2011 From: robert at ameeti.net (Robert Ameeti) Date: Thu, 28 Apr 2011 23:38:39 -0700 Subject: Enterprise client connections to server EPPC or HTTP In-Reply-To: References: Message-ID: At 8:00 PM -0700, 4/28/11, James Rea wrote: >On 4/28/11 at 5:30 PM, robert at ameeti.net (Robert Ameeti) wrote: > >>How do I alter this and what is the preferred setting? > >See page 59 of the Panorama Enterprise Handbook. I did try a search for EPPC and for HTTP in the handbook but EPPC was not found at all. http was found everywhere but on this page. :-( I did a Google search as well as a Wikipedia search for EPPC but the only thing I could come up with was English Pot Pie Co. I knew that English Pot Pies would go through my network slow but I was hopin that you'd found something faster than that. Perhaps an entry in the manual for this unique descriptor that is shown in the Aministration Panel for the server? >For Macs on the local network EPPC (Remote Apple >Events) is usually the preferred setting, in my >tests it is about 2x faster than TCP/IP. I'm not >sure why that is. As my server is down at the moment with an upgrade serial number issue, I can't say for sure but I believe that my EPPC computers are the slower computers. I'll know more after I get my server out of demo mode. >If you are using a Windows system, or connecting >over the internet, then EPPC is not an option, >you must use TCP/IP. > >Jim Rea -- <><><><><><><><><><><><> Robert Ameeti - ePro? MailTo:robert at ameeti.net (949) 422-6866 FAX (267) 222-6866 PC & Mac computer specialist Capt'n! The spellchecker kinna take this abuse! <><><><><><><><><><><><> From jim at provue.com Thu Apr 28 23:55:48 2011 From: jim at provue.com (James Rea) Date: Thu, 28 Apr 2011 23:55:48 -0700 Subject: Searching the Qna Archives In-Reply-To: Message-ID: On 4/28/11 at 11:29 PM, robert at ameeti.net (Robert Ameeti) wrote: >I'd love to see that at the end of the Pano List emails instead >of just the mailman/listinfo/qna link that is there now. Sounds great. If you (or anyone reading this) can tell me exactly where the mailman config file is that controls this and how it needs to be modified I'll get right on it. This is on OS X Server 10.6. There's no Apple documentation on this that I know of, and it's not in the on-line Mailman administrator controls. Jim From mylevelbest at gmail.com Fri Apr 29 03:21:03 2011 From: mylevelbest at gmail.com (David Groover) Date: Fri, 29 Apr 2011 06:21:03 -0400 Subject: How To Attach A Bundle In-Reply-To: <20110428223714.CQJ82280@expms1.cites.uiuc.edu> References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> <4D99EF4C.40206@gmail.com> <4DB8C574.2000702@gmail.com> <20110427211456.CQI85207@expms1.cites.uiuc.edu> <4DB8D052.7030001@gmail.com> <20110427221827.CQI87251@expms1.cites.uiuc.edu> <4DBA25E8.8080805@gmail.com> <20110428223714.CQJ82280@expms1.cites.uiuc.edu> Message-ID: <4DBA910F.3040405@gmail.com> Yes, that did it. Thanks. Can you help me understand the logic here? In the two examples I posted, the first worked using executeapplescript and then the enclosing pipes. I was thinking that if I loaded all the data correctly in a variable first (was was correct) then I would be essentially replacing everything that worked in the earlier example, save it was now all loaded in a variable. Where it was: > ExecuteAppleScript ||| > try .... Now it is: > ExecuteAppleScript > try .... The pipes and the earlier bracketed examples must be a pan specific way for setting the following string as text, but I am not clear on exactly why this is happening. Perhaps because I quoted each line separately in my script where I could have quoted larger sections, in which case the pipes would have made sense, again to the script, not for the Applescript's running. I think that's is right. Clarification? Thanks David G. David Thompson wrote: >> lvGoScript = "|||" +P:+ >> "tell application " + {"} + "Finder"+ {"} +P:+ >> "try" +P:+ >> "set filepath to POSIX path of " + theFile +P:+ >> "set command to " + {"} + "open " + {"} + {&} + " quoted form >> of filepath" +P:+ >> "do shell script command" +P:+ >> "end try" +P:+ >> "end tell" +P:+ >> "|||" >> >> giantmessage lvGoScript >> ExecuteApplescript lvGoScript >> > > I'm on a PC again, so no testing, but I think this will work if you lose the triple pipes at the beginning and end. You are making those pipes part of the AppleScipt. You don't want the script to begin and end with those pipes. You want it to begin with > > tell application "Finder" > > and end with > > end tell > > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dthmpsn1 at illinois.edu Fri Apr 29 04:54:00 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Fri, 29 Apr 2011 06:54:00 -0500 (CDT) Subject: How To Attach A Bundle In-Reply-To: <4DBA910F.3040405@gmail.com> References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> <4D99EF4C.40206@gmail.com> <4DB8C574.2000702@gmail.com> <20110427211456.CQI85207@expms1.cites.uiuc.edu> <4DB8D052.7030001@gmail.com> <20110427221827.CQI87251@expms1.cites.uiuc.edu> <4DBA25E8.8080805@gmail.com> <20110428223714.CQJ82280@expms1.cites.uiuc.edu> <4DBA910F.3040405@gmail.com> Message-ID: <20110429065400.CQK03850@expms1.cites.uiuc.edu> Panorama has many characters that can be used to quote text. This allows you to quote the text with characters that do not appear in the text. The most recent addition to this list of quoting characters is the pipe. The special advantage of this character is that you can use a string of several consecutive pipes, and it will be treated as if it were a single quoting character, even if you have pipes in the text you want to quote, you can still use pipes to quote the text. You just have to use a longer string of pipes to quote the text, than you have in the text. For example: message |||{Hello} | "World"||| An AppleScript is liable to contain quotes around strings of text, and it's liable to contain braces around lists or records, so you want to use something else to quote the script itself. In the first example, which was my code, I chose to use pipes to do that. The pipes were being used to quote the text. They weren't part of the text. In your code, you put quotes around those pipes, and made them part of the text. Try these two examples. message |||Hello World||| and message "|||"+"Hello World"+"|||" Your code was similar to the second example. The pipes became part of the text. Dave ---- Original message ---- >Date: Fri, 29 Apr 2011 06:21:03 -0400 >From: David Groover >Subject: Re: How To Attach A Bundle >To: "Panorama Questions Answers (Discussion)" > > Yes, that did it. Thanks. > > Can you help me understand the logic here? In the two examples > I posted, the first worked using executeapplescript and then > the enclosing pipes. I was thinking that if I loaded all the > data correctly in a variable first (was was correct) then I > would be essentially replacing everything that worked in the > earlier example, save it was now all loaded in a variable. > Where it was: > > ExecuteAppleScript ||| > try .... > > Now it is: > > ExecuteAppleScript > try .... > > The pipes and the earlier bracketed examples must be a pan > specific way for setting the following string as text, but I > am not clear on exactly why this is happening. Perhaps because > I quoted each line separately in my script where I could have > quoted larger sections, in which case the pipes would have > made sense, again to the script, not for the Applescript's > running. I think that's is right. > > Clarification? > > Thanks > > David G. > > > lvGoScript = "|||" +P:+ > "tell application " + {"} + "Finder"+ {"} +P:+ > "try" +P:+ > "set filepath to POSIX path of " + theFile +P:+ > "set command to " + {"} + "open " + {"} + { &} + " quoted form > of filepath" +P:+ > "do shell script command" +P:+ > "end try" +P:+ > "end tell" +P:+ > "|||" > > giantmessage lvGoScript > ExecuteApplescript lvGoScript > > > I'm on a PC again, so no testing, but I think this will work if you lose the triple pipes at the beginning and end. You are making those pipes part of the AppleScipt. You don't want the script to begin and end with those pipes. You want it to begin with > > tell application "Finder" > > and end with > > end tell > > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > > >________________ >_______________________________________________ >Qna mailing list >Qna at provue.com >http://provue.com/mailman/listinfo/qna From samrutherford at musiccitymetals.net Fri Apr 29 07:06:38 2011 From: samrutherford at musiccitymetals.net (Sam Rutherford) Date: Fri, 29 Apr 2011 09:06:38 -0500 Subject: applescript error In-Reply-To: <20110428192205.CQJ76020@expms1.cites.uiuc.edu> References: <20110428192205.CQJ76020@expms1.cites.uiuc.edu> Message-ID: <9D63492C-A6E4-444A-A96B-E50577080B8A@musiccitymetals.net> thanks. I'll have a look. ________________________________________________________________ On Apr 28, 2011, at 7:22 PM, David Thompson wrote: > You might want to look at the COPYFILE custom statement. Don't worry about the buffersize parameter. It's optional. On Windows it defaults to 100,000 bytes, and it's ignored completely on a Mac. > > Dave. > ---- Original message ---- >> Date: Thu, 28 Apr 2011 11:17:21 -0500 >> From: Sam Rutherford >> Subject: Re: applescript error >> To: "Panorama Questions Answers (Discussion)" >> >> I tried your variant and a lot like it without success, although sometimes I got an 'event handler failed' error instead of a "can't set" error. >> >> I'm very new to applescript. I've written three that work. Well two, since this one seems to have quit working. I'm beginning to believe you about bugs. >> >> Thanks anyway. I really appreciate your help. >> >> Sam >> ________________________________________________________________ >> >> On Apr 27, 2011, at 6:09 PM, Jeff Gold wrote: >> >>> Instead of this... >>> >>> tell application "Finder" >>> copy {file "Macintosh HD:work in progress:product management:photo project:item photos:00-00242.JPG"} to folder "Macintosh HD:Users:sam:Desktop:batch:" >>> end tell >>> >>> >>> Try this... >>> >>> tell application "Finder" >>> copy file "Macintosh HD:work in progress:product management:photo project:item photos:00-00242.JPG" to folder ("Macintosh HD:Users:sam:Desktop:batch" as alias) >>> end tell >>> >>> >>> The new variant works fine on my system here. >>> >>> I use lots of Applescripts triggered from Panorama, and I usually figure things about by trial and error, and copying portions of other scripts I find by searching the Internet. >>> >>> Beware, Applescript has *LOTS* of bugs in it. If you work around those bugs it is very useful. I do, and use it all the time. >>> >>> Good luck with that, >>> >>> - Jeff >>> _______________________________________________ >>> Qna mailing list >>> Qna at provue.com >>> http://provue.com/mailman/listinfo/qna >>> >> >> ________________________________________________________________ >> Sam Rutherford >> Music City Metals >> 615/255-4481 >> samrutherford at musiccitymetals.net >> >> >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > ________________________________________________________________ Sam Rutherford Music City Metals 615/255-4481 samrutherford at musiccitymetals.net From mylevelbest at gmail.com Fri Apr 29 08:45:23 2011 From: mylevelbest at gmail.com (David Groover) Date: Fri, 29 Apr 2011 11:45:23 -0400 Subject: How To Attach A Bundle In-Reply-To: <20110429065400.CQK03850@expms1.cites.uiuc.edu> References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> <4D99EF4C.40206@gmail.com> <4DB8C574.2000702@gmail.com> <20110427211456.CQI85207@expms1.cites.uiuc.edu> <4DB8D052.7030001@gmail.com> <20110427221827.CQI87251@expms1.cites.uiuc.edu> <4DBA25E8.8080805@gmail.com> <20110428223714.CQJ82280@expms1.cites.uiuc.edu> <4DBA910F.3040405@gmail.com> <20110429065400.CQK03850@expms1.cites.uiuc.edu> Message-ID: <4DBADD13.2040800@gmail.com> Thanks. One more question on this thread if I may? I don't think there is any way to have one script that will allow me to select a bundle (which is really a folder) or a file, is there? David G. David Thompson wrote: > Panorama has many characters that can be used to quote text. This allows you to quote the text with characters that do not appear in the text. The most recent addition to this list of quoting characters is the pipe. The special advantage of this character is that you can use a string of several consecutive pipes, and it will be treated as if it were a single quoting character, even if you have pipes in the text you want to quote, you can still use pipes to quote the text. You just have to use a longer string of pipes to quote the text, than you have in the text. For example: > > message |||{Hello} | "World"||| > > An AppleScript is liable to contain quotes around strings of text, and it's liable to contain braces around lists or records, so you want to use something else to quote the script itself. In the first example, which was my code, I chose to use pipes to do that. The pipes were being used to quote the text. They weren't part of the text. In your code, you put quotes around those pipes, and made them part of the text. Try these two examples. > > message |||Hello World||| > > and > > message "|||"+"Hello World"+"|||" > > Your code was similar to the second example. The pipes became part of the text. > > Dave > > ---- Original message ---- > >> Date: Fri, 29 Apr 2011 06:21:03 -0400 >> From: David Groover >> Subject: Re: How To Attach A Bundle >> To: "Panorama Questions Answers (Discussion)" >> >> Yes, that did it. Thanks. >> >> Can you help me understand the logic here? In the two examples >> I posted, the first worked using executeapplescript and then >> the enclosing pipes. I was thinking that if I loaded all the >> data correctly in a variable first (was was correct) then I >> would be essentially replacing everything that worked in the >> earlier example, save it was now all loaded in a variable. >> Where it was: >> >> ExecuteAppleScript ||| >> try .... >> >> Now it is: >> >> ExecuteAppleScript >> try .... >> >> The pipes and the earlier bracketed examples must be a pan >> specific way for setting the following string as text, but I >> am not clear on exactly why this is happening. Perhaps because >> I quoted each line separately in my script where I could have >> quoted larger sections, in which case the pipes would have >> made sense, again to the script, not for the Applescript's >> running. I think that's is right. >> >> Clarification? >> >> Thanks >> >> David G. >> >> > > >> lvGoScript = "|||" +P:+ >> "tell application " + {"} + "Finder"+ {"} +P:+ >> "try" +P:+ >> "set filepath to POSIX path of " + theFile +P:+ >> "set command to " + {"} + "open " + {"} + {&} + " quoted form >> of filepath" +P:+ >> "do shell script command" +P:+ >> "end try" +P:+ >> "end tell" +P:+ >> "|||" >> >> giantmessage lvGoScript >> ExecuteApplescript lvGoScript >> >> >> I'm on a PC again, so no testing, but I think this will work if you lose the triple pipes at the beginning and end. You are making those pipes part of the AppleScipt. You don't want the script to begin and end with those pipes. You want it to begin with >> >> tell application "Finder" >> >> and end with >> >> end tell >> >> >> Dave >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna >> >> >> ________________ >> _______________________________________________ >> Qna mailing list >> Qna at provue.com >> http://provue.com/mailman/listinfo/qna >> > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dthmpsn1 at illinois.edu Fri Apr 29 11:17:09 2011 From: dthmpsn1 at illinois.edu (David Thompson) Date: Fri, 29 Apr 2011 13:17:09 -0500 (CDT) Subject: How To Attach A Bundle In-Reply-To: <4DBADD13.2040800@gmail.com> References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> <4D99EF4C.40206@gmail.com> <4DB8C574.2000702@gmail.com> <20110427211456.CQI85207@expms1.cites.uiuc.edu> <4DB8D052.7030001@gmail.com> <20110427221827.CQI87251@expms1.cites.uiuc.edu> <4DBA25E8.8080805@gmail.com> <20110428223714.CQJ82280@expms1.cites.uiuc.edu> <4DBA910F.3040405@gmail.com> <20110429065400.CQK03850@expms1.cites.uiuc.edu> <4DBADD13.2040800@gmail.com> Message-ID: <20110429131709.CQK39377@expms1.cites.uiuc.edu> > Thanks. One more question on this thread if I may? I don't > think there is any way to have one script that will allow me > to select a bundle (which is really a folder) or a file, is > there? > > David G. You could use choose file, instead of choose folder and *don't* use the showing package contents option. The default is to treat bundles as files. If you use the showing package contents option, then it will be treated as a folder. Dave From mylevelbest at gmail.com Fri Apr 29 11:50:35 2011 From: mylevelbest at gmail.com (David Groover) Date: Fri, 29 Apr 2011 14:50:35 -0400 Subject: How To Attach A Bundle In-Reply-To: <20110429131709.CQK39377@expms1.cites.uiuc.edu> References: <4D988313.3010407@gmail.com> <4D98FFE2.40602@gmail.com> <56265A43-389B-49D2-B341-BDC45698D459@me.com> <4D99EF4C.40206@gmail.com> <4DB8C574.2000702@gmail.com> <20110427211456.CQI85207@expms1.cites.uiuc.edu> <4DB8D052.7030001@gmail.com> <20110427221827.CQI87251@expms1.cites.uiuc.edu> <4DBA25E8.8080805@gmail.com> <20110428223714.CQJ82280@expms1.cites.uiuc.edu> <4DBA910F.3040405@gmail.com> <20110429065400.CQK03850@expms1.cites.uiuc.edu> <4DBADD13.2040800@gmail.com> <20110429131709.CQK39377@expms1.cites.uiuc.edu> Message-ID: <4DBB087B.6040100@gmail.com> Awesome Dave, much thanks. David G. David Thompson wrote: >> Thanks. One more question on this thread if I may? I don't >> think there is any way to have one script that will allow me >> to select a bundle (which is really a folder) or a file, is >> there? >> >> David G. >> > > You could use choose file, instead of choose folder and *don't* use the showing package > contents option. The default is to treat bundles as files. If you use the showing package > contents option, then it will be treated as a folder. > > Dave > _______________________________________________ > Qna mailing list > Qna at provue.com > http://provue.com/mailman/listinfo/qna > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgallaghe at aol.com Fri Apr 29 10:23:30 2011 From: sgallaghe at aol.com (Steve Gallagher) Date: Fri, 29 Apr 2011 10:23:30 -0700 Subject: QNA forum search at ProVue.com Message-ID: <65095C75-CCCE-4501-9187-4EE2027637D0@aol.com> At http://provue.com/support/QNA/index.html there is an Advanced Search link under the search data entry box. When I click on it using Safari, nothing happens. When I click on it in Firefox, I get a blank page. With either browser, when I open the link in a new tab, the advanced search entry boxes show up. From kjmeyer at mac.com Sat Apr 30 00:49:50 2011 From: kjmeyer at mac.com (Kurt J. Meyer) Date: Sat, 30 Apr 2011 09:49:50 +0200 Subject: QNA forum search at ProVue.com In-Reply-To: <65095C75-CCCE-4501-9187-4EE2027637D0@aol.com> References: <65095C75-CCCE-4501-9187-4EE2027637D0@aol.com> Message-ID: It works, if you use the URL http://www.provue.com/support/QNA/index.html Kurt Am 29.04.2011 um 19:23 schrieb Steve Gallagher: > At http://provue.com/support/QNA/index.html there is an Advanced Search link under the search data entry box. > > When I click on it using Safari, nothing happens. > > When I click on it in Firefox, I get a blank page. > > With either browser, when I open the link in a new tab, the advanced search entry boxes show up. From conable.1 at osu.edu Sat Apr 30 17:23:51 2011 From: conable.1 at osu.edu (William Conable) Date: Sat, 30 Apr 2011 17:23:51 -0700 Subject: QNA forum search at ProVue.com In-Reply-To: <65095C75-CCCE-4501-9187-4EE2027637D0@aol.com> References: <65095C75-CCCE-4501-9187-4EE2027637D0@aol.com> Message-ID: <4DBCA817.5040406@osu.edu> An HTML attachment was scrubbed... URL: