From herdenkerry6 at gmail.com Mon Mar 9 01:03:44 2015 From: herdenkerry6 at gmail.com (Kerry Herden) Date: Mon Mar 9 01:03:46 2015 Subject: [Newbies] recipe book Message-ID: ?I would like some information as to how to go about setting up a collection of recipes which are in present form hand written, cut from news papers,photos and various other sizes.* I have a photo scannerbut am unsure as to how to manage this task. Any help would be gratefully accepted.* * Thank You * *Kerry* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20150309/a898edbd/attachment.htm From overcomer.man at gmail.com Mon Mar 9 02:52:08 2015 From: overcomer.man at gmail.com (Kirk Fraser) Date: Mon Mar 9 02:52:11 2015 Subject: [Newbies] recipe book In-Reply-To: References: Message-ID: Kerry, My suggestion depends on what you want as a result and my limited knowledge of what Squeak can do. One way is to scan each item into a separate file, JPEG format. Then you can use Squeak file browser to access the collection of file names. Click on open and it will display the .jpg file. Going more complicated is probably best addressed by someone else. Kirk W. Fraser w ww.JesusGospelChurch.com - Replace the fraud churches with the true church. http://freetom.info - Example of False Justice common in America On Sun, Mar 8, 2015 at 6:03 PM, Kerry Herden wrote: > I would like some information as to how to go about setting up a > collection of recipes which are in present form hand written, cut from news > papers,photos and various other sizes.* I have a photo scannerbut am > unsure as to how to manage this task. Any help would be gratefully > accepted.* > * Thank You * > *Kerry* > > _______________________________________________ > Beginners mailing list > Beginners@lists.squeakfoundation.org > http://lists.squeakfoundation.org/mailman/listinfo/beginners > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20150308/1db8bc5b/attachment.htm From overcomer.man at gmail.com Mon Mar 9 13:48:35 2015 From: overcomer.man at gmail.com (Kirk Fraser) Date: Mon Mar 9 13:48:38 2015 Subject: [Newbies] recipe book In-Reply-To: References: Message-ID: Kerry, If you would like to access your recipes by various tags like major ingredients, characteristics like carbohydrates, protein content or low salt, calories per ounce, what meal they are for breakfast, lunch, dinner, then you can define a Dictionary or OrderedCollection to hold the scanned file names and their tags, then you can write a an access program to search the list for the tags you are looking for. Then you can write a custom interface. Depending on the size of your scanned recipe collection, you can read them in to your dictionary directly and keep them in the Squeak image. Kirk W. Fraser w ww.JesusGospelChurch.com - Replace the fraud churches with the true church. http://freetom.info - Example of False Justice common in America On Sun, Mar 8, 2015 at 7:52 PM, Kirk Fraser wrote: > Kerry, > > My suggestion depends on what you want as a result and my limited > knowledge of what Squeak can do. One way is to scan each item into a > separate file, JPEG format. Then you can use Squeak file browser to access > the collection of file names. Click on open and it will display the .jpg > file. Going more complicated is probably best addressed by someone else. > > > > > > > > Kirk W. Fraser > w ww.JesusGospelChurch.com > - Replace the fraud churches with the > true church. > http://freetom.info - Example of False Justice common in America > > On Sun, Mar 8, 2015 at 6:03 PM, Kerry Herden > wrote: > >> I would like some information as to how to go about setting up a >> collection of recipes which are in present form hand written, cut from news >> papers,photos and various other sizes.* I have a photo scannerbut am >> unsure as to how to manage this task. Any help would be gratefully >> accepted.* >> * Thank You * >> *Kerry* >> >> _______________________________________________ >> Beginners mailing list >> Beginners@lists.squeakfoundation.org >> http://lists.squeakfoundation.org/mailman/listinfo/beginners >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20150309/ce2cef9b/attachment.htm From jgr.asselin at me.com Fri Mar 27 14:57:51 2015 From: jgr.asselin at me.com (Raymond Asselin) Date: Fri Mar 27 14:58:19 2015 Subject: [Newbies] Help needed Message-ID: <0776FFBB-7E56-48D2-B609-5E42A1EFFFAB@me.com> I get an app that I made in Squeak. I would like to print the content of some OrderedCollection but don't know how to do that. I thought to us a FileStream but never worked with Stream before any clue or reference is welcome. My objectif is to print a list of my orderedCollection. I want a hard copy... Raymond Asselin From unoduetre at poczta.onet.pl Fri Mar 27 15:42:00 2015 From: unoduetre at poczta.onet.pl (Mateusz Grotek) Date: Fri Mar 27 15:13:13 2015 Subject: [Newbies] Help needed In-Reply-To: <0776FFBB-7E56-48D2-B609-5E42A1EFFFAB@me.com> (from jgr.asselin@me.com on Fri Mar 27 15:57:51 2015) References: <0776FFBB-7E56-48D2-B609-5E42A1EFFFAB@me.com> Message-ID: <1427470920.3567.2@mglap> Dnia 27.03.2015 15:57:51, Raymond Asselin napisa?(a): > I get an app that I made in Squeak. I would like to print the content > of some OrderedCollection but don't know how to do that. > I thought to us a FileStream but never worked with Stream before any > clue or reference is welcome. > My objectif is to print a list of my orderedCollection. I want a hard > copy... > It depends on what you mean by printing. Normally you print to Transcript. Just open the Transcript window from the Tools menu and do: Transcript showln: collection. Does it solve your problem? From herbertkoenig at gmx.net Fri Mar 27 15:13:40 2015 From: herbertkoenig at gmx.net (=?windows-1252?Q?Herbert_K=F6nig?=) Date: Fri Mar 27 15:13:41 2015 Subject: [Newbies] Help needed In-Reply-To: <0776FFBB-7E56-48D2-B609-5E42A1EFFFAB@me.com> References: <0776FFBB-7E56-48D2-B609-5E42A1EFFFAB@me.com> Message-ID: <551573A4.10707@gmx.net> Hi Raymond, the easy part is: |file| file := StandardFileStream forceNewFileNamed: 'yourFilename'. file nextPutAll: 'your collections contents as a String' file close. The hard part is how to print your collection (and if necessary its elements) as a string. You add to the stream with file nextPut: for single charcters or nextPutAll: for Strings. You'd need to give some details about your collection for more help. Cheers, Herbert Am 27.03.2015 um 15:57 schrieb Raymond Asselin: > I get an app that I made in Squeak. I would like to print the content of some OrderedCollection but don't know how to do that. > I thought to us a FileStream but never worked with Stream before any clue or reference is welcome. > My objectif is to print a list of my orderedCollection. I want a hard copy... > > Raymond Asselin_______________________________________________ > Beginners mailing list > Beginners@lists.squeakfoundation.org > http://lists.squeakfoundation.org/mailman/listinfo/beginners From overcomer.man at gmail.com Fri Mar 27 15:20:19 2015 From: overcomer.man at gmail.com (Kirk Fraser) Date: Fri Mar 27 15:20:22 2015 Subject: [Newbies] Help needed In-Reply-To: <0776FFBB-7E56-48D2-B609-5E42A1EFFFAB@me.com> References: <0776FFBB-7E56-48D2-B609-5E42A1EFFFAB@me.com> Message-ID: A common way is to write your own print method, so it will print as you want it anywhere, whether you send it to the Transcript or as a result in a work space. Example: printOn: aStream aStream nextPutAll: 'My result = ', result printString, ' data = ', data variable. Kirk W. Fraser w ww.JesusGospelChurch.com - Replace the fraud churches with the true church. http://freetom.info - Example of False Justice common in America On Fri, Mar 27, 2015 at 7:57 AM, Raymond Asselin wrote: > I get an app that I made in Squeak. I would like to print the content of > some OrderedCollection but don't know how to do that. > I thought to us a FileStream but never worked with Stream before any clue > or reference is welcome. > My objectif is to print a list of my orderedCollection. I want a hard > copy... > > Raymond Asselin_______________________________________________ > Beginners mailing list > Beginners@lists.squeakfoundation.org > http://lists.squeakfoundation.org/mailman/listinfo/beginners > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20150327/b41552cc/attachment.htm From jgr.asselin at me.com Fri Mar 27 16:03:18 2015 From: jgr.asselin at me.com (Raymond Asselin) Date: Fri Mar 27 16:03:38 2015 Subject: [Newbies] Help needed In-Reply-To: References: <0776FFBB-7E56-48D2-B609-5E42A1EFFFAB@me.com> Message-ID: This is a Maui UI Herbert K?nig said: "You'd need to give some details about your collection for more help." So it is: When i select 'fileOutMedicaments' , I want to produce a text file that I can print with a printer. And the content would be the 'sortedMedicaments' list. I don't want to print to Transcript. It is easy to export in graphic format but I want a text file?At least something I can open in a text editor an say "Print"?to get hard copy. So the content is : #date, #temps, #nom, #commentaire. -------------- next part -------------- Skipped content of type multipart/related From unoduetre at poczta.onet.pl Fri Mar 27 16:48:21 2015 From: unoduetre at poczta.onet.pl (Mateusz Grotek) Date: Fri Mar 27 16:20:10 2015 Subject: [Newbies] Help needed In-Reply-To: (from jgr.asselin@me.com on Fri Mar 27 17:03:18 2015) References: <0776FFBB-7E56-48D2-B609-5E42A1EFFFAB@me.com> Message-ID: <1427474901.3567.3@mglap> > At least something I can open in a text editor an say "Print"?to get > hard copy. You have three options: 1. To create a normal text file (.txt) 2. To create a PostScript file (.ps) 3. To create an image (.jpg or .png) Please choose one. :-) P.S. PostScript files can be printed directly in Linux. In Windows it depends on your printer. If it supports PostScript you can send it directly, if not you need some software, like GhostScript. From jgr.asselin at me.com Fri Mar 27 16:26:20 2015 From: jgr.asselin at me.com (Raymond Asselin) Date: Fri Mar 27 16:26:30 2015 Subject: [Newbies] Help needed In-Reply-To: <1427474901.3567.3@mglap> References: <0776FFBB-7E56-48D2-B609-5E42A1EFFFAB@me.com> <1427474901.3567.3@mglap> Message-ID: Thanks to everybody, with your hints I came with a solution which satisfies me. It's done now Again thanks > Le 2015-03-27 ? 12:48, Mateusz Grotek a ?crit : > >> At least something I can open in a text editor an say "Print"?to get hard copy. > > You have three options: > 1. To create a normal text file (.txt) > 2. To create a PostScript file (.ps) > 3. To create an image (.jpg or .png) > > Please choose one. :-) > > P.S. > PostScript files can be printed directly in Linux. In Windows it depends on your printer. If it supports PostScript you can send it directly, if not you need some software, like GhostScript. > _______________________________________________ > Beginners mailing list > Beginners@lists.squeakfoundation.org > http://lists.squeakfoundation.org/mailman/listinfo/beginners