Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8633 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have many fields with copy and paste commands in the scripts. How can I cancel the contents of the clipboard after one paste to avoid multiple pasting of clipboard into other fields?

Making a macro to put an English pound sign instead of a $ sign into a field is simple? crazy.gif" border="0

  • 2 weeks later...
Posted

Hi bd, thanks for the reply.

The 'set field' is OK but it over-writes the content in the field it is transferring data to. I need to retain the data and add to it as it is an archive field. (hence the copy & paste , which works well) My problem is not with Filemaker, but with windows retaining a paste in memory after it has been pasted. The problem only occurs when an empty field is selected and when the copy & paste command is in the script (there are 12 of these fields)and it then pastes the previous paste that is still held in windows memory. I have overcome it now by re-scriping the copy & paste files (which do the job OK) and adding another copy & paste command in the script from a dummy field with only (.) in it. It then only pastes the dot, and I can cope with this..Rex

Posted

If YOUR_FIELD contains: "The lazy dog"

and you wanted to append to it you can use Set Field

Set Field: YOUR_FIELD, YOUR_FIELD&" jumped over the brown fox."

or

Set Field: YOUR_FIELD, YOUR_FIELD&SOME_OTHER_FIELD

Posted

Bob, All I looking for is an easy way to insert a 'pound' sign in a field, not replace it. This crops up occasionally when entering old archive records, and as various people input our records and they may not all be regular computer users, an easy way to key it is sought for them. We,in Australia, used pounds, shillings and pence until about 35 years ago.

Regarding the copy & paste query, the only problem is when a paste command in a script is encountered and the last field it copies & pastes from is empty. It then pastes the previous paste still held by windows, resulting in multiple pastes of the same data. But no big deal, the (.) field does the job. I will try the 'set field&' solution. Rex

This topic is 8633 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.