Enigma 78 Posted June 23, 2010 Report Share Posted June 23, 2010 Is it possible to do the following: Example: I have a file with 20.000 lines.Now i want X lines in once pasted in a field.For instance 4 lines.Is this possible and, if yes, how can i achieve this? Quote Link to post Share on other sites
Abs* 12 Posted June 23, 2010 Report Share Posted June 23, 2010 Hi - if you are changing the value of a certain field and are pasting from a file then - add multiple next list item commands - if you need to seperate them with a space then just add a spave between the variables - I have attached a image for an example http://bigseotechniques.com/tutorials/nextlist.GIF Quote Link to post Share on other sites
Enigma 78 Posted June 23, 2010 Author Report Share Posted June 23, 2010 Hi - if you are changing the value of a certain field and are pasting from a file then - add multiple next list item commands - if you need to seperate them with a space then just add a spave between the variables - I have attached a image for an example http://bigseotechniques.com/tutorials/nextlist.GIF wow that's a pretty fast reply.Thanks abs.Appreciated.Will try this out Quote Link to post Share on other sites
Abs* 12 Posted June 23, 2010 Report Share Posted June 23, 2010 no worries Quote Link to post Share on other sites
afallison 0 Posted July 8, 2010 Report Share Posted July 8, 2010 trying to do the same thing but instead of 3 or 4 i need to do 500 at a time. is this even possible? Quote Link to post Share on other sites
alcr 135 Posted July 8, 2010 Report Share Posted July 8, 2010 trying to do the same thing but instead of 3 or 4 i need to do 500 at a time. is this even possible?Thats aloooooot of stuff added at the same time. Try it, and if it doesn't work, remove one at a time until it works Quote Link to post Share on other sites
Enigma 78 Posted July 21, 2010 Author Report Share Posted July 21, 2010 Hi - if you are changing the value of a certain field and are pasting from a file then - add multiple next list item commands - if you need to seperate them with a space then just add a spave between the variables - I have attached a image for an example http://bigseotechniques.com/tutorials/nextlist.GIF Does not work...It takes only 1 from the list and gives errorsI have set that it must grab 5 items in once from the list (the list contains 7 items so it should not give the error that it exceeded the range of the script). "You have exceeded the range of the list" "$next list item" Quote Link to post Share on other sites
MiriamMB 63 Posted July 21, 2010 Report Share Posted July 21, 2010 Enigma try "Set List Position" and set the position to 0.That will tell it to start over when it get to the end without erroring, unless you run out of list items.You can find set list position under the Variable Commands in the Tool Box. Quote Link to post Share on other sites
Enigma 78 Posted July 21, 2010 Author Report Share Posted July 21, 2010 Enigma try "Set List Position" and set the position to 0.That will tell it to start over when it get to the end without erroring, unless you run out of list items.You can find set list position under the Variable Commands in the Tool Box. Thanks for your time Lilly.But will this start at 0 everytime in the loop?That means it will keep sending duplicates then. Quote Link to post Share on other sites
MiriamMB 63 Posted July 21, 2010 Report Share Posted July 21, 2010 It will start at 0 when you stop and start your script. Next list Item should not error unless you have run out of list items. Just try it and let us know how it goes. Quote Link to post Share on other sites
panoz 1 Posted July 22, 2010 Report Share Posted July 22, 2010 I'm stuck with this same issue. is there a better way/faster way to add a larger list, 100 to a field. I have a list of 20k and I want to take out 100 each time and the next 100. There's gotta be a better way then to add 100 $next list item variable command. Quote Link to post Share on other sites
panoz 1 Posted July 22, 2010 Report Share Posted July 22, 2010 Maybe putting it in a loop and append to the data in that field. But I can't find a way to append new line/new data. Quote Link to post Share on other sites
panoz 1 Posted July 22, 2010 Report Share Posted July 22, 2010 I figured this out....by help from another post - I think from alcr Here's a screen shot of what I did. Obviously you can change the loop to the number you want. I have it set at 50. Quote Link to post Share on other sites
Enigma 78 Posted July 23, 2010 Author Report Share Posted July 23, 2010 Enigma try "Set List Position" and set the position to 0.That will tell it to start over when it get to the end without erroring, unless you run out of list items.You can find set list position under the Variable Commands in the Tool Box. Does not work.Still get the same error "You have exceeded the range of the list" As you see it only post the first $nextlistitem Quote Link to post Share on other sites
Praney Behl 314 Posted July 24, 2010 Report Share Posted July 24, 2010 Hi I wonder if you are still looking for a solution. I don't know how this post will appear on the forum as I am posting through my iPod lol... Well as I m not close to my laptop atm so just a though, I believe that it should work. Ok, if you are posting then I believe u must be running some sort of loop there, Now u have 1 list in which u store 20,000 lines, so what u can do now is : 1. Set a var something. // this is the no. Of lines u wanna post2. Get an input for the var through the UI3. Create a new list4. Now start a loop Loop ( evaluate next lst item(list 1) = current list item(new list item) Increment list position ( new list) ) 5. So now you will have in your new list all the no. Of line you wanna post.6. Now go and choose the field by attribute and send keys to the field choose-> insert list -> new list.7. Don't forget to clear your new list every posting cycle so u don't have any last data. So, how does that sound...? Well it should all work just fine I'll try it when I get to computer. Tell me if it works, i recon it will.. I was just getting bored at work so jumped on to the forum.. Cheers mate Praney Quote Link to post Share on other sites
Praney Behl 314 Posted July 25, 2010 Report Share Posted July 25, 2010 Hey man did you get it working..? Quote Link to post Share on other sites
Enigma 78 Posted July 25, 2010 Author Report Share Posted July 25, 2010 Hey man did you get it working..? Thanks for your reply.Not tried it yet.Will try soon today and let you know Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.