New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Question re running AppleScript


Post Reply New Thread Subscribe

 
Thread Tools
BrianTN

 
Member Since: May 06, 2014
Posts: 3
BrianTN is on a distinguished road

BrianTN is offline
Hi, I have a question for those literate in AppleScript. What I want to do is have a script open Calendar and print off a daily schedule at say 1 AM. I've found something works for the most part. Meaning, if I have AppleScript open and click run, it works. However, if I try and let the Calendar alarm open the script and run it, the only thing that happens is Calendar opens without printing. Anyone have an idea?

Here is the script:
(edited to place an image file, formatting was off)
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,050
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
How are you executing the script from Calendar? I suspect that this might be the issue.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
BrianTN

 
Member Since: May 06, 2014
Posts: 3
BrianTN is on a distinguished road

BrianTN is offline
Quote:
Originally Posted by vansmith View Post
How are you executing the script from Calendar? I suspect that this might be the issue.
I make an event at say 1:00 AM, set an alarm that at the time of the alarm opens the script file.
QUOTE Thanks
BrianTN

 
Member Since: May 06, 2014
Posts: 3
BrianTN is on a distinguished road

BrianTN is offline
Any thoughts?
QUOTE Thanks

Post Reply New Thread Subscribe


« Word Prediction | Problem with “smart quotation marks” in Word for Mac 2011, v. 14.0.0. »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
URGENT Question: Can I use an A1181 Macbook keyboard for the A1342 Macbook? dan71 Apple Notebooks 1 05-04-2014 11:52 PM
SuperDrive not mounting under Parallels running Leopard Old Mac Oz Other Hardware and Peripherals 0 04-11-2014 07:12 PM
upgrade applescript editor tcpms OS X - Apps and Games 4 04-11-2014 04:28 AM
Time Machine question bringcitrus Other Hardware and Peripherals 2 04-04-2014 11:09 AM
Mac Mail question poppi Apple Desktops 1 03-18-2014 10:29 PM

All times are GMT -4. The time now is 10:00 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?