mattc Posted August 15, 2005 Posted August 15, 2005 Hi Guys I'm creating a script to add 2 carriage returns and some specified text to a field. How do I ensure that the cursor postion is moved to the end of any text already in this field? Thanks
Alex K Posted August 15, 2005 Posted August 15, 2005 Ensure that you uncheck "Select entire contents" in the field format, under the format menu - or under options, if you are creating a script. And that should do it! Cheers :
comment Posted August 15, 2005 Posted August 15, 2005 Actually, it's even simpler. Use: Set Field [ yourfield ; yourfield & "¶¶new text" ] This way, you don't need to care about the cursor at all.
mattc Posted August 15, 2005 Author Posted August 15, 2005 Thanks guys One of those silly ones that catches me out!
Recommended Posts
This topic is 7043 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 accountSign in
Already have an account? Sign in here.
Sign In Now