• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Default Folder (was Re: bugs, bugs, bugs)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Default Folder (was Re: bugs, bugs, bugs)


  • Subject: RE: Default Folder (was Re: bugs, bugs, bugs)
  • From: "Bourque, Jason" <email@hidden>
  • Date: Sun, 1 Apr 2001 11:13:31 -0400

I use version 3.1 about 300+ times a day on two different machines with no
problem. and this is the code I use.

tell application "PreFab Player"
--Yield processor time to PreFab Player
set forced yield to true

set mouse delay to 7
set typing delay to 7

ignoring application responses
--Print
type "p" holding command
--Activate FrameMaker Printer Dialog
type page down key
--Disable Generate Acrobat Data
set value of checkbox 35 to 0
--Enable Western style Crop Marks
--drag from {172, 145} to {172, 157}
--Enable Print to File
drag from {437, 24} to {437, 40}
--Save Button to prompt location
click button "Save"
--Using default folder click where the folder is open to
open that location in a Navigation Dialog Box
SetFileDialogFolder alias folderPath
--Paste new file name into save dialog box.
type "v" holding command
--Save FrameMaker Document in the destination folder as
postscript
click button "Save"
end ignoring
end

Hope this helps

Jason Bourque
AppleScript Developer
Corporate Marketing and Communications
MFS Investment Management
617-954-5312


> ----------
> From: email@hidden
> Sent: Sunday, April 1, 2001 12:16 AM
> To: email@hidden
> Subject: Re: Default Folder (was Re: bugs, bugs, bugs)
>
> In a message dated 3/31/2001: email@hidden wrote
> >
> >I just upgraded from Default Folder 3.07 to 3.1 (because it's *always*
> >a good idea to upgrade to the latest version of anything) last week and
> hadn't
> >noticed that little goody.
> >
> >Having been a happy owner and user of Default Folder (www.stclairsw.com)
> >for several years, I wholeheartedly endorse it. It is a phenomenal time
> >save/frustration reducer, is actively supported, and works fine in the
> >Classic environment of OSX. I really miss the Default Folder control
> strip
> >module in OSX (heck, I miss the control strip period). I hope it gets
> updated
> >for OSX soon.
>
> But have you been able to actually use the scripting addition? My
> experience
> is that it works OK when the script is run from a script editor (Scripter
> OMM) but not when its part as an applet. v3.1 might be a little better (I
> only downloaded the demo yesterday), but I still get freezeups when I try
> to
> connect to folders on or network.
>
> Maybe I'm just using it incorrectly:
>
> property theFolder : (path to desktop)
> SetFileDialogFolder theFolder
> set theFolder to (choose folder with prompt "Select a subfolder")
> display dialog (theFolder as string) & " is the new default folder."
> buttons
> "OK"
>
> The second time you run it, the dialog should open in whatever directory
> you
> selected the first time. But I get intermittent system freezes (OS 9.0.4)
>
> Robert Kyle
> Star Tribune
> Minneapolis


  • Prev by Date: [ANN]: FMP Applescript Database to store you scripts
  • Next by Date: Re: Where am I?
  • Previous by thread: [ANN]: FMP Applescript Database to store you scripts
  • Next by thread: Re: Where am I?
  • Index(es):
    • Date
    • Thread