|Sep 15, 2010, 07:45 PM||#1|
Help to convert MS Word VBA to Applescript
I have the following procedure written in VBA for Word which I need to use in Word 2008 for Mac. Please bear with me as I've had a very basic first stab and know very little about Apple Script.
If Selection.Type = wdSelectionNormal Then
ActiveDocument.Indexes.MarkEntry Range:=Selection.Range, _
Entry:="D:" & Selection.Range.Text & "/" & Time() & "/-PPP/R/"
I've started to try and write that in Apple Script by writing this:
if selection type of selection is selection normal then mark for index active document range text object of selection ¬
entry "D:" & content of text object of selection & "/" & (current date) & "/-PPP/R/"
but I get the following error message:
"Expected “then”, etc. but found identifier."
Can you help?
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Can't get EndNote to integrate with MS Word||Boris A||Mac Applications and Mac App Store||5||Sep 30, 2012 02:20 PM|
|Ms Word 2010 to Pages converter?||Dr Kevorkian94||Mac Applications and Mac App Store||12||Sep 21, 2011 04:23 PM|
|Convert MS Word formatting to Pages||Reddkryten||iPad||5||Jul 9, 2010 04:24 AM|
|Need someone's help to convert one .Pages file to .doc||afinefrenzy||Mac Basics and Help||3||May 12, 2010 12:16 AM|
|Pages/MS Word converting to web based document||carlosbutler||Mac Applications and Mac App Store||2||Apr 10, 2009 06:16 PM|
All times are GMT -5. The time now is 03:27 AM.