Re: How do you get the name of an open saved file in memory using message box?
On 14.06.10 at 07:38 -0700 charles61 apparently wrote: Hi Sarah, The user does not get the file by selecting ti. In this situation, 1. The user creates a new file and populates the file 2. Then saves the file abc. 3. User decides to make a change in the file. 4. The user opens a new file without saving the changes to file abc. This is where I want to get a dialog asking the User to save file abc or disregard the last changes made and start a new file. Charles Szasz csz...@mac.com Your script that handles step 2 gets the file name from the user. You just need to preserve it to use in 4. To save a new file, you must be using the ask file dialog. It returns the path to the file in it. Filename is the last item of the path. Robert ___ 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 do you get the name of an open saved file in memory using message box?
Hi Sarah, The user does not get the file by selecting ti. In this situation, 1. The user creates a new file and populates the file 2. Then saves the file abc. 3. User decides to make a change in the file. 4. The user opens a new file without saving the changes to file abc. This is where I want to get a dialog asking the User to save file abc or disregard the last changes made and start a new file. Charles Szasz csz...@mac.com On Jun 13, 2010, at 6:02 AM, Sarah Reichelt-2 [via Runtime Revolution] wrote: The question is how do you get the name of the file that is opened from a script to save in a variable. This is what I been unable to do. How do you open the file? Do you get the user to select a file using the answer file dialog? If so, try something like this: global gOpenDataFile answer file Select a file to open: if it is empty then exit to top put it into gOpenDataFile put URL (file: gOpenDataFile) into tFileData -- process the file data as usual Now the global variable gOpenDataFile contains the full path to the data file that was opened. You can use this later when asking to save: global gOpenDataFile ask file Save data file? with gOpenDataFile And it will offer the same folder and file name as before. Note that if you select the same file name, the OS will give you a file exists warning, whereas if you just save directly using the file name, then it won't. -- Cheers, Sarah Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution View message @ http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253331.html To unsubscribe from Re: How do you get the name of an open saved file in memory using message box?, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2254471.html Sent from the Revolution - User mailing list archive at Nabble.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: How do you get the name of an open saved file in memory using message box?
On Jun 14, 2010, at 10:38 AM, charles61 wrote: Hi Sarah, The user does not get the file by selecting ti. In this situation, 1. The user creates a new file and populates the file 2. Then saves the file abc. 3. User decides to make a change in the file. 4. The user opens a new file without saving the changes to file abc. This is where I want to get a dialog asking the User to save file abc or disregard the last changes made and start a new file. Charles Szasz csz...@mac.com On Jun 13, 2010, at 6:02 AM, Sarah Reichelt-2 [via Runtime Revolution] wrote: The question is how do you get the name of the file that is opened from a script to save in a variable. This is what I been unable to do. How do you open the file? Do you get the user to select a file using the answer file dialog? If so, try something like this: global gOpenDataFile answer file Select a file to open: if it is empty then exit to top put it into gOpenDataFile put URL (file: gOpenDataFile) into tFileData -- process the file data as usual Now the global variable gOpenDataFile contains the full path to the data file that was opened. You can use this later when asking to save: global gOpenDataFile ask file Save data file? with gOpenDataFile And it will offer the same folder and file name as before. Note that if you select the same file name, the OS will give you a file exists warning, whereas if you just save directly using the file name, then it won't. -- Cheers, Sarah How does the user create a new file -- from within Rev, eg, via a button or some such, or by double-clicking the file icon on the desktop? Does Rev open it in a Rev window, or does the file launch using another app? How does a user open an existing file? -- again, from within Rev or using the system software? It would help if you described in more detail what the exact process is here, and what the larger picture is -- what does your stack do? As far as I can gather, the user opens an existing file by script -- so you have the file location stored somewhere. If the file is launched using another app and then the contents are changed, the system will provide the usual save before closing? dialog. At which point the user can say cancel and instead save as... and choose a new file name. If you are opening the file and editing it from within Rev, eg in a field. then you can use the closefield message to give the user the option of saving to the existing file. But I'm having to guess what you want to do, since you haven't specified the details. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ 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 do you get the name of an open saved file in memory using message box?
The question is how do you get the name of the file that is opened from a script to save in a variable. This is what I been unable to do. How do you open the file? Do you get the user to select a file using the answer file dialog? If so, try something like this: global gOpenDataFile answer file Select a file to open: if it is empty then exit to top put it into gOpenDataFile put URL (file: gOpenDataFile) into tFileData -- process the file data as usual Now the global variable gOpenDataFile contains the full path to the data file that was opened. You can use this later when asking to save: global gOpenDataFile ask file Save data file? with gOpenDataFile And it will offer the same folder and file name as before. Note that if you select the same file name, the OS will give you a file exists warning, whereas if you just save directly using the file name, then it won't. -- Cheers, Sarah Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves ___ 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 do you get the name of an open saved file in memory using message box?
Hi Sarah, The situation is the same as the user who has created and saved a document but then decides to make a change to the document before creating a new document. The dialog is essentially a Save As Dialog where the user is asked whether to save the document with the same name or disregard the changes and close the document. In my current dialog the user is given the standard save untitled.txt option. Instead, I would like the user to get a dialog that says Save the file abc or disregard the changes. Here abc is the name of the saved file before changes were made to the file. Hi Sarah, The situation is the same as the user who has created and saved a document but then decides to make a change to the document before creating a new document. The dialog is a reminder to the user to save the document before closing it with the same name or with a different name. In other words, it is a Save As Dialog that you would see if you were closing a document but have not saved some changes to the document. Charles Szasz csz...@mac.com On Jun 13, 2010, at 6:02 AM, Sarah Reichelt-2 [via Runtime Revolution] wrote: The question is how do you get the name of the file that is opened from a script to save in a variable. This is what I been unable to do. How do you open the file? Do you get the user to select a file using the answer file dialog? If so, try something like this: global gOpenDataFile answer file Select a file to open: if it is empty then exit to top put it into gOpenDataFile put URL (file: gOpenDataFile) into tFileData -- process the file data as usual Now the global variable gOpenDataFile contains the full path to the data file that was opened. You can use this later when asking to save: global gOpenDataFile ask file Save data file? with gOpenDataFile And it will offer the same folder and file name as before. Note that if you select the same file name, the OS will give you a file exists warning, whereas if you just save directly using the file name, then it won't. -- Cheers, Sarah Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution View message @ http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253331.html To unsubscribe from Re: How do you get the name of an open saved file in memory using message box?, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253404.html Sent from the Revolution - User mailing list archive at Nabble.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: How do you get the name of an open saved file in memory using message box?
Ok, so the file is created or opened to start with. If its a pre-existing file that is opened by using answer file as long as the user doesn't cancel, the path to the chosen file will be in the it special variable. So if you put it into some place to store it, you then have the filename. YOU need to keep track of this until the file is closed so that you can use the information. If a new file is created and saved, again, as soon as its saved, you know the filename. Store it as stated above for later use. Use ask file to prompt the user for the initial save, then put it into a storage vehicle. Either way, at this point you as the programmer should be tracking the file name. So if you want to have a save as option, again use ask file ask file Save as with yourstoredfilepath See 'ask file with' in the dictionary for more information. While looking at all this, you should also read the entry for defaultFolder, specialFolderPath and the like as you are most likely going to need them. On Sun, Jun 13, 2010 at 7:01 AM, charles61 csz...@mac.com wrote: Hi Sarah, The situation is the same as the user who has created and saved a document but then decides to make a change to the document before creating a new document. The dialog is essentially a Save As Dialog where the user is asked whether to save the document with the same name or disregard the changes and close the document. In my current dialog the user is given the standard save untitled.txt option. Instead, I would like the user to get a dialog that says Save the file abc or disregard the changes. Here abc is the name of the saved file before changes were made to the file. Hi Sarah, The situation is the same as the user who has created and saved a document but then decides to make a change to the document before creating a new document. The dialog is a reminder to the user to save the document before closing it with the same name or with a different name. In other words, it is a Save As Dialog that you would see if you were closing a document but have not saved some changes to the document. Charles Szasz csz...@mac.com On Jun 13, 2010, at 6:02 AM, Sarah Reichelt-2 [via Runtime Revolution] wrote: The question is how do you get the name of the file that is opened from a script to save in a variable. This is what I been unable to do. How do you open the file? Do you get the user to select a file using the answer file dialog? If so, try something like this: global gOpenDataFile answer file Select a file to open: if it is empty then exit to top put it into gOpenDataFile put URL (file: gOpenDataFile) into tFileData -- process the file data as usual Now the global variable gOpenDataFile contains the full path to the data file that was opened. You can use this later when asking to save: global gOpenDataFile ask file Save data file? with gOpenDataFile And it will offer the same folder and file name as before. Note that if you select the same file name, the OS will give you a file exists warning, whereas if you just save directly using the file name, then it won't. -- Cheers, Sarah Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution View message @ http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253331.html To unsubscribe from Re: How do you get the name of an open saved file in memory using message box?, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253404.html Sent from the Revolution - User mailing list archive at Nabble.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 ___ 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
How do you get the name of an open saved file in memory using message box?
I have going through various scripts to get the name of a text file (not stack) that is open in my app using the message box. Does anyone know how to do this? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252969.html Sent from the Revolution - User mailing list archive at Nabble.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: How do you get the name of an open saved file in memory using message box?
answer file select file:;put it into temp;get URL(file: temp);put temp return return it On 12 June 2010 12:16, charles61 csz...@mac.com wrote: I have going through various scripts to get the name of a text file (not stack) that is open in my app using the message box. Does anyone know how to do this? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252969.html Sent from the Revolution - User mailing list archive at Nabble.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 -- - Stephen Barncard San Francisco ___ 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 do you get the name of an open saved file in memory using message box?
Otherwise I misread what you were asking. If you have an app and you load a file, it's up to the programmer (you) to keep track of it in a variable or a custom property. There is no last file loaded property. On 12 June 2010 12:48, stephen barncard stephenrevoluti...@barncard.comwrote: answer file select file:;put it into temp;get URL(file: temp);put temp return return it On 12 June 2010 12:16, charles61 csz...@mac.com wrote: I have going through various scripts to get the name of a text file (not stack) that is open in my app using the message box. Does anyone know how to do this? -- -- - Stephen Barncard San Francisco ___ 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 do you get the name of an open saved file in memory using message box?
Stephen, I typed your suggestion in the message box and I only got the select file dialog box but not the name of the file that is already opened. Any other suggestions? I went through the RevList archives and could not find an example of getting the name of an open file! Charles Szasz csz...@mac.com On Jun 12, 2010, at 3:49 PM, Stephen Barncard-4 [via Runtime Revolution] wrote: answer file select file:;put it into temp;get URL(file: temp);put temp return return it On 12 June 2010 12:16, charles61 [hidden email] wrote: I have going through various scripts to get the name of a text file (not stack) that is open in my app using the message box. Does anyone know how to do this? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252969.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- - Stephen Barncard San Francisco ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution View message @ http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252984.html To unsubscribe from How do you get the name of an open saved file in memory using message box?, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252998.html Sent from the Revolution - User mailing list archive at Nabble.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: How do you get the name of an open saved file in memory using message box?
Stephen, I just saw your second e-mail reply. My plan is to put the name of the open file in a variable but getting the name of the open file has been difficult. How do you get the name of the open file? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252999.html Sent from the Revolution - User mailing list archive at Nabble.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: How do you get the name of an open saved file in memory using message box?
You are not communicating very well. It is still not clear what you want. Do you want to place a suggested file name in an ask dialog entry field instead, or have a the filename show up instead of the prompt of the ask dialog? Again, how would the dialog 'know' what the last filename was unless you save it yourself? Or are you just having trouble getting the result of your choice in the dialog? Look at the IT variable Anyway again it is up to the programmer to know which files are open and those that are not. Usually 'OPEN' is just for microseconds, the data is put in a variable, and work with it inside rev. There is no open and close needed for 'put URL()' and the file is closed after the call. There really is no need for multiple open and close statements unless one is processing data from one file into another file by script. Most of the time that is never needed. On 12 June 2010 13:00, charles61 csz...@mac.com wrote: Stephen, I typed your suggestion in the message box and I only got the select file dialog box but not the name of the file that is already opened. Any other suggestions? I went through the RevList archives and could not find an example of getting the name of an open file! Charles Szasz csz...@mac.com On Jun 12, 2010, at 3:49 PM, Stephen Barncard-4 [via Runtime Revolution] wrote: answer file select file:;put it into temp;get URL(file: temp);put temp return return it On 12 June 2010 12:16, charles61 [hidden email] wrote: I have going through various scripts to get the name of a text file (not stack) that is open in my app using the message box. Does anyone know how to do this? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252969.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- - Stephen Barncard San Francisco ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution View message @ http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252984.html To unsubscribe from How do you get the name of an open saved file in memory using message box?, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2252998.html Sent from the Revolution - User mailing list archive at Nabble.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 -- - Stephen Barncard San Francisco ___ 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 do you get the name of an open saved file in memory using message box?
On Sun, Jun 13, 2010 at 5:16 AM, charles61 csz...@mac.com wrote: I have going through various scripts to get the name of a text file (not stack) that is open in my app using the message box. Does anyone know how to do this? Charles, at some stage in your scripts, the file was opened. At that point, your script had to know the file name. You will have to store that file name in the custom property, hidden field, script local or global variable at that time. Then you can use that file name at any time to re-save to the original file. Cheers, Sarah Rodeo discussion: http://rodeoapps.com/rodeo-discuss-among-yourselves ___ 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 do you get the name of an open saved file in memory using message box?
Stephen, I am sorry for the confusion. All I want to do to provide a save dialog when the user makes a change to a saved file asking the user to save the file after a change was made to the file. In my current script, I have a dialog appear that asks if the user wants to save the file with untitled.text. This would be okay if the file did not already have a name. So far I have been unable to get the name of the file to appear in the dialog so the user can choose to save the file with its current name, a new name or disregard the changes. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253195.html Sent from the Revolution - User mailing list archive at Nabble.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: How do you get the name of an open saved file in memory using message box?
so what we've all told you is all you need. Have you put it all together yet? On 12 June 2010 20:29, charles61 csz...@mac.com wrote: Stephen, I am sorry for the confusion. All I want to do to provide a save dialog when the user makes a change to a saved file asking the user to save the file after a change was made to the file. In my current script, I have a dialog appear that asks if the user wants to save the file with untitled.text. This would be okay if the file did not already have a name. So far I have been unable to get the name of the file to appear in the dialog so the user can choose to save the file with its current name, a new name or disregard the changes. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253195.html Sent from the Revolution - User mailing list archive at Nabble.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 -- - Stephen Barncard San Francisco ___ 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 do you get the name of an open saved file in memory using message box?
Stephen, I understand how to put the name in the variable and store it but I have not been able to get the name of the current file to put in a variable. But I will keep working on it. Thanks for all of your comments and suggestions! Charles Szasz csz...@mac.com On Jun 12, 2010, at 11:30 PM, Stephen Barncard-4 [via Runtime Revolution] wrote: so what we've all told you is all you need. Have you put it all together yet? On 12 June 2010 20:29, charles61 [hidden email] wrote: Stephen, I am sorry for the confusion. All I want to do to provide a save dialog when the user makes a change to a saved file asking the user to save the file after a change was made to the file. In my current script, I have a dialog appear that asks if the user wants to save the file with untitled.text. This would be okay if the file did not already have a name. So far I have been unable to get the name of the file to appear in the dialog so the user can choose to save the file with its current name, a new name or disregard the changes. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253195.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- - Stephen Barncard San Francisco ___ use-revolution mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution View message @ http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253197.html To unsubscribe from Re: How do you get the name of an open saved file in memory using message box?, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253200.html Sent from the Revolution - User mailing list archive at Nabble.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: How do you get the name of an open saved file in memory using message box?
Sarah, The question is how do you get the name of the file that is opened from a script to save in a variable. This is what I been unable to do. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-you-get-the-name-of-an-open-saved-file-in-memory-using-message-box-tp2252969p2253196.html Sent from the Revolution - User mailing list archive at Nabble.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: searching for a put that opens message box
On May 16, 2010, at 1:16 PM, Jim Bufalini wrote: Here is a small Rev plugin that finds orphaned puts in any open stack you so designate. It was written by Eric Chatonet. Offered as is. It will also find other lines of code. Please put it in your plugins folder and launch it from there. www.jimbofhawaii.com/downloads/Smart Search.rev The link seems to be broken, Jim, although I was able to get it by just listing the downloads folder contents. Thanks for offering this. 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: searching for a put that opens message box
Devin Asay wrote: The link seems to be broken, Jim, although I was able to get it by just listing the downloads folder contents. Thanks for offering this. The link is ok, it just got broken at the space in the send. Hopefully it won't get broken this time, If it does, just copy the entire link and paste into your browser. www.jimbofhawaii.com/downloads/Smart Search.rev Aloha from Hawaii, Jim Bufalini ___ 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: searching for a put that opens message box
Couldn't you search for put variable return? on findit put the script of whateverobjectcontainsthescript into theScript put Offset(put yourvariable return, theScript) into found1 -- can't use lineoffset with return?? not sure put Offset(put yourvariable return, theScript) into found2 -- no space after variable just in case if found1 + found2 0 then -- youfoundit -- whatever code you like here end if end findit On May 15, 2010, at 8:53 AM, william humphrey wrote: Jerry I'm asking this question on the RunRev forum because I want to announce here how much I love tRev. Anyway how do you search for a put that is like put variable and doesn't have an into so it opens the message box. I realize that I should have marked my code there or put message box because it is so hard to find a put that doesn't have an into 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 ___ 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: searching for a put that opens message box
BACKWARDS OFFSET! HERE HERE!!! Like the dBase function RAT(). Bob On May 15, 2010, at 10:43 AM, stephen barncard wrote: collect the line numbers on the first pass, they ya gotta count backwards if you delete lines, Mark. Repeat for each won't work unless the entire script is rebuilt. Do we need a backwards offset?? ___ 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: searching for a put that opens message box
spaces in url's and web files are evil. Link no workie. Bob On May 16, 2010, at 12:16 PM, Jim Bufalini wrote: www.jimbofhawaii.com/downloads/Smart Search.rev ___ 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: searching for a put that opens message box
cmon, gang we're coders! URLEcode! go URL(http://www.jimbofhawaii.com/downloads/Smart%20Search.rev;) in the msg box (tested) this is a fast and versatile search dialog. I like it. Thanks, Jim, thanks Eric! On 17 May 2010 15:42, Bob Sneidar b...@twft.com wrote: www.jimbofhawaii.com/downloads/Smart Search.rev -- - Stephen Barncard Back home in SF ___ 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: searching for a put that opens message box
Oddly I copied the entire text from the email including the space. The browser substituted the appropriate %20 but I still got the file not found 404 error. By going to the directory, I was able to download it, but only by using Save to Downloads in a right click. Just saying. :-) Looks like a nice little find in any script utility. It could be made into a nice tRev plugin too! Bob On May 17, 2010, at 3:58 PM, stephen barncard wrote: cmon, gang we're coders! URLEcode! go URL(http://www.jimbofhawaii.com/downloads/Smart%20Search.rev;) in the msg box (tested) this is a fast and versatile search dialog. I like it. Thanks, Jim, thanks Eric! On 17 May 2010 15:42, Bob Sneidar b...@twft.com wrote: www.jimbofhawaii.com/downloads/Smart Search.rev -- - Stephen Barncard Back home in SF ___ 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: searching for a put that opens message box
Bob Sneidar wrote: spaces in url's and web files are evil. Link no workie. Yes they are. Now been switched to have no spaces: www.jimbofhawaii.com/downloads/SmartSearch.rev Aloha from Hawaii, Jim Bufalini ___ 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: searching for a put that opens message box
Thanks. That plug-in will always be useful. How hard is it to turn into a tRev plug in? ___ 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: searching for a put that opens message box
William, There are docs for the tRev plugins on our site. Look on the right side of main page. Those docs have the names of all the tRev fields and some basic built- in services. What you want to do, however, can be done by just getting the text from the field source, munging it and then selecting the first line that has an orphaned put statement. Keep it simple. Also. when you are in tRev, use the Plugins menu to create a plugin. You'll see comments in the base code of a blank plugin that is helpful. Best, Jerry Daniels Use tRev's buy link during your 7 day free trial to get 20% off: http://reveditor.com/tag/shouldiswitch On May 17, 2010, at 7:54 PM, william humphrey wrote: Thanks. That plug-in will always be useful. How hard is it to turn into a tRev plug in? ___ 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: searching for a put that opens message box
Jim- Monday, May 17, 2010, 4:33:09 PM, you wrote: www.jimbofhawaii.com/downloads/SmartSearch.rev Nice and fast, but really hasn't kept up with the times. To get it to work with modern versions of rev (3.5 and up), change the last line of the mouseup handler in the Edit Script button to select line tLineNo of fld Script of stack revNewScriptEditor 1 or better yet, switch on the version -- -Mark Wieder mwie...@ahsoftware.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: searching for a put that opens message box
William, I'm asking this question on the RunRev forum because I want to announce here how much I love tRev. Anyway how do you search for a put that is like put variable and doesn't have an into so it opens the message box. I realize that I should have marked my code there or put message box because it is so hard to find a put that doesn't have an into Here is a small Rev plugin that finds orphaned puts in any open stack you so designate. It was written by Eric Chatonet. Offered as is. It will also find other lines of code. Please put it in your plugins folder and launch it from there. www.jimbofhawaii.com/downloads/Smart Search.rev Aloha from Hawaii, Jim Bufalini ___ 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
searching for a put that opens message box
Jerry I'm asking this question on the RunRev forum because I want to announce here how much I love tRev. Anyway how do you search for a put that is like put variable and doesn't have an into so it opens the message box. I realize that I should have marked my code there or put message box because it is so hard to find a put that doesn't have an into 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: searching for a put that opens message box
Try putting the script in variable, and then finding the lineOffset of the line that contains put and has only 2 words. Scott Rossi Creative Director Tactile Media, UX Design On May 15, 2010, at 8:53 AM, william humphrey b...@bluewatermaritime.com wrote: Jerry I'm asking this question on the RunRev forum because I want to announce here how much I love tRev. Anyway how do you search for a put that is like put variable and doesn't have an into so it opens the message box. I realize that I should have marked my code there or put message box because it is so hard to find a put that doesn't have an into 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 ___ 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: searching for a put that opens message box
I'm not sure it has only two words. I will try your suggestion though. It could be put variable1 variable2 It sure teaches me to never do this again. Always explicitly call the message box. I wish RunRev would remove the feature... On Sat, May 15, 2010 at 12:28 PM, Scott Rossi sc...@tactilemedia.comwrote: Try putting the script in variable, and then finding the lineOffset of the line that contains put and has only 2 words. Scott Rossi Creative Director Tactile Media, UX Design On May 15, 2010, at 8:53 AM, william humphrey b...@bluewatermaritime.com wrote: Jerry I'm asking this question on the RunRev forum because I want to announce here how much I love tRev. Anyway how do you search for a put that is like put variable and doesn't have an into so it opens the message box. I realize that I should have marked my code there or put message box because it is so hard to find a put that doesn't have an into 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 ___ 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 -- http://www.bluewatermaritime.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: searching for a put that opens message box
Jerry had a function Find Orphaned Puts in GLX2 that would do this and I've been pestering him to reveal it or make a tRev plugin to use this. It worked well. Very useful for this old fashioned basic debugging tool . I'd make a variation - Delete all orphaned puts if it could be made foolproof. On 15 May 2010 09:42, william humphrey b...@bluewatermaritime.com wrote: I'm not sure it has only two words. I will try your suggestion though. It could be put variable1 variable2 It sure teaches me to never do this again. Always explicitly call the message box. I wish RunRev would remove the feature... On Sat, May 15, 2010 at 12:28 PM, Scott Rossi sc...@tactilemedia.com wrote: Try putting the script in variable, and then finding the lineOffset of the line that contains put and has only 2 words. Scott Rossi Creative Director Tactile Media, UX Design On May 15, 2010, at 8:53 AM, william humphrey b...@bluewatermaritime.com wrote: Jerry I'm asking this question on the RunRev forum because I want to announce here how much I love tRev. Anyway how do you search for a put that is like put variable and doesn't have an into so it opens the message box. I realize that I should have marked my code there or put message box because it is so hard to find a put that doesn't have an into 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 ___ 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 -- http://www.bluewatermaritime.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 -- - Stephen Barncard Back home in SF ___ 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: searching for a put that opens message box
The other thing to do is to make sure the line has no into. Scott Rossi Creative Director Tactile Media, UX Design On May 15, 2010, at 9:42 AM, william humphrey b...@bluewatermaritime.com wrote: I'm not sure it has only two words. I will try your suggestion though. It could be put variable1 variable2 It sure teaches me to never do this again. Always explicitly call the message box. I wish RunRev would remove the feature... On Sat, May 15, 2010 at 12:28 PM, Scott Rossi sc...@tactilemedia.comwrote: Try putting the script in variable, and then finding the lineOffset of the line that contains put and has only 2 words. Scott Rossi Creative Director Tactile Media, UX Design On May 15, 2010, at 8:53 AM, william humphrey b...@bluewatermaritime.com wrote: Jerry I'm asking this question on the RunRev forum because I want to announce here how much I love tRev. Anyway how do you search for a put that is like put variable and doesn't have an into so it opens the message box. I realize that I should have marked my code there or put message box because it is so hard to find a put that doesn't have an into 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 ___ 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 -- http://www.bluewatermaritime.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 ___ 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: searching for a put that opens message box
On May 15, 2010, at 9:58 AM, Scott Rossi wrote: The other thing to do is to make sure the line has no into. or after, or before Chipp Walters at Altuit had a utility that did this about 5 years ago. You could use a RegEx Find in the stack to look at all the scripts. I don't have time to do the RegEx string that would locate all put ignore 'into' 'after' 'before' on the same line thus creating a short list of -- A running detection technique could be - if the message box is string I keep seeing but cannot find then breakpoint Moving this further up the processing order should be able to isolate it for you. On May 15, 2010, at 9:42 AM, william humphrey b...@bluewatermaritime.com wrote: I'm not sure it has only two words. I will try your suggestion though. It could be put variable1 variable2 It sure teaches me to never do this again. Always explicitly call the message box. I wish RunRev would remove the feature... Compatibility with Hypercard will mean this feature will likely remain for a long time. Jim Ault Las Vegas ___ 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: searching for a put that opens message box
William, We did at one time in our previous editors have a Find Orphaned Put's menu item. tRev is me spare with its extra features, so we created a simple plugin architecture for all the extras you'd ever want. Check out the posts in our site regarding plugs. You go to the site and search, or search the site right from tRev's Help menu. Best, Jerry Daniels Create iPad web apps with Rodeo: http://rodeoapps.com On May 15, 2010, at 10:53 AM, william humphrey b...@bluewatermaritime.com wrote: Jerry I'm asking this question on the RunRev forum because I want to announce here how much I love tRev. Anyway how do you search for a put that is like put variable and doesn't have an into so it opens the message box. I realize that I should have marked my code there or put message box because it is so hard to find a put that doesn't have an into 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 ___ 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: searching for a put that opens message box
Excellent ideas for tRev plugins. Best, Jerry Daniels Create iPad web apps with Rodeo: http://rodeoapps.com On May 15, 2010, at 11:52 AM, stephen barncard stephenrevoluti...@barncard.com wrote: Jerry had a function Find Orphaned Puts in GLX2 that would do this and I've been pestering him to reveal it or make a tRev plugin to use this. It worked well. Very useful for this old fashioned basic debugging tool . I'd make a variation - Delete all orphaned puts if it could be made foolproof. On 15 May 2010 09:42, william humphrey b...@bluewatermaritime.com wrote: I'm not sure it has only two words. I will try your suggestion though. It could be put variable1 variable2 It sure teaches me to never do this again. Always explicitly call the message box. I wish RunRev would remove the feature... On Sat, May 15, 2010 at 12:28 PM, Scott Rossi sc...@tactilemedia.com wrote: Try putting the script in variable, and then finding the lineOffset of the line that contains put and has only 2 words. Scott Rossi Creative Director Tactile Media, UX Design On May 15, 2010, at 8:53 AM, william humphrey b...@bluewatermaritime.com wrote: Jerry I'm asking this question on the RunRev forum because I want to announce here how much I love tRev. Anyway how do you search for a put that is like put variable and doesn't have an into so it opens the message box. I realize that I should have marked my code there or put message box because it is so hard to find a put that doesn't have an into 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 ___ 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 -- http://www.bluewatermaritime.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 -- - Stephen Barncard Back home in SF ___ 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: searching for a put that opens message box
Scott- Saturday, May 15, 2010, 9:58:47 AM, you wrote: The other thing to do is to make sure the line has no into. ...as in (untested, but you get the idea) put yourScript into someVariable filter someVariable with put* filter someVariable without *into* repeat for each line tLine in someVariable put lineOffset(tLine, yourScript) into tPos if tPos is not 0 then delete line tPos of yourScript end if end repeat -- -Mark Wieder mwie...@ahsoftware.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: searching for a put that opens message box
collect the line numbers on the first pass, they ya gotta count backwards if you delete lines, Mark. Repeat for each won't work unless the entire script is rebuilt. Do we need a backwards offset?? On 15 May 2010 10:33, Mark Wieder mwie...@ahsoftware.net wrote: Scott- Saturday, May 15, 2010, 9:58:47 AM, you wrote: The other thing to do is to make sure the line has no into. ...as in (untested, but you get the idea) put yourScript into someVariable filter someVariable with put* filter someVariable without *into* repeat for each line tLine in someVariable put lineOffset(tLine, yourScript) into tPos if tPos is not 0 then delete line tPos of yourScript end if end repeat -- -Mark Wieder mwie...@ahsoftware.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 -- - Stephen Barncard Back home in SF ___ 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: searching for a put that opens message box
I really like the idea of there being a plug-in for tRev that finds orphaned puts On Sat, May 15, 2010 at 1:43 PM, stephen barncard stephenrevoluti...@barncard.com wrote: collect the line numbers on the first pass, they ya gotta count backwards if you delete lines, Mark. Repeat for each won't work unless the entire script is rebuilt. Do we need a backwards offset?? On 15 May 2010 10:33, Mark Wieder mwie...@ahsoftware.net wrote: Scott- Saturday, May 15, 2010, 9:58:47 AM, you wrote: The other thing to do is to make sure the line has no into. ...as in (untested, but you get the idea) put yourScript into someVariable filter someVariable with put* filter someVariable without *into* repeat for each line tLine in someVariable put lineOffset(tLine, yourScript) into tPos if tPos is not 0 then delete line tPos of yourScript end if end repeat -- -Mark Wieder mwie...@ahsoftware.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 -- - Stephen Barncard Back home in SF ___ 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 -- http://www.bluewatermaritime.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: searching for a put that opens message box
Just went to the tRev site. There are some plug-ins there (ones that put lists of cards, scripts etc into an email message) but no find orphan puts plug-in ___ 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: searching for a put that opens message box
I never said there was one. No, Jerry in his wisdom, has left* *it up to us to develop it as an exercise. So I'll probably do it if someone else doesn't. It's not *that*much of a brain teaser. On 15 May 2010 11:06, william humphrey b...@bluewatermaritime.com wrote: Just went to the tRev site. There are some plug-ins there (ones that put lists of cards, scripts etc into an email message) but no find orphan puts plug-in ___ ___ 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: searching for a put that opens message box
Thanks (I started to say Stephen but I see I should say) everyone -- I found my orphan put using put yourScript into someVariable filter someVariable with put* filter someVariable without *into* Except that you have to say filter someVariable with *put* for it to work as there must be a space or something before the word put Bill ___ 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: searching for a put that opens message box
Inside the tRev plug environment, perhaps it would be easiest for your plug script to 'comment out' all the instances of found puts with a special comment that could be easily found like -- * put it. Otherwise you'd need a dialog or something to do them individually unless it's a mass removal - (which I would never trust!!) On 15 May 2010 11:34, william humphrey b...@bluewatermaritime.com wrote: Thanks (I started to say Stephen but I see I should say) everyone -- I found my orphan put using put yourScript into someVariable filter someVariable with put* filter someVariable without *into* Except that you have to say filter someVariable with *put* for it to work as there must be a space or something before the word put Bill ___ 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 -- - Stephen Barncard Back home in SF ___ 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: searching for a put that opens message box
william- Saturday, May 15, 2010, 11:34:49 AM, you wrote: Except that you have to say filter someVariable with *put* for it to work as there must be a space or something before the word put If you're thinking in generic terms, you'd need to do some more work after that. Your example would also catch and delete send sputter to card xyz if tWord is in get,put,send,dispatch save this stack -- I put this in a comment. Checking for put as the first word in the line before deleting it would do the trick, I think. -- -Mark Wieder mwie...@ahsoftware.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: searching for a put that opens message box
stephen- Saturday, May 15, 2010, 10:43:22 AM, you wrote: collect the line numbers on the first pass, they ya gotta count backwards if you delete lines, Mark. Repeat for each won't work unless the entire script is rebuilt. It's not collecting line numbers, otherwise it would indeed run into that problem. Just collecting actual text, and finding the lineoffset in the loop. Do we need a backwards offset?? I'd love it if the third optional parameter for the xOffset commands could be negative, saying start from the end instead of from the beginning. -- -Mark Wieder mwie...@ahsoftware.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: searching for a put that opens message box
makes sense. Should have run the code. Sorry to jump to conclusions. On 15 May 2010 12:01, Mark Wieder mwie...@ahsoftware.net wrote: stephen- Saturday, May 15, 2010, 10:43:22 AM, you wrote: collect the line numbers on the first pass, they ya gotta count backwards if you delete lines, Mark. Repeat for each won't work unless the entire script is rebuilt. It's not collecting line numbers, otherwise it would indeed run into that problem. Just collecting actual text, and finding the lineoffset in the loop. Do we need a backwards offset?? I'd love it if the third optional parameter for the xOffset commands could be negative, saying start from the end instead of from the beginning. -- -Mark Wieder mwie...@ahsoftware.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 -- - Stephen Barncard Back home in SF ___ 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: searching for a put that opens message box
stephen- Saturday, May 15, 2010, 3:44:39 PM, you wrote: makes sense. Should have run the code. Sorry to jump to conclusions. Well, as I pointed out, I didn't actually run it myself. But while I was writing it I noticed that deleting lines might be a problem, thought it through and figured that it *probably* wasn't. -- -Mark Wieder mwie...@ahsoftware.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: driven mad by the message box!
He must be running Linux. ___ 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: driven mad by the message box!
Yes, its Debian. at the moment its Squeeze. Haven't tried on anything else yet. It turns out to happen only in the IDE, but it happens with development tools turned off and just about everything changed one way or the other that I could think of. But it was a great relief to finally discover that when the app is launched from a little launching stack in the usual way, it doesn't happen. As long as the app will run properly from the launcher it doesn't matter so much. What is weird is, it never happened before, but I don't recall whether in other uses of shell() I ever tried it from the IDE. These things are sent to make us into a better person. Not completely sure they are succeeding. william humphrey-2 wrote: He must be running Linux. -- View this message in context: http://n4.nabble.com/driven-mad-by-the-message-box-tp963215p963793.html Sent from the Revolution - User mailing list archive at Nabble.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
driven mad by the message box!
Does anyone know why put shell() should bring up the message box, showing the last command exectuted from it (and not the command that was executed by the shell() step in the script? I've been racking my brains for an hour or more, trying just about everything I can think of, and nothing will stop the thing. Well, there is one thing that will stop it. The second time you execute the command, the message box closes. I don't know why it opened, and have even less idea why it should then close! Also, there is a small button or checkbox at the top left of the message box. What is it for? I can't see that it does anything, but it can definitely be checked or unchecked. Any suggestions most gratefully received. Peter ___ 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: driven mad by the message box!
Peter Alcibiades wrote: Does anyone know why put shell() should bring up the message box, showing the last command exectuted from it (and not the command that was executed by the shell() step in the script? I've been racking my brains for an hour or more, trying just about everything I can think of, and nothing will stop the thing. Well, there is one thing that will stop it. The second time you execute the command, the message box closes. I don't know why it opened, and have even less idea why it should then close! I think it opens because the shell command always returns via stndout, and the message box is where the return value will go if you use put without specifying a variable. What I don't get is why it closes again. It should stay open. What command are you sending? Did you get a return value for the first command? If it hasn't returned yet, then maybe you're seeing the results of that one, and the second, expected one hasn't come back yet. Long shot, I know. Also, there is a small button or checkbox at the top left of the message box. What is it for? I can't see that it does anything, but it can definitely be checked or unchecked. I don't see that, or maybe I don't know where to look. What OS are you running? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Message Box History
On Wed, Nov 25, 2009 at 8:53 AM, Mike Kerner mikeker...@roadrunner.comwrote: I thought I vaguely recalled a way to pull up message box history. Maybe I'm thinking of some plugin. I know you can use the up and down arrow keys to cycle through the history of previous items in the message box, but I don't know off-hand a way to see the entire list at once. Maybe someone else knows that trick. -- Regards, Howard Bornstein --- www.designeq.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: Message Box History
I modified the script of the message field in the message box for my own purposes, but if you add just one line to the enterInField and returnInField handlers there, you can send the contents of the field to some storage facility every time you use it: put me [ the date the time] return after yourMessageHistoryContainer Never had an issue with it, though it is fiddling with the IDE a bit. Craig Newman In a message dated 11/25/09 3:29:09 PM, howard.bornst...@gmail.com writes: I know you can use the up and down arrow keys to cycle through the history of previous items in the message box, but I don't know off-hand a way to see the entire list at once. Maybe someone else knows that trick. ___ 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: Message Box History
Howard- Wednesday, November 25, 2009, 12:28:56 PM, you wrote: I know you can use the up and down arrow keys to cycle through the history of previous items in the message box, but I don't know off-hand a way to see the entire list at once. Maybe someone else knows that trick. put the cREVSingleLineHistory of stack revPreferences -- -Mark Wieder mwie...@ahsoftware.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: Message Box History
The late Eric Chatonet's Message Box picker might be good. http://www.sosmartsoftware.com/?r=revolutionl=en Message Box Picker 1.1 Utility for Revolution Studio or Enterprise Freeware Additional functionalities for the message box This utility reorganizes the message history and puts the messages into chronological order, deletes any doubles and installs in the message box a drop-down menu that can be completely personalized and that makes it possible to bring up or to send a message with one mouse click. Bilingual utility (installer and uninstaller.) Help stack is included. Identical appearance on all platforms. - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/11/25 dunb...@aol.com I modified the script of the message field in the message box for my own purposes, but if you add just one line to the enterInField and returnInField handlers there, you can send the contents of the field to some storage facility every time you use it: put me [ the date the time] return after yourMessageHistoryContainer Never had an issue with it, though it is fiddling with the IDE a bit. Craig Newman In a message dated 11/25/09 3:29:09 PM, howard.bornst...@gmail.com writes: I know you can use the up and down arrow keys to cycle through the history of previous items in the message box, but I don't know off-hand a way to see the entire list at once. Maybe someone else knows that trick. ___ 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: Message Box History
Now that is a much cleaner solution. Once again, since I cannot remember anything anymore, where are this and similar underground goodies documented? In a message dated 11/25/09 3:49:37 PM, mwie...@ahsoftware.net writes: put the cREVSingleLineHistory of stack revPreferences ___ 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: Message Box History
I would LOVE to know all the underground goodies, because I'd like to put them into a Tao of RR document. On Wed, Nov 25, 2009 at 15:52, dunb...@aol.com wrote: Now that is a much cleaner solution. Once again, since I cannot remember anything anymore, where are this and similar underground goodies documented? In a message dated 11/25/09 3:49:37 PM, mwie...@ahsoftware.net writes: put the cREVSingleLineHistory of stack revPreferences ___ 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 -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. ___ 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: Message Box History
Craig- Wednesday, November 25, 2009, 12:52:42 PM, you wrote: Now that is a much cleaner solution. Once again, since I cannot remember anything anymore, where are this and similar underground goodies documented? You want all the undocumented stuff *documented*? Bwahaha... Anyway, it's in the preOpenStack handler of stack MessageBox. There's lots of stuff in custom properties of the revPreferences stack that probably should be somewhere else, but that's where the IDE puts it, so we're stuck with it. -- -Mark Wieder mwie...@ahsoftware.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: Message Box History
DunbarX wrote: Once again, since I cannot remember anything anymore, where are this and similar underground goodies documented? Many of them aren't; I'm still waiting for a leak on all the options for the _internal command. But there's a lot of good stuff in the Engine Change Log, down in the section toward the bottom labeled Currently Unsupported Feature. Here's one related to the Message Box that's kinda cool if you need it: -- the revMessageBoxRedirect ~ This global property allows you to configure what happens when the value of the 'msg' pseudo-variable changes. When set to empty, the old behaviour will be used. When set to the long id of a field, the old behaviour is replicated but instead of 'msg' being put into field 1 of card 1 of stack Message Box, it is put into the target field. (Note that this form will also cause the field's stack to be modeless'ed and raised). When set to the long id of a non-field object, the specified object will receive a 'msgChanged' message meaning that you have complete control over what to do with the updated value of 'msg'. NB. This property is only available in the IDE engine. -- -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv ___ 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: Message Box History
dunb...@aol.com wrote: Once again, since I cannot remember anything anymore, where are this and similar underground goodies documented? They aren't, because they are part of the IDE code. They're just custom handlers and properties, meant only for internal use, like anything we'd write ourselves. But you can go digging and find stuff if you're brave enough. Just note that because they're internal, they are subject to change without notice. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Newbie question - Using multi-line message box
A while ago I recommended Ukelele to Richmond who wanted to change his Caps Lock key into a Shift Lock key. I understand it did the job. Basically Ukelele a GUI for modifying .keylayout files on OS X. If you have two Option keys you should be able to turn one of them into Enter. Actually you can turn any key into Enter. You'll find it here: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsiitem_id=ukelele As far as I know, the only difference between UK, USA, MB and MBP keyboards are some graphics and their .keylayout files. HTH On Thu, Oct 15, 2009 at 6:34 AM, Colin Holgate co...@verizon.net wrote: On Oct 14, 2009, at 6:09 PM, Jim Sims wrote: There has been a difference in UK and USA keyboards for years. My UK keyboard has an alt/option key to the right of the command key SPACE BAR - CMD KEY - ALT/OPTION KEY My USA keyboard has: SPACE BAR - CMD KEY - ENTER KEY It's not just a US/UK thing, my colleague's keyboard has the option key where I have the enter key, and they're both US keyboard. Mine is a 17 inch MBP though, and that could be partly why there's a difference. ___ 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: Newbie question - Using multi-line message box
On Oct 16, 2009, at 8:11 AM, Kay C Lan wrote: As far as I know, the only difference between UK, USA, MB and MBP keyboards are some graphics and their .keylayout files. The Return key on my UK keyboard uses up the far right space of two rows, it is sort of like an upsidedown L shape. That means that the | and \ keys are moved down one row lower than on the the USA keyboard to make room for the top half of the UK Return key. The UK return key is also narrower on the bottom row it occupies than all other keys but on the top it is the same width as most other keys. On my USA keyboard both Shift keys are the same size, unlike the UK which has a much smaller key on the left. I place my 17 Mac up off my desk for better ergonomics (not beding my back over) and use a wireless keyboard when at home. When out with the Mac I go back to the USA built-in keys. I've adapted. I rescued that UK keyboard from a cruel beating and excessive verbal abuse as my partner Cloe, a touch typist, could not adapt to what she considered 'wrong behavior' in a keyboard. ;-) sims ___ 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: Newbie question - Using multi-line message box
Le 15 oct. 09 à 00:52, Andre Garzia a écrit : mine is british... it even has that silly pound symbol that I will never use here in Brasil... Bonjour, Are you sure ? ;-) One french saying is : Il ne faut pas dire : fontaine je ne boirai pas de ton eau (something like : don't say : Fountain I shall not drink your water) ;-)) Just an example : Suppose you have to display a picture in a scrolling text field, then pound symbol (as few others) could be useful, insofar you are sure it will not appear in the text, so no problem when setting its imageSource ;-))) Best regards from Grenoble André ___ 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
Newbie question - Using multi-line message box
When you're using a mac-laptop the enter key is a combination enter key and returnkey. So if you want to run a multi-line script you have to hold the function key down on the mac laptop keyboard and hit the return key for it to be an enter key. I spent ten minutes or so trying to find another way to do this (there usually is another way) but could not find a button or anything in the RunRev IDE that would run a multi-line script if you don't have an enter key. ___ 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: Newbie question - Using multi-line message box
use the FN key on the mac to make your return an enter... now, hold CMD+FN+RETURN and soon we'll ressemble emacs in its cumbersome keychords... On Wed, Oct 14, 2009 at 4:10 PM, william humphrey b...@bluewatermaritime.com wrote: When you're using a mac-laptop the enter key is a combination enter key and returnkey. So if you want to run a multi-line script you have to hold the function key down on the mac laptop keyboard and hit the return key for it to be an enter key. I spent ten minutes or so trying to find another way to do this (there usually is another way) but could not find a button or anything in the RunRev IDE that would run a multi-line script if you don't have an enter key. ___ 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 -- http://www.andregarzia.com All We Do Is Code. ___ 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: Newbie question - Using multi-line message box
william humphrey wrote: When you're using a mac-laptop the enter key is a combination enter key and returnkey. So if you want to run a multi-line script you have to hold the function key down on the mac laptop keyboard and hit the return key for it to be an enter key. I spent ten minutes or so trying to find another way to do this (there usually is another way) but could not find a button or anything in the RunRev IDE that would run a multi-line script if you don't have an enter key. ___ Try connecting a cheap, USB, 3-button mouse (I prefer Logitech) mouse to your laptop: life will look better! ___ 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: Newbie question - Using multi-line message box
On Oct 14, 2009, at 3:10 PM, william humphrey wrote: So if you want to run a multi-line script you have to hold the function key down on the mac laptop keyboard and hit the return key for it to be an enter key For what it's worth, the MacBook Pro I have has an Enter key to the right of the right-side command key, and that works as an Enter key should. I see that MacBooks have a second Option key there instead. ___ 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: Newbie question - Using multi-line message box
my macbook pro has a second option key as well... :-/ On Wed, Oct 14, 2009 at 4:32 PM, Colin Holgate co...@verizon.net wrote: On Oct 14, 2009, at 3:10 PM, william humphrey wrote: So if you want to run a multi-line script you have to hold the function key down on the mac laptop keyboard and hit the return key for it to be an enter key For what it's worth, the MacBook Pro I have has an Enter key to the right of the right-side command key, and that works as an Enter key should. I see that MacBooks have a second Option key there instead. ___ 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 -- http://www.andregarzia.com All We Do Is Code. ___ 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: Newbie question - Using multi-line message box
On Oct 14, 2009, at 1:32 PM, Colin Holgate wrote: On Oct 14, 2009, at 3:10 PM, william humphrey wrote: So if you want to run a multi-line script you have to hold the function key down on the mac laptop keyboard and hit the return key for it to be an enter key For what it's worth, the MacBook Pro I have has an Enter key to the right of the right-side command key, and that works as an Enter key should. I see that MacBooks have a second Option key there instead. As do the newest MacBook Pros. :-( Have to use the function modifier key now for Enter key. 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
Missing Enter Key - was Using multi-line message box
William, I have four different Mac laptops and the Function, Enter, and Option keys are in different places on each. I expect the next round of Apple keyboards to rearrange them again. So, I use a USB Unicomp Model M keyboard. I can attach it to any of the laptops (or any desktop) and the keys are always where I expect them to be. In addition: 1. the keys use the classic IBM buckling spring key-switch - infinitely better than spongy laptop scissor switches 2. when I'm ready to trade in the laptop, the keys look like new 3. this particular keyboard seems to be indestructible (some have been in daily use for over 25 years) 4. the layout is the same from year to year (even decade to decade) It is about $70 at: http://pckeyboards.stores.yahoo.net/en104bl.html For $10 more they will include a set of Command and Option keys to make it look more Mac-like. This is not noted on the web-site, you have to call and ask. By the way, I bought the key caps but never found it necessary to install them (alt = option; windows = command). Do note: except for the USB, this is same as the 1984 IBM Model M; feels just as good - and sounds just as loud. If the concept of an external keyboard appeals to you but the M is too big, consider the Mac Mini Pro from http://www.fentek-ind.com/kbmmacusb.htm It has full-sized keys but no number pad. I use it when I travel. On some versions of OS X you can also use Apple's System Preferences to re-purpose keys (for instance, to make the right Option key an Enter key). KeyReMap4Macbook ttp://www.pqrs.org/tekezo/macosx/keyremap4macbook/ will do the same thing on any version of OS X and I think it is easier to use. Paul Looney On Oct 14, 2009, at 12:10 PM, william humphrey wrote: When you're using a mac-laptop the enter key is a combination enter key and returnkey. So if you want to run a multi-line script you have to hold the function key down on the mac laptop keyboard and hit the return key for it to be an enter key. I spent ten minutes or so trying to find another way to do this (there usually is another way) but could not find a button or anything in the RunRev IDE that would run a multi-line script if you don't have an enter key. ___ 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: Missing Enter Key - was Using multi-line message box
If you like clicky keyboards, don't forget to check out Das Keyboard, it is more expensive than those listed before but some people swear by them. http://www.daskeyboard.com/daskeyboard_model_s_professional.php It appeals to the model M fans out there... On Wed, Oct 14, 2009 at 5:51 PM, Paul Looney supp...@ahsomme.com wrote: William, I have four different Mac laptops and the Function, Enter, and Option keys are in different places on each. I expect the next round of Apple keyboards to rearrange them again. So, I use a USB Unicomp Model M keyboard. I can attach it to any of the laptops (or any desktop) and the keys are always where I expect them to be. In addition: 1. the keys use the classic IBM buckling spring key-switch - infinitely better than spongy laptop scissor switches 2. when I'm ready to trade in the laptop, the keys look like new 3. this particular keyboard seems to be indestructible (some have been in daily use for over 25 years) 4. the layout is the same from year to year (even decade to decade) It is about $70 at: http://pckeyboards.stores.yahoo.net/en104bl.html For $10 more they will include a set of Command and Option keys to make it look more Mac-like. This is not noted on the web-site, you have to call and ask. By the way, I bought the key caps but never found it necessary to install them (alt = option; windows = command). Do note: except for the USB, this is same as the 1984 IBM Model M; feels just as good - and sounds just as loud. If the concept of an external keyboard appeals to you but the M is too big, consider the Mac Mini Pro from http://www.fentek-ind.com/kbmmacusb.htm It has full-sized keys but no number pad. I use it when I travel. On some versions of OS X you can also use Apple's System Preferences to re-purpose keys (for instance, to make the right Option key an Enter key). KeyReMap4Macbook ttp://www.pqrs.org/tekezo/macosx/keyremap4macbook/ will do the same thing on any version of OS X and I think it is easier to use. Paul Looney On Oct 14, 2009, at 12:10 PM, william humphrey wrote: When you're using a mac-laptop the enter key is a combination enter key and returnkey. So if you want to run a multi-line script you have to hold the function key down on the mac laptop keyboard and hit the return key for it to be an enter key. I spent ten minutes or so trying to find another way to do this (there usually is another way) but could not find a button or anything in the RunRev IDE that would run a multi-line script if you don't have an enter key. ___ 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 -- http://www.andregarzia.com All We Do Is Code. ___ 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: Newbie question - Using multi-line message box
Devin Asay wrote: On Oct 14, 2009, at 1:32 PM, Colin Holgate wrote: For what it's worth, the MacBook Pro I have has an Enter key to the right of the right-side command key, and that works as an Enter key should. I see that MacBooks have a second Option key there instead. As do the newest MacBook Pros. :-( Have to use the function modifier key now for Enter key. Is there a Preference or alternate keyboard map to regain that lost key? Between that and the full-glare reflective screen it's enough to keep me from upgrading my MBP for a while. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv ___ 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: Newbie question - Using multi-line message box
Richard Gaskin wrote: Between that and the full-glare reflective screen it's enough to keep me from upgrading my MBP for a while. The matte screen is available (as a $50 option !!) for both 15- and 17- inch MBPs -- Alex (who is trying hard to convince himself to buy one NOW) ___ 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: Missing Enter Key - was Using multi-line message box
Andre, I have not tried Das Keyboard. I understand they have a newer model that has labeled keys (instead of all black). Still, why pay more for it than a genuine model M and get dome switches instead of buckling springs? Have you tried it? PL On Oct 14, 2009, at 1:57 PM, Andre Garzia wrote: If you like clicky keyboards, don't forget to check out Das Keyboard, it is more expensive than those listed before but some people swear by them. http://www.daskeyboard.com/daskeyboard_model_s_professional.php It appeals to the model M fans out there... On Wed, Oct 14, 2009 at 5:51 PM, Paul Looney supp...@ahsomme.com wrote: William, I have four different Mac laptops and the Function, Enter, and Option keys are in different places on each. I expect the next round of Apple keyboards to rearrange them again. So, I use a USB Unicomp Model M keyboard. I can attach it to any of the laptops (or any desktop) and the keys are always where I expect them to be. In addition: 1. the keys use the classic IBM buckling spring key-switch - infinitely better than spongy laptop scissor switches 2. when I'm ready to trade in the laptop, the keys look like new 3. this particular keyboard seems to be indestructible (some have been in daily use for over 25 years) 4. the layout is the same from year to year (even decade to decade) It is about $70 at: http://pckeyboards.stores.yahoo.net/en104bl.html For $10 more they will include a set of Command and Option keys to make it look more Mac-like. This is not noted on the web-site, you have to call and ask. By the way, I bought the key caps but never found it necessary to install them (alt = option; windows = command). Do note: except for the USB, this is same as the 1984 IBM Model M; feels just as good - and sounds just as loud. If the concept of an external keyboard appeals to you but the M is too big, consider the Mac Mini Pro from http://www.fentek-ind.com/kbmmacusb.htm It has full-sized keys but no number pad. I use it when I travel. On some versions of OS X you can also use Apple's System Preferences to re-purpose keys (for instance, to make the right Option key an Enter key). KeyReMap4Macbook ttp://www.pqrs.org/tekezo/macosx/keyremap4macbook/ will do the same thing on any version of OS X and I think it is easier to use. Paul Looney On Oct 14, 2009, at 12:10 PM, william humphrey wrote: When you're using a mac-laptop the enter key is a combination enter key and returnkey. So if you want to run a multi-line script you have to hold the function key down on the mac laptop keyboard and hit the return key for it to be an enter key. I spent ten minutes or so trying to find another way to do this (there usually is another way) but could not find a button or anything in the RunRev IDE that would run a multi-line script if you don't have an enter key. ___ 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 -- http://www.andregarzia.com All We Do Is Code. ___ 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: Newbie question - Using multi-line message box
On Oct 14, 2009, at 1:32 PM, Colin Holgate wrote: For what it's worth, the MacBook Pro I have has an Enter key to the right of the right-side command key, and that works as an Enter key should. I see that MacBooks have a second Option key there instead. As do the newest MacBook Pros. :-( Have to use the function modifier key now for Enter key. There has been a difference in UK and USA keyboards for years. My UK keyboard has an alt/option key to the right of the command key SPACE BAR - CMD KEY - ALT/OPTION KEY My USA keyboard has: SPACE BAR - CMD KEY - ENTER KEY There are a few other differences that make me like the US keyboard more but that's another story. Are you saying that now both UK and USA keyboards lack an Enter key? sims ___ 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: Missing Enter Key - was Using multi-line message box
They have a keyboard with labels now... I haven't tried it yet. I like my microsoft wireless one, it is not fancy but it gets me around. On Wed, Oct 14, 2009 at 7:07 PM, Paul Looney supp...@ahsomme.com wrote: Andre, I have not tried Das Keyboard. I understand they have a newer model that has labeled keys (instead of all black). Still, why pay more for it than a genuine model M and get dome switches instead of buckling springs? Have you tried it? PL On Oct 14, 2009, at 1:57 PM, Andre Garzia wrote: If you like clicky keyboards, don't forget to check out Das Keyboard, it is more expensive than those listed before but some people swear by them. http://www.daskeyboard.com/daskeyboard_model_s_professional.php It appeals to the model M fans out there... On Wed, Oct 14, 2009 at 5:51 PM, Paul Looney supp...@ahsomme.com wrote: William, I have four different Mac laptops and the Function, Enter, and Option keys are in different places on each. I expect the next round of Apple keyboards to rearrange them again. So, I use a USB Unicomp Model M keyboard. I can attach it to any of the laptops (or any desktop) and the keys are always where I expect them to be. In addition: 1. the keys use the classic IBM buckling spring key-switch - infinitely better than spongy laptop scissor switches 2. when I'm ready to trade in the laptop, the keys look like new 3. this particular keyboard seems to be indestructible (some have been in daily use for over 25 years) 4. the layout is the same from year to year (even decade to decade) It is about $70 at: http://pckeyboards.stores.yahoo.net/en104bl.html For $10 more they will include a set of Command and Option keys to make it look more Mac-like. This is not noted on the web-site, you have to call and ask. By the way, I bought the key caps but never found it necessary to install them (alt = option; windows = command). Do note: except for the USB, this is same as the 1984 IBM Model M; feels just as good - and sounds just as loud. If the concept of an external keyboard appeals to you but the M is too big, consider the Mac Mini Pro from http://www.fentek-ind.com/kbmmacusb.htm It has full-sized keys but no number pad. I use it when I travel. On some versions of OS X you can also use Apple's System Preferences to re-purpose keys (for instance, to make the right Option key an Enter key). KeyReMap4Macbook ttp://www.pqrs.org/tekezo/macosx/keyremap4macbook/ will do the same thing on any version of OS X and I think it is easier to use. Paul Looney On Oct 14, 2009, at 12:10 PM, william humphrey wrote: When you're using a mac-laptop the enter key is a combination enter key and returnkey. So if you want to run a multi-line script you have to hold the function key down on the mac laptop keyboard and hit the return key for it to be an enter key. I spent ten minutes or so trying to find another way to do this (there usually is another way) but could not find a button or anything in the RunRev IDE that would run a multi-line script if you don't have an enter key. ___ 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 -- http://www.andregarzia.com All We Do Is Code. ___ 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 -- http://www.andregarzia.com All We Do Is Code. ___ 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: Newbie question - Using multi-line message box
On Oct 14, 2009, at 6:09 PM, Jim Sims wrote: There has been a difference in UK and USA keyboards for years. My UK keyboard has an alt/option key to the right of the command key SPACE BAR - CMD KEY - ALT/OPTION KEY My USA keyboard has: SPACE BAR - CMD KEY - ENTER KEY It's not just a US/UK thing, my colleague's keyboard has the option key where I have the enter key, and they're both US keyboard. Mine is a 17 inch MBP though, and that could be partly why there's a difference. ___ 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: Newbie question - Using multi-line message box
mine is british... it even has that silly pound symbol that I will never use here in Brasil... On Wed, Oct 14, 2009 at 7:09 PM, Jim Sims s...@ezpzapps.com wrote: On Oct 14, 2009, at 1:32 PM, Colin Holgate wrote: For what it's worth, the MacBook Pro I have has an Enter key to the right of the right-side command key, and that works as an Enter key should. I see that MacBooks have a second Option key there instead. As do the newest MacBook Pros. :-( Have to use the function modifier key now for Enter key. There has been a difference in UK and USA keyboards for years. My UK keyboard has an alt/option key to the right of the command key SPACE BAR - CMD KEY - ALT/OPTION KEY My USA keyboard has: SPACE BAR - CMD KEY - ENTER KEY There are a few other differences that make me like the US keyboard more but that's another story. Are you saying that now both UK and USA keyboards lack an Enter key? sims ___ 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 -- http://www.andregarzia.com All We Do Is Code. ___ 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: Putting Stuff Before the Message Box
I agree, Jim. Not worth the risk or the bother. Gregory On Thu, Aug 20, 2009, at 1:00 PM, use-revolution-requ...@lists.runrev.com wrote: Message: 13 Date: Wed, 19 Aug 2009 14:50:08 -0700 From: Jim Ault jimaultw...@yahoo.com Subject: Re: Putting Stuff Before the Message Box To: How to use Revolution use-revolution@lists.runrev.com Message-ID: 368ee73b-46db-41c0-8c24-382d9d99e...@yahoo.com Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Just chiming in at the end of the thread. In the PHP environment on a web server there is a special memory area called output buffer This has various maintenance functions built in to the PHP system, such as ob_start();ob_flush(); ob_implicit(); ob_clean(); and these facilitate building the characters that get sent back to a browser, etc. It is not a good idea to treat this as the normal PHP variable, such as $myDataString. The message box stack is also a special area that began its life in Hypercard 1.0 Back then it was unchangeable. Now that you can dive into the Rev library stack and modify scripts, please use caution because there are globals and settings that are interconnected between libraries. You might find strange behaviors that cannot easily be traced. It is cool that we can get under the hood and make such changes. My preference is not to do this since Rev is how I make my living. Jim Ault Las Vegas On Aug 19, 2009, at 2:29 PM, Gregory Lypny wrote: Thanks for thoughtful responses Craig, Peter, and Shao, So, it wasn't the meds. As I mostly use the message box for dumping the results of rough tests, it's good to know its idiosyncrasies so I don't mistakenly think I've goofed. Regards, Gregory ___ 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
You cannot put stuff before the Message Box
The thing here is that if there is already a selection in the message box, a blinking cursor or hillited text, you cannot select before (or after) either the results field or the message field. It only works if there is no selection at all. Trying to do so selects all the text in the message field, even if you explicitly name the results field. This is written into the IDE. Some people find this counterintuitive. I'll bet you do too. It can be unwritten; see my last two posts. Craig Newman In a message dated 8/18/09 9:12:06 PM, shaos...@wehostmacs.com writes: put WHATEVER before fld results of stack message box ___ 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: You cannot put stuff before the Message Box
The title seemed cute, but misleading. This thread is not about putting text before (or after) the msg box, it is about selecting in the message box. ___ 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: You cannot put stuff before the Message Box
Craig, on mouseUp repeat with x = 1 to 10 put x cr msg end repeat end mouseUp Btw I have always considered the results in the message box as something uneditable and have no problems with that. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Download Snapper Screen Recorder at http://snapper.economy-x-talk.com On 19 aug 2009, at 15:05, dunb...@aol.com wrote: The thing here is that if there is already a selection in the message box, a blinking cursor or hillited text, you cannot select before (or after) either the results field or the message field. It only works if there is no selection at all. Trying to do so selects all the text in the message field, even if you explicitly name the results field. This is written into the IDE. Some people find this counterintuitive. I'll bet you do too. It can be unwritten; see my last two posts. Craig Newman In a message dated 8/18/09 9:12:06 PM, shaos...@wehostmacs.com writes: put WHATEVER before fld results of stack message box ___ 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: You cannot put stuff before the Message Box
oh... :-) Forget about my previous post then. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Download Snapper Screen Recorder at http://snapper.economy-x-talk.com On 19 aug 2009, at 15:09, dunb...@aol.com wrote: The title seemed cute, but misleading. This thread is not about putting text before (or after) the msg box, it is about selecting in the message box. ___ 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: You cannot put stuff before the Message Box
Mark. Right, it is not about putting text, it is about selecting. Craig ___ 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: Putting Stuff Before the Message Box
Thanks for thoughtful responses Craig, Peter, and Shao, So, it wasn't the meds. As I mostly use the message box for dumping the results of rough tests, it's good to know its idiosyncrasies so I don't mistakenly think I've goofed. Regards, Gregory ___ 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: Putting Stuff Before the Message Box
Just chiming in at the end of the thread. In the PHP environment on a web server there is a special memory area called output buffer This has various maintenance functions built in to the PHP system, such as ob_start();ob_flush(); ob_implicit(); ob_clean(); and these facilitate building the characters that get sent back to a browser, etc. It is not a good idea to treat this as the normal PHP variable, such as $myDataString. The message box stack is also a special area that began its life in Hypercard 1.0 Back then it was unchangeable. Now that you can dive into the Rev library stack and modify scripts, please use caution because there are globals and settings that are interconnected between libraries. You might find strange behaviors that cannot easily be traced. It is cool that we can get under the hood and make such changes. My preference is not to do this since Rev is how I make my living. Jim Ault Las Vegas On Aug 19, 2009, at 2:29 PM, Gregory Lypny wrote: Thanks for thoughtful responses Craig, Peter, and Shao, So, it wasn't the meds. As I mostly use the message box for dumping the results of rough tests, it's good to know its idiosyncrasies so I don't mistakenly think I've goofed. Regards, Gregory ___ 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 Jim Ault jimaultw...@yahoo.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: Putting Stuff Before the Message Box
I think this is a bug in the way the messagebox is implemented. The messagebox is a very tricky thing -- lots going on behind the curtain, re handling things like this stack, the message path, etc. It appears that they made it easy to put things after msg but not before msg. Others may know more about the details of this. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Aug 17, 2009, at 1:02 PM, Gregory Lypny wrote: Hello again, I apologize in advance. Maybe it's the meds. I created a list with three lines: put One return Two return Three into theList I want to have the message box display 3 One Two Three Why does put theList put the number of lines in theList return before msg put only 3 into the message box and not the list itself? But put the number of lines in theList put return theList after msg works fine. Can the message box not handle before? Gregory ___ 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: Putting Stuff Before the Message Box
Peter. I ran into this during my learning, and unlearning, of rev, coming from HC. Try these two short scripts, perhaps in a button; on mouseUp select before text of fld message field of stack message box end mouseUp on mouseUp put select before text of fld quote message field quote of stack quote message box quote into temp send temp to this stack in 15 end mouseUp The first one selects before msg, as long as there is no selection in msg. Otherwise it selects the whole line. The second works always. It is just the way Rev works. I have modified my msg box, carefully, to make it work more like HC. I have been warned this is a dicey thing to do. Craig Newman ___ 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: Putting Stuff Before the Message Box
Peter. Since you seem to be into msg stuff, here is another of my changes to the msg box. Make a field yourField with some text in it. If you write in the message box something like: select word 2 of field yourField The text hilite will not persist. I hated that, and with a little help from my friends, found that if you comment out a bit of code in the message box, you can have what I consider normal behavior, that is, that the command to select text in a field does, in fact, select that text. Starting at line 442 (in v.3.0) or line 375 (in v. 3.5) in the script of fld Message Field of stack message box, comment out the following code: if the mode of stack kStackName is not 0 and edit script of is not in the text of me then select the text of field Message Field of stack kStackName end if Now the hilite will persist in the target field. like the good Lord intended. Craig Newman ___ 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: Putting Stuff Before the Message Box
put WHATEVER before fld results of stack message box ___ 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
Putting Stuff Before the Message Box
Hello again, I apologize in advance. Maybe it's the meds. I created a list with three lines: put One return Two return Three into theList I want to have the message box display 3 One Two Three Why does put theList put the number of lines in theList return before msg put only 3 into the message box and not the list itself? But put the number of lines in theList put return theList after msg works fine. Can the message box not handle before? Gregory ___ 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: Message box mild oddity
Try this: on mouseUp put space the selectedLine of me into fld message field of stack message box put select before text of fld quote message field quote of stack quote message box quote into whattodo send whattodo to this stack in 30 end mouseUp ___ 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: Message box mild oddity
And I thought I was the klugeMaster. Craig In a message dated 3/27/09 1:17:45 PM, co...@rcn.com writes: Try this: on mouseUp put space the selectedLine of me into fld message field of stack message box put select before text of fld quote message field quote of stack quote message box quote into whattodo send whattodo to this stack in 30 end mouseUp ** Free Credit Report and Score Tracking! Get it Now for $0 at CreditReport.com. (http://pr.atwola.com/promoclk/100126575x1220474599x1201401934/aol?redir=http:%2F%2Fwww.creditreport.com%3Fsrc%3Daolemail%26kwd%3Dmlftrtextlin k) ___ 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: Message box mild oddity
Colin: On my machine, the wait time for the send command is about 50% effective if I wait 7 ticks. Perfect with 9, no go with 5. Simply inserting a wait command line in lieu of the send line does nothing at all. The entire text is selected after whatever interval is specified. So why does the internal wait in the send command differ from a separate wait command? Sending the message somehow is different than simply executing the next line, just like coming from outside the field somehow seems to work just fine. Craig. In a message dated 3/27/09 1:17:45 PM, co...@rcn.com writes: Try this: on mouseUp put space the selectedLine of me into fld message field of stack message box put select before text of fld quote message field quote of stack quote message box quote into whattodo send whattodo to this stack in 30 end mouseUp ** Free Credit Report and Score Tracking! Get it Now for $0 at CreditReport.com. (http://pr.atwola.com/promoclk/100126575x1220474599x1201401934/aol?redir=http:%2F%2Fwww.creditreport.com%3Fsrc%3Daolemail%26kwd%3Dmlftrtextlin k) ___ 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: Message box mild oddity
On Mar 27, 2009, at 2:03 PM, dunb...@aol.com wrote: So why does the internal wait in the send command differ from a separate wait command? The send happens after the selecting of the message box text has happened. Doing an inline wait would be before the selecting of the message box will happen. I'm not surprised that changing the timing makes a difference, just use 10, and don't worry about wasting that sixth of a second of your life. ___ 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: Message box mild oddity
Colin. The text is put into msg I wait I select before the text of msg. Or The text is put into msg I (you) load a variable with a command to select before the text of msg I wait, and send the command. Not the same order? I have the time. I am trying to have the wherewithal. Remember, clicking outside the field makes the expected behavior happen back in the field. It is something about getting away from it all, which sending a message instead of executing yet another line of code might somehow do. And then why would keeping the mouse down for (probably) 10 ticks always work? It is, after all, a mouseUp handler, and that delay works, though it should not. All I did was dally in releasing the button? How do it know? Craig In a message dated 3/27/09 2:12:24 PM, co...@rcn.com writes: The send happens after the selecting of the message box text has happened. Doing an inline wait would be before the selecting of the message box will happen. I'm not surprised that changing the timing makes a difference, just use 10, and don't worry about wasting that sixth of a second of your life. ** Check all of your email inboxes from anywhere on the web. Try the new Email Toolbar now! (http://toolbar.aol.com/mail/download.html?ncid=txtlnkusdown0027) ___ 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: Message box mild oddity
On Mar 27, 2009, at 2:55 PM, dunb...@aol.com wrote: The text is put into msg I wait I select before the text of msg. Or The text is put into msg I (you) load a variable with a command to select before the text of msg I wait, and send the command. Not the same order? In the second case there were idle events between the text being put and the selection being set. The holding the mouse down may be introducing stilldown events that could change the conditions. You have bigger issues in your script anyway, such as it doesn't work if you haven't yet shown the message box. ___ 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: Message box mild oddity
Picky. In a message dated 3/27/09 3:03:57 PM, co...@rcn.com writes: You have bigger issues in your script anyway, such as it doesn't work if you haven't yet shown the message box. ** Check all of your email inboxes from anywhere on the web. Try the new Email Toolbar now! (http://toolbar.aol.com/mail/download.html?ncid=txtlnkusdown0027) ___ 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
strange interaction with message box
Bonjour, Often I have navigation buttons on the cards of my stacks (prev, next, first) ; often too I use visual effects as in this example of a script of a button : on mouseUp visual effect scroll left very fast go next end mouseUp Now, for one month or so, if the message box is opened, the visual effect occurs on it, not on my stack :-(( On the stack, it goes to next card (or prev etc) as expected, but without any visual effect ! The visual effect occurs on the stack only if the message box is closed. What am I doing wrong ? Thanks in advance for any idea Best regards from Grenoble André ___ 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