 |
|
 |
|
Next: travel cheap ampicillin gram negative ampicillin ..
|
| Author |
Message |
External

Since: Jul 15, 2003 Posts: 4218
|
(Msg. 16) Posted: Wed Jul 23, 2008 9:25 pm
Post subject: Re: Problems with colons ':' [Login to view extended thread Info.] Imported from groups: alt>comp>lang>applescript (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Sep 09, 2006 Posts: 3131
|
(Msg. 17) Posted: Wed Jul 23, 2008 9:25 pm
Post subject: Re: Problems with colons ':' [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article ,
Michelle Steiner wrote:
> In article ,
> Jolly Roger wrote:
>
> > > > > Check what scripting additions you have loaded. Here, OS X 10.5.4, I
> > > > > get {"2", "15", "21", "PM"}.
> > > >
> > > > Peculiar... I get:
> > > >
> > > > {"3", "19", "50", "PM"}
> > > >
> > > > Big difference! What gives?
> > >
> > > Did you run Software Update today? I just did, and now I get
> > >
> > > {"2", "59", "32", "PM"}
> >
> > This is SO... STRANGE... Now I get:
> >
> > {"7", "57", "32", "PM"}
> >
> > It's almost as if the numbers change every single time!!!
>
> It's magic, and only Mark Conrad can explain how it happens.
I almost wrote it off to time traveling rock stars.
--
Please send all responses to the relevant news group rather than directly
to me, as E-mail sent to this address may be devoured by my very hungry
SPAM filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google Groups.
You'll need to use a real news reader if you want me to see your posts.
JR >> Stay informed about: Problems with colons ':' |
|
| Back to top |
|
 |  |
External

Since: Jun 22, 2008 Posts: 30
|
(Msg. 18) Posted: Thu Jul 24, 2008 3:14 am
Post subject: Re: Problems with colons ':' [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Interesting things..
Anyway, my problem is solved. I like to have several options to filter
and call commands, not only direct referrals, because it turns handy
in a lot of manipulator operations.
(The 1.3.1400 was a Saturday) >> Stay informed about: Problems with colons ':' |
|
| Back to top |
|
 |  |
External

Since: May 16, 2004 Posts: 375
|
(Msg. 19) Posted: Fri Jul 25, 2008 9:34 pm
Post subject: Re: Problems with colons ':' [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 23/07/2008, Patrick Stadelmann wrote in message <Patrick.Stadelmann-
32E5D5.21252823072008.DeleteThis@individual.net>:
> Michelle Steiner wrote:
>
> > words of time string of (current date)
> >
> > --> {"Jul", "23", "12", "01", "49", "PM"}
>
> Only the time is supposed to be returned in "time string" (which is the
> case in 10.4.11). If you really get "Jul" and "23" in the output of the
> command above in Leopard, submit a bug report.
What part of the above is a bug ?
'time string' gives you the time as a piece of text
'words of x' gives you a list of the words of a piece of text
that's what I see above. By the way, the actual string that's returned in
the string are influenced by what international settings you've chosen.
It's not a very good way to get the details of a date, it would be better
to get the value of the date and use date-related maths to do things with
it: seconds of theDate, month of theDate, etc..
Simon.
--
http://www.hearsay.demon.co.uk >> Stay informed about: Problems with colons ':' |
|
| Back to top |
|
 |  |
External

Since: Jul 15, 2003 Posts: 4218
|
(Msg. 20) Posted: Fri Jul 25, 2008 9:34 pm
Post subject: Re: Problems with colons ':' [Login to view extended thread Info.] Imported from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Jul 26, 2008 Posts: 2
|
(Msg. 21) Posted: Sat Jul 26, 2008 8:46 am
Post subject: Re: Problems with colons ':' [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 2008-07-25 16:34:13 -0400, Simon Slavin
said:
>>> words of time string of (current date)
>>>
>>> --> {"Jul", "23", "12", "01", "49", "PM"}
>>
>> Only the time is supposed to be returned in "time string" (which is the
>> case in 10.4.11). If you really get "Jul" and "23" in the output of the
>> command above in Leopard, submit a bug report.
>
> What part of the above is a bug ?
>
> 'time string' gives you the time as a piece of text
>
> 'words of x' gives you a list of the words of a piece of text
Simon,
I have to agree with Michelle here. If you are seeing date info (as
above) in the result from
words of time string of (current date)
it's a bug. Regardless of the settings of the International Pref Pane,
"time string" should only return time info, "date string" should only
return date info. There's no way the format settings should change the
content of what is returned, it's only supposed to change the display
format.
For example, this script
log words of time string of (current date)
log words of date string of (current date)
returns the following in SD4 with my U.S. format settings (MacOS X
10.5.4) and the results are as expected.
-- started
current date
--> date "Saturday, July 26, 2008 8:14:21 AM"
(*8, 14, 21, AM*)
current date
--> date "Saturday, July 26, 2008 8:14:21 AM"
(*Saturday, July, 26, 2008*)
-- stopped >> Stay informed about: Problems with colons ':' |
|
| Back to top |
|
 |  |
External

Since: May 16, 2004 Posts: 375
|
(Msg. 22) Posted: Mon Jul 28, 2008 3:35 pm
Post subject: Re: Problems with colons ':' [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Jul 15, 2003 Posts: 4218
|
(Msg. 23) Posted: Mon Jul 28, 2008 4:38 pm
Post subject: Re: Problems with colons ':' [Login to view extended thread Info.] Imported from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Nov 12, 2003 Posts: 247
|
(Msg. 24) Posted: Tue Jul 29, 2008 9:34 am
Post subject: Re: Problems with colons ':' [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article ,
Michelle Steiner wrote:
> I found the cause of the problem; it is not a bug. I had changed
> parameters in International Preferences so that the date appears in the
> menu bar along with the time; Applescript's "time string" evidently
> reads this format.
How did you do that ? In International->Format, I have separate sections
for "Dates" and "Times" and I don't see a way to enter a date field in
the second one.
Patrick
--
Patrick Stadelmann >> Stay informed about: Problems with colons ':' |
|
| Back to top |
|
 |  |
External

Since: Jul 15, 2003 Posts: 4218
|
(Msg. 25) Posted: Tue Jul 29, 2008 9:34 am
Post subject: Re: Problems with colons ':' [Login to view extended thread Info.] Imported from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Nov 12, 2003 Posts: 247
|
(Msg. 26) Posted: Wed Jul 30, 2008 3:44 pm
Post subject: Re: Problems with colons ':' [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article ,
Gregory Weston wrote:
> I think you may be thinking of a means to explicitly set the format used
> by the menu bar display before 10.4. There's some sort of tickle in my
> brain to the effect that that clock started using the centralized
> user-configured format string as of Tiger.
It's the same modification, simply before Tiger you could not enter
format strings in the International preferences and you were restricted
to selecting the value for each position for a popup menus. Hence, it
was impossible to use date fields for the time string from the GUI.
But the menu bar clock in 10.3.9 does follow the settings from the
International preferences pane.
Patrick
--
Patrick Stadelmann >> Stay informed about: Problems with colons ':' |
|
| Back to top |
|
 |  |
| Related Topics: | AppleWorks and Spreadsheet problems - I'm having trouble with Appleworks spreadsheets. I've found how to change the default font of a WP document to what's needed, but am stuck on Spreadsheets and haven't looked at databases yet. I need to open all the AW version 5 documents, change the..
Scope or Inheritance Problems - I'm new to applescript and don't understand why I'm getting an error here. I have: tell application "Address Book" set my_s to "joe,sue" set my_l to my (split of my_s by ",") return my (join of my_l by ";") end...
Problems changing color profile via script - Hi, I was working on a small script that toggles the automatic brightness=20 adjustment on the PowerBook, and sets the appropriate color profile for=20 the monitor. While the automatic brightness works fine (it's a checkbox), I have=20 problems fiddlin...
Problems with TIFF scaling via Folder Actions -
Problems iterating through a loop (indesign script) - I have a script that generates a list of page numbers. I want to plug those page numbers onto the first page of a document (like a table of contents, but the text of this page needs to be edited independently, with the page numbers plugged in as the fina... |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|