How to change the page of a view block display programmatically I have a view with a block display. Is there any way to change the block pager page programmatically?
Currently i am embedding theview using the views_embed_view and i am passing the url arguments. What i need is to pass also the pager index argument also. Is this possible?

Thanks in advance
This is how you can get a view programmatically:

  $view = views_get_view('view_name');
  $view-&gt;set_display('view_block_name');
  $view-&gt;set_arguments(array($argument_goes_here));
  $view-&gt;pre_execute();
  $view-&gt;execute();
  print $view-&gt;render();


The views object has many functions which can be viewed here.  

You can set current page for the pager with $view-&gt;set_current_page($page);