How to use applescript to enter a contact in Microsoft Word
I am new to applescript, but I am trying to find a good way to use applescript in Microsoft Word along with Dragon Dictate for Mac to automate writing a letter. Dictate allows me to use applescript upon saying a command. What I would like to do is to be able to say "write a letter to ..." and it open my letter template and enter the persons contact info from the address book. There is a contacts menu item in Word that you can double click on the contact and it will paste it into the document, but it would be nice to be able to have it do it automatically without having to keep clicking.
Any help is appreciated.
Thanks!
Ethan
It's a sheet, not a "modal". This script should tell you if it's up or not:
tell application "System Events"
tell process "Safari"
tell window 1
if exists sheet 1 then
display dialog "Sheet is Up"
else
display dialog "No sheet"
end if
end tell
end tell
end tell
Similar Messages
-
How to use AppleScript to set "character fill color" in Pages 5.2?
For Pages 5.2 on OSX 10.9.3, what is the correct applescript for changing the "character fill" of text in pages.
If you highlight text, you do this via your mouse in the inspector by clicking "style," "advanced option (the gear wheel to the right of bold, italics, and underline), "character fill color (clicking on the multi-color circle, not the dropdown menu), and then choosing a color that comes up in the "colors" dialogue box.
I've looked all over and cannot find how to use applescript to set the character fill color in pages.
In some examples (not directly related) I see "character fill" used.
In others, I see "colorfill."
Basically, I want to use applescript, embedded in a keyboard maestro macro, to change the background color of the text (not the text color itself) to particular colors.
Given the changes and updates to Pages this year, and to applescript, what's the easy way to do this?
Thanks!
ChuckPages v5.2 still does not include selection-object, or character background color entries in its AppleScript dictionary, as does Pages ’09. Indirectly, using System Events, you can get the text selection in Pages v5.2, but then you can do nothing to change the selection. No assurances as to if or when Apple will mature the AppleScript dictionary support for Pages v5 series.
-
Hi All,
How to use the manually entered Hours/Days in the Duration field for BG_ABSENCE_DURATION fast formula?
Requirement is to restrict employees for applying for leave more than the accrued balance. In SSHR, apply leave functionality, the employee enters the start date, end date and duration manually. The entered duration must be used in the fast formula to check against available balance.
In the BG_ABSENCE_DURATION FF, I have a function to calculate the net accrual balance as on the calculation date.
I want to add the logic as - If to_number(Duration) /*[manually entered value]*/ > net accrual balance then
Duration = 'FAILED'
invalid_msg = 'Error'
return duration, invalid_msg
Thanks!Hi,
We have a standard functionality to override the duration calculation and you don't need to add a validation for the same. Please set the value of profile option HR: Absence Duration Auto Overwrite to Yes
When you do this user will not have to enter the duration value manually. It will get auto calculated based on the duration calculation in BG_ABSENCE_DURATION when you click on the next button.
For not allowing negative leaves to be applied, If you are on R12 then, this is a standard functionality and you need to set profile option HR Allow Absence Negative Balance to No
If you are on 11i then refer Note: 268171.1: How Do You Stop Accrual Plans from Going Negative?
Try and let me know in case you need further help.
Thanks,
Sanjay -
How do i convert a pdf file to a microsoft word doc
how do i convert a pdf file to a microsoft word doc
Please see our Getting Started guide for ExportPDF: http://forums.adobe.com/docs/DOC-2412
-
How do I maintain my hyperlinks when converting a Microsoft Word Document to a PDF file?
How do I maintain my hyperlinks when converting a Microsoft Word document to a PDF file?
Hi Marbarrose,
When you make word file including hyperlinks then convert in pdf.
It will automatically maintain hyperlinks.
Regards,
Florence -
can i put Microsoft word onto the ipad, if so how can you save the documents, can i put Microsoft word onto the ipad, if so how can you save the documents
Welcome to Apple Support Communities
If you have Office 365, you can install Office in your iPad > https://itunes.apple.com/us/app/suscriptores-office-mobile/id541164041?mt=8
If you haven't got Office 365, there are other apps that work with Microsoft Word files, like Documents To Go > http://www.dataviz.com/dtg_home.html -
Can papers be typed on a MAC Air then use a thumb drive to copy into Microsoft word and be printed?
Yes, if saved or exported into a format Word can read.
(87620) -
How do you get adobe icons to appear in Microsoft Word
How do you get adobe icons to appear in Microsoft Word?
hello davinci2, please right-click any bookmark where this is happening, go to ''properties'' and make sure that they are not set up to open in the sidebar.
-
How could I convert a locked PDF file to Microsoft Word file? Because of locking, I could not print it. Uergency for examination! Need help from veteran!
Adobe do not offer any products, or help, in hacking protected files.
-
How to use Applescript to print out a certain calendar at 7am every morning?
Hey guys,
I am trying to use AppleScript to print out one of my calendars each day at 7am every morning.
I have come up with this so far:
tell application "Calendar"
view calendar "My Appointments" at (my (current date))
switch view to day view
activate
tell application "System Events"
keystroke "p" using command down
delay 1 -- (seconds)
tell process "Calendar"
tell window "Print"
if value of checkbox "Calendar Keys" is not 0 then
click checkbox "Calendar Keys"
end if
end tell
end tell
end tell
end tell
The problem with this is that it will print out whatever calendars are currently viewable. I can't figure out how to tell it to deselect other calendars and just select the one I want. I also want to tell it to print this out at 7am every morning.
Any help would be very appreciated!If you wanted to do the printout over multiple days, you would be best to loop through each day's events in the way the current script does, but to put a new loop around it that gets each new day's data:
--opens a temporary file
set fileRef to open for access ((path to desktop) as string) & "meetings.txt" with write permission
--effectively empties the file
set eof fileRef to 0
tell application "Calendar"
set dayCount to 9 --this will be the number of days to look forward (not including today)
repeat with currentDay from 0 to dayCount
set startList to {}
--get's today's date
--set startRange to ((current date) + 12 * days) -- I used this for testing, to point to a day that had many appointments. I've left it so you can use it, too.
set startRange to ((current date) + (currentDay * days))
--set the start of the range to previous midnight
set hours of startRange to 0
set minutes of startRange to 0
set seconds of startRange to 0
--set end of the range to next midnight
set endRange to (startRange + 1 * days)
--get today's events
set todaysEvents to get (events of calendar "My Appointments" whose (start date is greater than startRange) and (end date is less than endRange))
--make a new list with start time of the event for sort purposes
repeat with theEvent in todaysEvents
set end of startList to {startdate:start date of theEvent, eventID:theEvent}
end repeat
--sort using a bubble sort (suitable for short lists)
repeat with i from 1 to (count of startList) - 1
repeat with j from i + 1 to count of startList
if startdate of item j of startList < startdate of item i of startList then
set temp to item i of startList
set item i of startList to item j of startList
set item j of startList to temp
end if
end repeat
end repeat
--empty the original list
set todaysEvents to {}
--repopulate the list in correct chronological order
repeat with theEvent in startList
set end of todaysEvents to eventID of theEvent
end repeat
--write today's date to the file
write (date string of startRange & return & return) to fileRef
--if there are no events, write this to the file as well
if length of todaysEvents is 0 then
write "No events" & return & return to fileRef
else
--process each event into format: hh:mm-hh:mm/new line/event summary
repeat with theEvent in todaysEvents
set startdate to start date of theEvent
set enddate to end date of theEvent
set startHours to hours of startdate as string
if length of startHours is 1 then set startHours to "0" & startHours
set startMins to minutes of startdate as string
if length of startMins is 1 then set startMins to "0" & startMins
set starttime to startHours & ":" & startMins
set endHours to hours of enddate as string
if length of endHours is 1 then set endHours to "0" & endHours
set endMins to minutes of enddate as string
if length of endMins is 1 then set endMins to "0" & endMins
set endTime to endHours & ":" & endMins
--write the event to the file
set theSummary to (starttime & "-" & endTime & return & summary of theEvent & return & return) as string
write theSummary to fileRef
end repeat
end if
write return to fileRef
end repeat
end tell
--close the file
close access fileRef
--print the file
set theFile to (((path to desktop) as text) & "meetings.txt") as alias
tell application "TextEdit"
print theFile without print dialog
end tell -
How to use applescript to open speech calibration window
I am having a problem with applescript. I am trying to open the speech calibration window in System Prefrences using applescript. I am really bad at GUI Scripting. I don't know if there is some other way to open the window, but I would like to have it appear when the user clicks a button. I am using Xcode ApplescriptObjC, but I don't think that matters. Could someone show me a script that opens the accessibility (or universal access) pane, click speakable items, then the "calibrate" button.
Another way to do this in Captivate 3, to open new window
using javascript with multiple files:
Create button and choose Execute Javascript:
Click the "..." button and type command using the following
format:
JavaScript:mynameLaunch();
["myname" is the name of the javascript function in relation
to the file you want to open]
Publish the Cp file.
Copy the file to be opened over to the root of the htm file
folder (for this example "myname.pdf").
Place the below javascript in the head of the main htm file
after publishing.
<head>
<script src="standard.js"
type="text/javascript"></script>
<script type="text/javascript">
function mynameLaunch(){window.open("myname.pdf",
"","toolbar=no,location=1,top=50,left=50,status=no,menubar=no,scrollbars=yes,resizable=ye s,width=400,height=575");
</script>
</head>
Test on a web server. -
How do I transfer my iphone 4 Contacts to Microsoft Outlook?
Using iphone 4, how do I transfer my iphone Contacts to Microsoft Outlook?
Your contacts will transfer with your Apple ID and iCloud account, if not from your cell carrier when you activate the phone.
-
How do i back up new phone contacts to microsoft outlook 2007 ?
iam using Windows 7 Home Premium OS, and have all my iphone contacts saved on microsoft outlook 2007.
Every time i add a few new contacts to my iphone 2G 3.1.3 OS, and sync it to Outlook 2007; all the contacts from outlook overwrite allcontacts on iphone. I end up losing all my new contacts created on iphone. I am using iTunes version 10.1.0.56.
Please help me with the right steps to save my contacts and messages and voice memos too.
ThanksThe safest thing to do with your pictures is to import them to your computer, as described here: http://support.apple.com/kb/HT4083. You can also back up your contacts separately by using an app like My Contacts Backup.
Then back up your phone, either to iCloud or to your computer using iTunes, as discussed here: http://support.apple.com/kb/HT1766. -
How can I transfer an adobe reader file to Microsoft word?
I have Windows Vista on my machine. I really need to transfer an Adobe reader file into Microsoft word or at least be able to type inside of Adobe. Just wondering how can I do this task or am I just not able to?
Any help or suggestions out there..?That would require using Adobe Acrobat. It can create Word docs from PDF's.
The bad news is, most of the time it doesn't do a very good job at it.
With Acrobat, you could also add form fields that you can fill in which would be much better. -
How to convert a PDF to save as .doc microsoft word document
I purchased from an online source a resume which was sent to me via PDF using Adobe. I would like to save the PDF as a word document and when I press download and asked to convert to MS it just takes me back like a revollving door to advertisement for purchasing Adobe and back to the PDF file again. Please help me get my PDF converted to a word document. Does anyone out there know of a way ?
Thanks in advance.Hi kathyv30365453,
You can convert PDF to Word using either the ExportPDF online service, or Acrobat. I checked your account, and it doesn't look like you've purchased an ExportPDF subscription. If you want to give Acrobat a try, you're welcome to download a 30-day trial from the link I reference above. In Acrobat, you choose File > Save as Other > Microsoft Word > Word Document.
Best,
Sara
Maybe you are looking for
-
BindTriggerAction's callback outside of Edge Animate context
Hi, I'm currently working on an animation and I would like it's be controled in external JS files through the bindTriggerAction method and his callback function. In Edge Animate context, the following code is actually working: (function ($, Edge, com
-
Migrate peoplesoft sybase HRMS database to oracle 11g
Hi All, I want to know if I can migrate a sybase peoplesoft HRMS database to oracle 11g using sql developer 3.0. I am trying to do this following the steps given in the link below but it is taking for ever for the convert step, I could see the messae
-
Without my knowledge Calls are dialled
I have a skype number and without my knowledge, numbers are being dialled to unknown number. Kindly suggest how can i fix this issue.
-
Is the ipad 3 unblocked?
I am thinking of buying an ipad with 4G in the States but I split my time between US and Italy. My unblocked iphone, bought in the States, with microsim capabilities, works beautifully in Italy. Can anyone tell me if the ipad is unblocked, too? Th
-
White list of computer part nx7400
Hi Can somebody say mi what is in white list of bios of my nx7400 computer I want replace some part and do not know what will be by white list disabled. Or it is some possibility how to disable white list in my computer. (I have version with drDos