• 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: packing a Service fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: packing a Service fails


  • Subject: Re: packing a Service fails
  • From: demski <email@hidden>
  • Date: Sun, 20 Jan 2008 15:30:49 +0100

salut, yvan!
I tried your script here.
I tested all different options of just installing the service, packing up and packing up for share.
everything works fine, as anyone would expect!


The only thought I have is something about permissions?
Could it be, that there are no write-permissions at the location you're packing the service to?


mit besten Grüssen
Kind regards

demski

Am 19.01.2008 um 21:04 schrieb KOENIG Yvan:

Hello

I wrote two scripts which I want to pack as Services using ThisService.

--[SCRIPT insertDateTime]
on process()
	set curDate to (current date) as Unicode text
	--return curDate
end process
--[SCRIPT]

--[SCRIPT insertSerialNumber]

(* From the Script Editor, save this script as a Script
Then pack it as a Service using the tool which you may download from:
http://wafflesoftware.net/thisservice/
Apply the setting: Produces output.
The Service will be directly created, installed and activated
Then working with a Services aware application,
select an insertion point then go to
menu theApplication > Services > pasteSerialNumber
will insert the serial number.
*)
on process()
set cd to current date

set serial to (year of cd as text) & text -2 thru -1 of ("0" & (month of cd as number)) & text -2 thru -1 of ("0" & day of cd) & "_" & text -2 thru -1 of ("0" & hours of cd) & text -2 thru -1 of ("0" & minutes of cd) & text -2 thru -1 of ("0" & seconds of cd)
--return serial
end process
--[SCRIPT]


I was able to generate the Services files (both of them defined as «Produces output » )

Alas, every time I try to use the Pack Up Service feature, the app quits.

I wonder if I made something wrong or if it is the same on other machines.

Yvan KOENIG _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40unter-anderem.com
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >packing a Service fails (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: INDESIGN: Object Style Preference Not Holding Between Launches
  • Next by Date: Re: packing a Service fails ...once more...
  • Previous by thread: Re: packing a Service fails
  • Next by thread: Re: packing a Service fails ...once more...
  • Index(es):
    • Date
    • Thread