log in website and move schedule to iCal

Discussion in 'Mac Programming' started by modbox14, Oct 21, 2012.

  1. macrumors newbie

    Joined:
    Oct 21, 2012
    #1
    Hello!

    I'm looking for a way I could use applescript and or automator or something similar to automatically go to a website myschedule.com, log in with my credentials, click a couple links, and then take a block of dates and times and put it in my iCal ('Calendar') on Mountain Lion.

    The actual page with the schedule on it has this layout for the code:

    Code:
    <table border="0" cellspacing="3" cellpadding="0" width="100%">
    
    	<tr>
    		<td class="cellHeader3" colspan="4" width="31%"><span class="hidePrint">Use calendar to select week</span></td>
    			<td valign="top" rowspan="2">
    			
    			<table border="0" cellspacing="0" cellpadding="0" width="100%">		
    				<tr>
    				<tr>
    				
    					<td nowrap="true" class="cellHeader3" style="break-line: strict" width="300">Schedule begins Oct 20, 2012</td>
    					
    					<td class="cellHeader4">Start</td>
    					<td class="cellHeader4"></td>
    					<td class="cellHeader4"></td>
    					<td class="cellHeader4"></td>
    					<td class="cellHeader4"></td>
    					<td class="cellHeader4"></td>
                        <td class="cellHeader4">Finish</td>
                        <td class="cellHeader4"></td>
                       	</tr>
                  </table>  
                  <table border="0" cellspacing="0" cellpadding="0" width="100%">	   	
    					
    								<tr class="disable">
    						        <td  class="cellInfo1aR day" >Saturday</td>
    						        <td  class="cellInfo1aR day" > </td>
    						        <td  class="cellInfo3aR time" >5:00AM</td>
    						        <td  class="cellInfo3aR time" >                     </td> 
    						        <td  class="cellInfo3aR time" >2:00PM</td> 
    						        <td  class="cellInfo3aR time" >      </td> 
    						        </tr>
    								
    								<tr class="disable">
    						        <td  class="cellInfo1r day" >Sunday</td>
    						        <td  class="cellInfo1r day" >Time Away</td>
    						        <td  class="cellInfo3rR time" >00:00AM</td>
    						        <td  class="cellInfo3rR time" >                     </td> 
    						        <td  class="cellInfo3rR time" >00:00AM</td> 
    						        <td  class="cellInfo3rR time" >      </td> 
    						        </tr>
    																
    						        <tr>
    						        <td  class="cellInfo1aR day" >Monday
    						        </td>
    						        <td  class="cellInfo1aR day" > </td>
    						        <td  class="cellInfo3aR time" >5:00AM</td>
    						        <td  class="cellInfo3aR time" >                     </td> 
    						        <td  class="cellInfo3aR time" >2:00PM</td>
    						        <td  class="cellInfo3aR time" >      </td> 
    						        </tr>
    						        								
    						        <tr>
    						        <td  class="cellInfo1r day" >Tuesday
    						        </td>
    						        <td  class="cellInfo1r day" > </td>
    						        <td  class="cellInfo3rR time" >10:00AM</td>
    						        <td  class="cellInfo3rR time" >                     </td> 
    						        <td  class="cellInfo3rR time" >7:00PM</td>
    						        <td  class="cellInfo3rR time" >      </td> 
    						        </tr>
    						        								
    						        <tr>
    						        <td  class="cellInfo1aR day" >Wednesday
    						        </td>
    						        <td  class="cellInfo1aR day" > </td>
    						        <td  class="cellInfo3aR time" >10:00AM</td>
    						        <td  class="cellInfo3aR time" >                     </td> 
    						        <td  class="cellInfo3aR time" >7:00PM</td>
    						        <td  class="cellInfo3aR time" >      </td> 
    						        </tr>
    						        
    								<tr class="disable">
    						        <td  class="cellInfo1r day" >Thursday</td>
    						        <td  class="cellInfo1r day" > </td>
    						        <td  class="cellInfo3rR time" >00:00AM</td>
    						        <td  class="cellInfo3rR time" >                     </td> 
    						        <td  class="cellInfo3rR time" >00:00AM</td> 
    						        <td  class="cellInfo3rR time" >      </td> 
    						        </tr>
    																
    						        <tr>
    						        <td  class="cellInfo1aR day" >Friday
    						        </td>
    						        <td  class="cellInfo1aR day" > </td>
    						        <td  class="cellInfo3aR time" >00:00AM</td>
    						        <td  class="cellInfo3aR time" >                     </td> 
    						        <td  class="cellInfo3aR time" >00:00AM</td>
    						        <td  class="cellInfo3aR time" >      </td> 
    						        </tr>
    						        			
    			</table>
    		</td>
    	</tr>
    <tr>
    
     

Share This Page