Re: Semi-automatic Index generation?
Hi David, you might wish to discard the 1000 most frequently used words from your list: English: http://web1.d25.k12.id.us/home/curriculum/fuw.pdf German: http://german.about.com/library/blwfreq01.htm Another approach is statistical - take the whole text, sort words by their frequency (count) of appearance in the text. If you put them on a graph you would notice characteristic 'power law' distribution. Set the absolute or relative frequency or count value at which to cut the tail. This tail is what holds all the rare or interesting words of the text. For example if the text is large you may discard the first 500-1000 words in the list sorted by word count. All words that remain should be the ones that are more-less interesting. The easy way produce such a frequency list is by using arrays. The principle is like this: local arrayWords repeat for each word myWord in theText add 1 to arrayWords[myWord] end repeat now the keys are words and values are word counts in arrayWords. Best wishes Viktoras David Bovill wrote: Is there a resource/ index that any one knows of for plain uninteresting dull words. I want to take arbitrary chunks of text and search for interesting words - that is domain specific words that might be useful to links to create dictionary entries. This would mean creating a list of words and stripping the it etc. I am imagining it working like a spelling dictionary with the ability to manually edit entries - but I'd like a good starting list? Not sure what to search for :) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to intercept iconifyStack (OS X)
Hiya, Send white noise to the left speaker for 0.5 seconds. It ought to distract them long enough. Cheers, Luis. On 31 Jul 2008, at 04:33, Sarah Reichelt wrote: Hi All, I want to program a custom effect when the iconify button is clicked, like iTunes where you can have it going to a mini window instead of down into the Dock. I've programmed it all and it works fine, showing the mini window and hiding the usual window. The problem is that I can't stop the original window moving down into the Dock first, THEN my script happens. It hides the original window which removes it from the Dock. I don't really care except visually - I don't want it to look as if the window is going to the Dock, then disappearing. I've tried lock screen lock messages, but nothing stops this. Does anyone have any ideas (apart from crafting my own title bar and scripting the red, orange green blobs myself). Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Semi-automatic Index generation?
Thanks for the tips! 2008/7/31 viktoras didziulis [EMAIL PROTECTED] Hi David, you might wish to discard the 1000 most frequently used words from your list: English: http://web1.d25.k12.id.us/home/curriculum/fuw.pdf German: http://german.about.com/library/blwfreq01.htm Another approach is statistical - take the whole text, sort words by their frequency (count) of appearance in the text. If you put them on a graph you would notice characteristic 'power law' distribution. Set the absolute or relative frequency or count value at which to cut the tail. This tail is what holds all the rare or interesting words of the text. For example if the text is large you may discard the first 500-1000 words in the list sorted by word count. All words that remain should be the ones that are more-less interesting. The easy way produce such a frequency list is by using arrays. The principle is like this: local arrayWords repeat for each word myWord in theText add 1 to arrayWords[myWord] end repeat now the keys are words and values are word counts in arrayWords. Best wishes Viktoras David Bovill wrote: Is there a resource/ index that any one knows of for plain uninteresting dull words. I want to take arbitrary chunks of text and search for interesting words - that is domain specific words that might be useful to links to create dictionary entries. This would mean creating a list of words and stripping the it etc. I am imagining it working like a spelling dictionary with the ability to manually edit entries - but I'd like a good starting list? Not sure what to search for :) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Shock: strange unheard of message path behaviour???
This is a subtle but basic question about how referencing a control works in Revolution. Maybe I've got something obvious wrong but i can't figure... Take this simple dummy handler as an example: getprop image_Name put the short name of the target into imageName return the name of image imageName end image_Name OK - it does nothig usefull, but its just an example. As it references an image by its *short* name, and therefore should only work when it is within the same stack as the image. For instance if the images name in question is Test Image then: on mouseUp put the name of image Test Image end mouseUp would work in a button within the same stack as the image, but would fail in a button in a different stack. So far so good. The surprise I got was with when I put the following script on in a button in a different stack from the image: on mouseUp put the image_Name of image 1 of stack Image end mouseUp getprop image_Name put the short id of the target into imageObjectID return the name of image id imageObjectID end image_Name It works??? This is a blank fresh stack. Not a library. The image is also in a fresh stack called Image with a single image on it. There is nothing fishy going on that I can tell. It works with short ids, or with the scripts moved around to the card script for instance. Something strange is going on with the message paths here - can anyone elaborate? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Shock: strange unheard of message path behaviour???
I'd expect it to work, since you're using of stack image, which means that the target includes the stack reference. Best, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Shock: strange unheard of message path behaviour???
Lets look at what the script is doing in detail. Take an even simpler example using names instead of short ids. getprop image_Name put the short name of the target into imageName -- Test Image return the name of image imageName end image_Name Now this script is in a fresh stack Test Button with nothing but the button and no image. There is another stack Test Image with the image in it. In the debugger you can see tha the last line of code translates to: the name of image Test Image and as this script is in a stack with no such image it should fail. Really it should fail - there is no image Test Image in stack Test Button I think what must be happening is that the act of setting a property changes the default stack? Will test 2008/7/31 Mark Smith [EMAIL PROTECTED] I'd expect it to work, since you're using of stack image, which means that the target includes the stack reference. Best, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Shock: strange unheard of message path behaviour???
OK - figured it. Yes setting a property of an object in another stack changes the defaultstack to the stack the object is in. In my case the getprop handler was in a used library (my mistake forgot to delete it when testing) - so it get called but in the context of the new defaultstack with the image in. Solved and learned something useful - setting a property works just like sending a message with regard to message paths. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Standalone - Using stack as DB
I have a main stack with 2 sub stacks. I use the sub stacks as a db, flipping through the cards and saving them on changes. Now when making a standalone, the save does not save the sub-stack data. What is the best way to use substacks for data? Thanks ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Standalone - Using stack as DB
Bonjour Bert, Le 31 juil. 08 à 16:24, Bert Shuler a écrit : I have a main stack with 2 sub stacks. I use the sub stacks as a db, flipping through the cards and saving them on changes. Now when making a standalone, the save does not save the sub-stack data. What is the best way to use substacks for data? I assume that you did not check the 'Move substacks into individual stackfiles' box in the stacks pane of Standalone Application Settings. For this reason, your substacks are part of the app and a app can be saved. You can only save a stack that is not included in your app. Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Standalone - Using stack as DB
That seems to have done it! Thanks so much. On Jul 31, 2008, at 10:44 AM, Eric Chatonet wrote: Bonjour Bert, Le 31 juil. 08 à 16:24, Bert Shuler a écrit : I have a main stack with 2 sub stacks. I use the sub stacks as a db, flipping through the cards and saving them on changes. Now when making a standalone, the save does not save the sub-stack data. What is the best way to use substacks for data? I assume that you did not check the 'Move substacks into individual stackfiles' box in the stacks pane of Standalone Application Settings. For this reason, your substacks are part of the app and a app can be saved. You can only save a stack that is not included in your app. Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Standalone - Using stack as DB
Bert Shuler wrote: I have a main stack with 2 sub stacks. I use the sub stacks as a db, flipping through the cards and saving them on changes. Now when making a standalone, the save does not save the sub-stack data. What is the best way to use substacks for data? As Eric noted, applications cannot modify themselves at runtime, so you'll want to break out any savable data stacks into a separate stack file. For more info on saving data in standalones, Sarah Reichelt has written a very helpful tutorial on this at revJournal.com: http://www.revjournal.com/tutorials/saving_data_in_revolution.html -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Standalone - Using stack as DB
Bonsoir à tous, Le 31 juil. 08 à 17:03, Richard Gaskin a écrit : Bert Shuler wrote: I have a main stack with 2 sub stacks. I use the sub stacks as a db, flipping through the cards and saving them on changes. Now when making a standalone, the save does not save the sub-stack data. What is the best way to use substacks for data? As Eric noted, applications cannot modify themselves at runtime, so you'll want to break out any savable data stacks into a separate stack file. Actually, I never save any stack that is a part of any application package. I always prefer to use externals files (text, xml, database, etc.) to save user's data or his preferences. And for stacks designed to run in the IDE (plugins, utilities) I create a custom propertyset in revpreferences stack. This ensures that files I have created can't be corrupted in any case :-) Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Standalone - Using stack as DB
Sorry: I should have added that this way of doing never mix any line of code with user's data in the same file. And I think it important. Le 31 juil. 08 à 17:23, Eric Chatonet a écrit : Bonsoir à tous, Le 31 juil. 08 à 17:03, Richard Gaskin a écrit : Bert Shuler wrote: I have a main stack with 2 sub stacks. I use the sub stacks as a db, flipping through the cards and saving them on changes. Now when making a standalone, the save does not save the sub- stack data. What is the best way to use substacks for data? As Eric noted, applications cannot modify themselves at runtime, so you'll want to break out any savable data stacks into a separate stack file. Actually, I never save any stack that is a part of any application package. I always prefer to use externals files (text, xml, database, etc.) to save user's data or his preferences. And for stacks designed to run in the IDE (plugins, utilities) I create a custom propertyset in revpreferences stack. This ensures that files I have created can't be corrupted in any case :-) Best regards from Paris, Eric Chatonet. Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: [EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Standalone on CD Path Issues
Hello all, Is there any good tutorials on dealing with path issues for a standalone on mac and windows from a CD or DVD? I have worked through this once in the past but for the life of me I can't remember what needs done. I know there was an issue with a CD and windows and something about not putting things at the root level If there are not any tutorials then I will track it down on my own like last time but I was hoping there was a recipe: It should include Mac, Windows, Linux and external libraries and external image folders and or sound folders. It should include folder placement, external placement, and maybe icon and installer issues. Anyway, the DVD I burned works on Mac but on WIndows it will not find the external images and sounds for the stack and it will not load the external libraries from the Standalone process. RR puts them in a folder called Externals but they are not loaded. This seems such a common if not often issue that a set of scripts and folder placement should be rather standard. Thanks in advance Tom McGrath ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to intercept iconifyStack (OS X)
On Jul 30, 2008, at 9:33 PM, Sarah Reichelt wrote: Hi All, I want to program a custom effect when the iconify button is clicked, like iTunes where you can have it going to a mini window instead of down into the Dock. I've programmed it all and it works fine, showing the mini window and hiding the usual window. The problem is that I can't stop the original window moving down into the Dock first, THEN my script happens. It hides the original window which removes it from the Dock. Hi Sarah, Don't you want to handle a click on the zoom (green +) button rather than the minimize button? That's what iTunes uses to switch to the mini window. When I checked the message watcher while clicking the zoom button, the cREVgeometryCache and the cREVGeometry properties get set, then resizeStack and moveStack messages are sent. I don't know whether you can prevent the automatic zoom behavior by intercepting them, however. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Semi-automatic Index generation?
On Jul 31, 2008, at 2:12 AM, viktoras didziulis wrote: Hi David, you might wish to discard the 1000 most frequently used words from your list: English: http://web1.d25.k12.id.us/home/curriculum/fuw.pdf German: http://german.about.com/library/blwfreq01.htm Another approach is statistical - take the whole text, sort words by their frequency (count) of appearance in the text. If you put them on a graph you would notice characteristic 'power law' distribution. Set the absolute or relative frequency or count value at which to cut the tail. This tail is what holds all the rare or interesting words of the text. For example if the text is large you may discard the first 500-1000 words in the list sorted by word count. All words that remain should be the ones that are more-less interesting. The easy way produce such a frequency list is by using arrays. The principle is like this: local arrayWords repeat for each word myWord in theText add 1 to arrayWords[myWord] end repeat now the keys are words and values are word counts in arrayWords. Slick, and so simple. This is going into my script library. Thanks, Viktoras! Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Vista 64 bit edition compatibility
Anyone know if Rev will run on Vista 64 bit edition? Thanks. Mark Talluto http://www.canelasoftware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: list of USB drivers
Hi JB, Try this: http://pdslabs.net/stacks/libUsbDrive.rev.zip It uses system_profiler on the Mac to get drive info, but presents it more succinctly. Phil Davis -= JB =- wrote: This will provide some info about the USB on Mac OS X; on mouseUp put shell(system_profiler SPUSBDataType) into tProfile put tProfile end mouseUp -=JB=- On Jul 30, 2008, at 5:13 PM, -= JB =- wrote: Maybe that is not the answer. I found out it shows network all the time when I use put the volumes. So how do I identify a list of USB devices? -=JB=- On Jul 30, 2008, at 5:08 PM, -= JB =- wrote: Here is the answer: put the volumes -=JB=- On Jul 30, 2008, at 5:02 PM, -= JB =- wrote: I realize my question below was not asked properly because I should have said USB devices and not drivers. Use the open driver command to communicate with usb devices, devices attached to a serial port other than the modem and printer port, and other peripheral devices. I would like to know how to find the names of USB devices hooked up to my computer. -=JB=- On Jul 30, 2008, at 4:18 PM, -= JB =- wrote: I can get a list of the available serial drivers by using the driverNames. How do I get a list of USB drivers? -=JB=- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to intercept iconifyStack (OS X)
I want to program a custom effect when the iconify button is clicked, like iTunes where you can have it going to a mini window instead of down into the Dock. I've programmed it all and it works fine, showing the mini window and hiding the usual window. The problem is that I can't stop the original window moving down into the Dock first, THEN my script happens. It hides the original window which removes it from the Dock. Hi Sarah, Don't you want to handle a click on the zoom (green +) button rather than the minimize button? That's what iTunes uses to switch to the mini window. When I checked the message watcher while clicking the zoom button, the cREVgeometryCache and the cREVGeometry properties get set, then resizeStack and moveStack messages are sent. I don't know whether you can prevent the automatic zoom behavior by intercepting them, however. Thanks Devin, I guess I do need to check for the green button, but as there was already a system message for the orange button I thought that would be easier. However I'll have a play around with the messages and properties you suggest and see what I can do. Luis's suggestion made me laugh, but I'm not sure that I want to irritate everyone like that. However I'm quite sure it would work as a distraction :-) Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Database Query Builder
Is the Database Query Builder designed to be used only within the IDE, or can its functionality be exported into a standalone application (as a sort of core for a stack -- standalone)? Sorry if this is a FAQ; I haven't fully explored this area of Revolution yet. -Kurt ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
OT Attempting to troubleshoot my connection to this list
Sorry for the intrude. My connection to the list broke and I'm attempting to repair it. Even mailing the listmom failed, assuming that email to me didn't come thru either. I miss you guys! Shari -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: list of USB drivers
Hi Phil, I tried it and when I click the button to list the USB drives the field on the left gets a blue selection line at the top and nothing else happens. In fact it was your code to list the USB3 devices in the Scripter's Scrapbook that I got the shell command from. That code would not work for me either. I have Mac OS X 10.4.11 on a G4 AGP. thanks, if you know how to fix it I would be interested. Another thing. do you know how to access a USB device with only the info it gets. How do you properly write the line to access it. I know when I list the drivers I have a keyspan serial and the info the system profiler provides is not the same as if I list the drivers. I am pretty sure I need to use the info from listing the drivers. Is the thing it needs to show as a volume or be listed with the drivers to be able to access a USB device that shows up? -=JB=- On Jul 31, 2008, at 3:48 PM, Phil Davis wrote: Hi JB, Try this: http://pdslabs.net/stacks/libUsbDrive.rev.zip It uses system_profiler on the Mac to get drive info, but presents it more succinctly. Phil Davis -= JB =- wrote: This will provide some info about the USB on Mac OS X; on mouseUp put shell(system_profiler SPUSBDataType) into tProfile put tProfile end mouseUp -=JB=- On Jul 30, 2008, at 5:13 PM, -= JB =- wrote: Maybe that is not the answer. I found out it shows network all the time when I use put the volumes. So how do I identify a list of USB devices? -=JB=- On Jul 30, 2008, at 5:08 PM, -= JB =- wrote: Here is the answer: put the volumes -=JB=- On Jul 30, 2008, at 5:02 PM, -= JB =- wrote: I realize my question below was not asked properly because I should have said USB devices and not drivers. Use the open driver command to communicate with usb devices, devices attached to a serial port other than the modem and printer port, and other peripheral devices. I would like to know how to find the names of USB devices hooked up to my computer. -=JB=- On Jul 30, 2008, at 4:18 PM, -= JB =- wrote: I can get a list of the available serial drivers by using the driverNames. How do I get a list of USB drivers? -=JB=- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
OT One more attempt...
Please ignore. I've changed my filters in hopes of getting messages again, and nobody is posting for me to test it, so here I am Shari -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: OT One more attempt...
Hi Shari, Hope this helps. Joe Wilkins On Jul 31, 2008, at 7:02 PM, Shari wrote: Please ignore. I've changed my filters in hopes of getting messages again, and nobody is posting for me to test it, so here I am Shari -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Thanks, Joe
Still not working. You guys are getting me but I'm not receiving. My filters have every known version of Rev in it to accept, but no go. I'm totally baffled. At least I know I can post a question and troll the archives for answers :-) Shari -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: list of USB drivers
Hi JB, -= JB =- wrote: Hi Phil, I tried it and when I click the button to list the USB drives the field on the left gets a blue selection line at the top and nothing else happens. That means the library didn't find any mounted USB mass storage devices. In fact it was your code to list the USB3 devices in the Scripter's Scrapbook that I got the shell command from. That code would not work for me either. I have Mac OS X 10.4.11 on a G4 AGP. thanks, if you know how to fix it I would be interested. Another thing. do you know how to access a USB device with only the info it gets. Not really, unless the volume name is included in the library output. How do you properly write the line to access it. I know when I list the drivers I have a keyspan serial and the info the system profiler provides is not the same as if I list the drivers. I am pretty sure I need to use the info from listing the drivers. Is the thing it needs to show as a volume or be listed with the drivers to be able to access a USB device that shows up? -=JB=- Drivers are useful if you're trying to interact with a USB communications class device (like a USB board that controls some external machine or process), but not if you want to read/write data to/from a USB mass storage device. Some USB mass storage devices (specifically some digital cameras) use Picture Transfer Protocol (PTP) to transfer images to computers; devices that use PTP don't show up in Revs the volumes list. Here's a function based on one written by Dar Scott Ken Ray a few years ago. It will give you more info about available drivers than driverNames(). I use it to detect what USB communications class devices are connected. Maybe it will help. Watch for line wraps! function deviceNames switch the platform case MacOS return _macDeviceNames() break default answer Not supported. exit to top break end switch end deviceNames function _macDeviceNames local theNames=, ioregOutput, skipLines, temp local IOTTYDevice, IODialinDevice, IOCalloutDevice set the hideConsoleWindows to true put shell(ioreg -n IOSerialBSDClient) into ioregOutput repeat forever put lineOffset(IOSerialBSDCLient,ioregOutput) into skipLines if skipLines is zero then return thenames delete line 1 to skipLines of ioregOutput -- Get all the data between the braces put char(offset({,ioregOutput)) to (offset(},ioregOutput)) of ioregOutput into temp get matchText(temp,\IOTTYDevice\ = \(.*?)\,IOTTYDevice) if it is not true then next repeat get matchText(temp,\IODialinDevice\ = \(.*?)\,IODialinDevice) if it is not true then next repeat get matchText(temp,\IOCalloutDevice\ = \(.*?)\,IOCalloutDevice) if it is not true then next repeat put IOTTYDevice,IODialinDevice,IOCalloutDevice lineFeed after theNames end repeat end _macDeviceNames On Jul 31, 2008, at 3:48 PM, Phil Davis wrote: Hi JB, Try this: http://pdslabs.net/stacks/libUsbDrive.rev.zip It uses system_profiler on the Mac to get drive info, but presents it more succinctly. Phil Davis -= JB =- wrote: This will provide some info about the USB on Mac OS X; on mouseUp put shell(system_profiler SPUSBDataType) into tProfile put tProfile end mouseUp -=JB=- On Jul 30, 2008, at 5:13 PM, -= JB =- wrote: Maybe that is not the answer. I found out it shows network all the time when I use put the volumes. So how do I identify a list of USB devices? -=JB=- On Jul 30, 2008, at 5:08 PM, -= JB =- wrote: Here is the answer: put the volumes -=JB=- On Jul 30, 2008, at 5:02 PM, -= JB =- wrote: I realize my question below was not asked properly because I should have said USB devices and not drivers. Use the open driver command to communicate with usb devices, devices attached to a serial port other than the modem and printer port, and other peripheral devices. I would like to know how to find the names of USB devices hooked up to my computer. -=JB=- On Jul 30, 2008, at 4:18 PM, -= JB =- wrote: I can get a list of the available serial drivers by using the driverNames. How do I get a list of USB drivers? -=JB=- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: list of USB drivers
Hi again, One more thing: Sarah Reichelt uses Keyspan adapters, and has put together a very helpful tip sheet about interacting with such things from within Rev. I made her tips into a PDF which is here: http://www.pdslabs.net/usb/rev-usb1.pdf HTH - Phil Phil Davis wrote: Hi JB, -= JB =- wrote: Hi Phil, I tried it and when I click the button to list the USB drives the field on the left gets a blue selection line at the top and nothing else happens. That means the library didn't find any mounted USB mass storage devices. In fact it was your code to list the USB3 devices in the Scripter's Scrapbook that I got the shell command from. That code would not work for me either. I have Mac OS X 10.4.11 on a G4 AGP. thanks, if you know how to fix it I would be interested. Another thing. do you know how to access a USB device with only the info it gets. Not really, unless the volume name is included in the library output. How do you properly write the line to access it. I know when I list the drivers I have a keyspan serial and the info the system profiler provides is not the same as if I list the drivers. I am pretty sure I need to use the info from listing the drivers. Is the thing it needs to show as a volume or be listed with the drivers to be able to access a USB device that shows up? -=JB=- Drivers are useful if you're trying to interact with a USB communications class device (like a USB board that controls some external machine or process), but not if you want to read/write data to/from a USB mass storage device. Some USB mass storage devices (specifically some digital cameras) use Picture Transfer Protocol (PTP) to transfer images to computers; devices that use PTP don't show up in Revs the volumes list. Here's a function based on one written by Dar Scott Ken Ray a few years ago. It will give you more info about available drivers than driverNames(). I use it to detect what USB communications class devices are connected. Maybe it will help. Watch for line wraps! function deviceNames switch the platform case MacOS return _macDeviceNames() break default answer Not supported. exit to top break end switch end deviceNames function _macDeviceNames local theNames=, ioregOutput, skipLines, temp local IOTTYDevice, IODialinDevice, IOCalloutDevice set the hideConsoleWindows to true put shell(ioreg -n IOSerialBSDClient) into ioregOutput repeat forever put lineOffset(IOSerialBSDCLient,ioregOutput) into skipLines if skipLines is zero then return thenames delete line 1 to skipLines of ioregOutput -- Get all the data between the braces put char(offset({,ioregOutput)) to (offset(},ioregOutput)) of ioregOutput into temp get matchText(temp,\IOTTYDevice\ = \(.*?)\,IOTTYDevice) if it is not true then next repeat get matchText(temp,\IODialinDevice\ = \(.*?)\,IODialinDevice) if it is not true then next repeat get matchText(temp,\IOCalloutDevice\ = \(.*?)\,IOCalloutDevice) if it is not true then next repeat put IOTTYDevice,IODialinDevice,IOCalloutDevice lineFeed after theNames end repeat end _macDeviceNames On Jul 31, 2008, at 3:48 PM, Phil Davis wrote: Hi JB, Try this: http://pdslabs.net/stacks/libUsbDrive.rev.zip It uses system_profiler on the Mac to get drive info, but presents it more succinctly. Phil Davis -= JB =- wrote: This will provide some info about the USB on Mac OS X; on mouseUp put shell(system_profiler SPUSBDataType) into tProfile put tProfile end mouseUp -=JB=- On Jul 30, 2008, at 5:13 PM, -= JB =- wrote: Maybe that is not the answer. I found out it shows network all the time when I use put the volumes. So how do I identify a list of USB devices? -=JB=- On Jul 30, 2008, at 5:08 PM, -= JB =- wrote: Here is the answer: put the volumes -=JB=- On Jul 30, 2008, at 5:02 PM, -= JB =- wrote: I realize my question below was not asked properly because I should have said USB devices and not drivers. Use the open driver command to communicate with usb devices, devices attached to a serial port other than the modem and printer port, and other peripheral devices. I would like to know how to find the names of USB devices hooked up to my computer. -=JB=- On Jul 30, 2008, at 4:18 PM, -= JB =- wrote: I can get a list of the available serial drivers by using the driverNames. How do I get a list of USB drivers? -=JB=- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: