Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Sep 20, 2020 2:39 am

All times are UTC - 5 hours

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: AppleScript command to move from one table cell to the next?
PostPosted: Wed Apr 10, 2013 1:00 pm 
User avatar

Joined: Tue Sep 02, 2008 3:01 pm
Posts: 193
Location: Switzerland
I'm trying to find an AppleScript equivalent to the VBA command "Selection.MoveRight Unit:=wdCell"

In AppleScript I can create a new document from a template, jump to a bookmark and insert text. But I am stuck with moving to the next cell and insert the next junk of text ...

Any ideas, anyone?


In VB I do:

Selection.GoTo What:=wdGoToBookmark, Name:="LabelStart"
Selection.TypeText Text:="some label.."
Selection.MoveRight Unit:=wdCell

And in AppleScript :

-- create a new Word document based on a template
tell application "Finder"
set myPath to ((path to home folder) as text) & "Documents:Seminar Pro:Templates:imLabels.dotm"
set thePath to a reference to alias myPath
open thePath as alias
end tell

-- wait, to allow Word to get ready
delay 3

-- jump to the first Label
tell application "Microsoft Word"
select bookmark "LabelStart" of active document
end tell

"Stop deluding yourself with wishful thinking and find a solution that works for what you need to do"
Tim Hare - on

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group