• 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
clip2gif + choose in a determined folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

clip2gif + choose in a determined folder


  • Subject: clip2gif + choose in a determined folder
  • From: Marc Venot <email@hidden>
  • Date: Mon, 27 May 2002 09:54:06 +0200 (MEST)

[script]
property w : 80
property h : 80
property red : {65535, 0, 0}
property blue : {0, 0, 65535}
property green : {0, 65535, 0}
property yellow : {65535, 65535, 0}
property step : 20

tell application "Finder"
set dossierMe to folder of item ("" & (path to me)) as string
tell application "clip2gif"
set l to {}
save {w, h} in window -- creates a new window
repeat with i from 0 to 360 - step by step
save {w, h} in window 1 ,
drawing {chart data:{i, blue, 90, blue, 90, yellow, 90, red, 90, green},
chart style:pie,
position:{0, 0, w, h}}
set end of l to content of window 1
end repeat
end tell

tell application "GifBuilder"
new
repeat with p in l
make new frame at end with data {contents:(p as item), transparency:first
pixel, disposal
method:no, interframe delay:10}
end repeat
set depth to 4
set color table to system colors
set loop to 0
--set MaReponse to text returned of (display dialog "votre texte" default
answer "multigif") &
".gif"
save in (choose file name default name "multigif.gif")
--save in file (dossierMe & MaReponse)
end tell
end tell
[/script]

several questions:
- Clip2gif was build by Yves Piguet but doesn't seem to be supported
anymore.
The dictionary doesn't explain the details on how to pass the arguments.
Does someone have
them?

- for the line: the save in (choose file name ...)
how to incorporate in the command it has to be in the same folder as the AS
app?

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
_______________________________________________
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.

  • Prev by Date: Re: Printing PS from InDesign
  • Next by Date: Re: Recalculation of AppleWorks Spreadsheet
  • Previous by thread: Re: inconsistencies in getting a non-existent object
  • Next by thread: AppleScript gets incorrect file name - OSX
  • Index(es):
    • Date
    • Thread