• 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 ...once more...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: packing a Service fails ...once more...


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

It didn't crash, though the Service doesn't work anymore, when packed up...
maybe something for the developers of thisService?


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
  • Follow-Ups:
    • Re: packing a Service fails ...once more...
      • From: KOENIG Yvan <email@hidden>
References: 
 >packing a Service fails (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: packing a Service fails
  • 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