• 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: Simple Pict conversion help (More)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple Pict conversion help (More)


  • Subject: Re: Simple Pict conversion help (More)
  • From: Dave Groover <email@hidden>
  • Date: Mon, 24 Mar 2003 10:29:39 -0500

property dialog_timeout : 10 -- set the amount of time before dialogs
auto-answer.

on adding folder items to this_folder after receiving added_item
try
tell application "Finder"
set the folder_name to the name of this_folder
open this_folder
reveal the added_item
end tell
end try
end adding folder items to

tell application "MacLinkPlus Deluxe"
activate
(translate added_item to PICT) format
end tell

Sorry for my bang and chop methods of script compiling but, this is
as far as I have gotten with this so far. It isn't doing more than
opening and revealing what was dropped on the folder. Eventually I
will want to move the converted files and also rename them. But,
small steps first. All I did was to gut out the notification and
choice options from a standard watched folder script. Then I read the
dictionary in Maclink and hopefully chose the correct syntax for
converting the file to a pict format. I have not tested my logic yet.

I can't get this iteration of the script to give any MacLink Plus
results. The MacLink is in classic and on another disk. The correct
path to the MacLink program is: Jupiter Drive:Applications (Mac OS
9):Utility Programs:MacLinkPlus Deluxe 12:MacLinkPlus Deluxe

Again, any help would be appreciated.

Thanks.

Dave

>Sorry if this is elementary, but I need to figure out how to do a
>simple file conversion via AppleScript. I booted back into 9 as X
>has no way to record finder actions. I was hoping to record the
>procedure once and learn from the process.
>
>I am not sure I even need an application for this as it should be
>something the system is already capable of doing. I was trying, in
>9, to record the script editor while dropping a file on the file
>converter utility, with no luck. I also tried recording the opening
>of Graphic Converter and changing the file types. No luck there
>either. I keep getting a system error number 17??.
>
>The whole point of this is to create a drop folder action where I
>can drag gifs or JPEGS off the Internet and convert them to a simple
>pict file. No tweaking, just convert. I would like it to be set up
>as a batch process but really one at a time would do nicely. I
>suppose it really wouldn't matter what format it was in to start, so
>long as converting the file type to pict would work.
>
>I have searched my disks for an example of this. I also searched my
>old AppleScript list archive files. I would have thought I had or
>had seen an example of this sort of thing before but, I could not
>find even one. I know this is a fairly common use of AS, to batch
>convert files for Quark, Photoshop and web folks.
>
>Is there a snippet of code, or an example, I can get my hands on to
>tell me how to do this? Thanks much.
>
>Dave
>_______________________________________________
>applescript-users mailing list | email@hidden
>Help/Unsubscribe/Archives:
>http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Entourage Script Question - Setting Read Status (From: Kai <email@hidden>)
 >Simple Pict conversion help (From: Dave Groover <email@hidden>)

  • Prev by Date: re : ow to make a background applet ?
  • Next by Date: Re: Wanted: Well scriptable browser
  • Previous by thread: Simple Pict conversion help
  • Next by thread: Re: Simple Pict conversion help
  • Index(es):
    • Date
    • Thread