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

Similar Threads
thread Thread Starter Forum Replies Last Post
Server upgrade website iCal problems faganj Mac OS X Server, Xserve, and Networking 0 Feb 4, 2014 05:01 AM
ical won't log out even when I have tried all passwords bs5050bs MacBook Pro 0 May 5, 2013 06:09 PM
Move Home folder to externall HDD or move only Music, Movies, Pictures and Documents? Lehcim OS X 3 Dec 6, 2012 04:35 PM
iCal move repeating entries waggers iMac 1 Nov 30, 2012 05:27 AM
App Store crashes when I log in or log out echo.park OS X 10.8 Mountain Lion 1 Aug 3, 2012 12:52 PM

Forum Jump

All times are GMT -5. The time now is 01:33 PM.

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

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