Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 21, 2012, 06:09 PM   #1
modbox14
macrumors newbie
 
Join Date: Oct 2012
log in website and move schedule to iCal

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" >&nbsp;</td>
						        <td  class="cellInfo3aR time" >5:00AM</td>
						        <td  class="cellInfo3aR time" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
						        <td  class="cellInfo3aR time" >2:00PM</td> 
						        <td  class="cellInfo3aR time" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
						        <td  class="cellInfo3rR time" >00:00AM</td> 
						        <td  class="cellInfo3rR time" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
						        </tr>
																
						        <tr>
						        <td  class="cellInfo1aR day" >Monday
						        </td>
						        <td  class="cellInfo1aR day" >&nbsp;</td>
						        <td  class="cellInfo3aR time" >5:00AM</td>
						        <td  class="cellInfo3aR time" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
						        <td  class="cellInfo3aR time" >2:00PM</td>
						        <td  class="cellInfo3aR time" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
						        </tr>
						        								
						        <tr>
						        <td  class="cellInfo1r day" >Tuesday
						        </td>
						        <td  class="cellInfo1r day" >&nbsp;</td>
						        <td  class="cellInfo3rR time" >10:00AM</td>
						        <td  class="cellInfo3rR time" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
						        <td  class="cellInfo3rR time" >7:00PM</td>
						        <td  class="cellInfo3rR time" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
						        </tr>
						        								
						        <tr>
						        <td  class="cellInfo1aR day" >Wednesday
						        </td>
						        <td  class="cellInfo1aR day" >&nbsp;</td>
						        <td  class="cellInfo3aR time" >10:00AM</td>
						        <td  class="cellInfo3aR time" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
						        <td  class="cellInfo3aR time" >7:00PM</td>
						        <td  class="cellInfo3aR time" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
						        </tr>
						        
								<tr class="disable">
						        <td  class="cellInfo1r day" >Thursday</td>
						        <td  class="cellInfo1r day" >&nbsp;</td>
						        <td  class="cellInfo3rR time" >00:00AM</td>
						        <td  class="cellInfo3rR time" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
						        <td  class="cellInfo3rR time" >00:00AM</td> 
						        <td  class="cellInfo3rR time" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
						        </tr>
																
						        <tr>
						        <td  class="cellInfo1aR day" >Friday
						        </td>
						        <td  class="cellInfo1aR day" >&nbsp;</td>
						        <td  class="cellInfo3aR time" >00:00AM</td>
						        <td  class="cellInfo3aR time" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
						        <td  class="cellInfo3aR time" >00:00AM</td>
						        <td  class="cellInfo3aR time" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> 
						        </tr>
						        			
			</table>
		</td>
	</tr>
<tr>
modbox14 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:11 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC