A
automandc
I am writing a script that needs to prompt the user to select a folder. As a
"cheat" I have a dialog pop up telling the user to select the folder in the
main window, and then after they click the button I get the "displayed
feature" of the main window. This is not ideal for a number of reasons
(e.g., the dialog has to be run outside of the "tell Entourage" block, and if
the executing script gets moved to the background the dialog can be lost).
Entourage has the handy "Choose Folder..." dialog that it uses when you
select, e.g., "Move Message" (Shift-Command-M by default). I am wondering if
there is a way to take advantage of that functionality in my own script. I
am willing to hack in XCode and Obj-C if necessary and provided a good nudge
in the right direction.
If anyone has thoughts on how to accomplish this, or even a good resource I
could refer to, I would be very grateful.
(I sent a "feedback" to MS asking that they expose this dialog through the
scripting interface, but I am not holding my breath for that to come true
anytime soon. I'd love to hear from the developer(s) at the MBU who work on
the AppleScript functionality in Office just to dispel my growing sense that
AppleScript is a dying art form).
TIA
"cheat" I have a dialog pop up telling the user to select the folder in the
main window, and then after they click the button I get the "displayed
feature" of the main window. This is not ideal for a number of reasons
(e.g., the dialog has to be run outside of the "tell Entourage" block, and if
the executing script gets moved to the background the dialog can be lost).
Entourage has the handy "Choose Folder..." dialog that it uses when you
select, e.g., "Move Message" (Shift-Command-M by default). I am wondering if
there is a way to take advantage of that functionality in my own script. I
am willing to hack in XCode and Obj-C if necessary and provided a good nudge
in the right direction.
If anyone has thoughts on how to accomplish this, or even a good resource I
could refer to, I would be very grateful.
(I sent a "feedback" to MS asking that they expose this dialog through the
scripting interface, but I am not holding my breath for that to come true
anytime soon. I'd love to hear from the developer(s) at the MBU who work on
the AppleScript functionality in Office just to dispel my growing sense that
AppleScript is a dying art form).
TIA