VB form show in script
VB form show in script
- Subject: VB form show in script
- From: Rajeev Kumar <email@hidden>
- Date: Mon, 20 Sep 2004 05:57:34 +0100 (BST)
Hi all
I am using OS 9.2 can I show a VB form in my script an call a subroutine of C++.
email@hidden wrote:
Send Applescript-users mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/applescript-users
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Applescript-users digest..."
Today's Topics:
1. Re: Bug ? (Bernard Azancot)
2. Re: Bug ? (Bernard Azancot)
3. Re: Entourage and HTML Email (Paul Berkowitz)
4. Re: Entourage and HTML Email (jj)
5. Re: VB or c++ call in script (Johnny AppleScript)
6. Re: Entourage and HTML Email (Jason Bourque)
7. Re: VB or c++ call in script (Jean-B!
aptiste
LE STANG)
8. Re: Entourage and HTML Email (Jean-Baptiste LE STANG)
9. Re: VB or c++ call in script (John C. Welch)
10. Re: Entourage and HTML Email (Jason Bourque)
11. Re: Entourage and HTML Email (Jean-Baptiste LE STANG)
12. Re: VB or c++ call in script (Paul Berkowitz)
13. Re: VB or c++ call in script (Johnny AppleScript)
14. Replicating idle-time ... (Brian Johnson)
15. Re: VB or c++ call in script (Gnarlodious)
----------------------------------------------------------------------
Message: 1
Date: Sun, 19 Sep 2004 21:19:34 +0200
From: Bernard Azancot
Subject: Re: Bug ?
To: Jeff Porten
Cc: AppleScript
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Le 19 sept. 04, à 20:49, Jeff Porten a écrit :
>> Experiment:
>>
>>!
; display
dialog "Voulez-vous coucher avec moi ?" --> Voulez- ous
>> coucher avec moi ?
>
>
>
> set AppleScript's text entendre delimiters to "risque"
LOL
Bernard
------------------------------
Message: 2
Date: Sun, 19 Sep 2004 21:33:04 +0200
From: Bernard Azancot
Subject: Re: Bug ?
To: AppleScript
Message-ID:
Content-Type: text/plain; charset=US-ASCII; format=flowed
Wooops !!
The same script is OK on a second Mac (same OS version)... ??!!!
Is there a sexual problem with the first Mac ?
Is it serious Doc ?
Are Macs males or females ?
Is that the famous AS X bug ?
I am carrying on looking for oddities in that first Mac.
Thnaks for your answers.
Regards
Bernard
------------------------------
Message: 3
Date: Sun, 19 Sep 2!
004
12:42:00 -0700
From: Paul Berkowitz
Subject: Re: Entourage and HTML Email
To: AppleScript-Users
Message-ID:
Content-Type: text/plain; charset="US-ASCII"
Take a look at how Entourage itself does multipart/alternative. Also, if you
plan to use us-ascii for the text/plain part, you'd better make sure that
you really are using only US-ASCII (NO curly quotes!). Otherwise, you'll
need IS) 8859-1 and quoted-printable. Again, look to see how Entourage does
it.
An easy way to make sure things are correct would be to make an HTML file
and trick Entourage into rendering it (it's actually the Tasman engine doing
that) by saving it. That will create a message source. You'll get a plain
text part with that. You can then modify the source, make a new message with
the modified source, and delete the original. Take a look at my "Send
Complex !
HTML X"
and "Make Hyperlinks X" scripts at
MacScripter.net
It might not be exactly what you want here, but might give you some useful
ideas.
--
Paul Berkowitz
> From: Jason Bourque
> Date: Sun, 19 Sep 2004 14:53:09 -0400
> To: AppleScript ML 2
> Subject: Entourage and HTML Email
>
> Hello,
>
> I'm tying to script the HTML email process. The basic process works but I
> want to add some things I have seen in Apple email from Apple eNews.
>
> It has some text above the html body that shows up if the recipient doesn't
> have HTML Email client. It directs them to some URLs to see the html email.
> But I tried to add it in the text I get from a template file but I see it in
> the HTML version when I shouldn't.
>
> I want to be able to add the "Content-Type:
text/plain; charset=us-ascii"
> section to the email so it works like apples emails?
>
> What am I missing? Any help appreciated.
>
> Jason Bourque
>
>
> Apples Headers
>
>
> " MIME-version: 1.0
> Content-type: multipart/alternative; boundary=This_is_the_boundary_hip_ho;
> charset=us-ascii
> Content-transfer-encoding: 7bit
> Precedence: bulk
>
>
> --This_is_the_boundary_hip_ho
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> You appear to be using an email application that won't properly
> display the graphical (or HTML) version of our newsletter. Because
> we want you to enjoy reading Apple eNews, we recommend that you
> visit the following site and switch to the plain text version of
> this newsletter:
>
> http://www.apple.com/enews/change/
>
> If you!
have
trouble reading today's issue of Apple eNews, please
> consider visiting the following web page where it has been posted
> for your enjoyment:
>
> http://www.apple.com/enews/currenteissue/
>
> If you receive a blank message with an enclosure, drag the enclosure
> into the window of your web browser and today's issue of Apple eNews
> will display in your web browser.
>
> Thank you.
>
>
> --This_is_the_boundary_hip_ho
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
>
>
> "
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
sage and
blah
--FLAG1
Content-type: multipart/alternative; boundary="FLAG2"
--FLAG2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
This is the plain text part
--FLAG2
Content-type: text/html; charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
This is the HTML part
--FLAG2--
--FLAG1--
###################################################
jj
> Hello,
>
> I'm tying to script the HTML email process. The basic process works but I
> want to add some things I have seen in Apple email from Apple eNews.
>
> It has some text above the html body that shows up if the recipient doesn't
> have HTML Email client. It directs them to some URLs to see the html email.
> But I tried to add it in the text I get from a template file but I see it in
> the HTML version when I shouldn't.
>
> I wan!
t to be
able to add the "Content-Type: text/plain; charset=us-ascii"
> section to the email so it works like apples emails?
>
> What am I missing? Any help appreciated.
>
> Jason Bourque
>
>
> Apples Headers
>
>
> " MIME-version: 1.0
> Content-type: multipart/alternative; boundary=This_is_the_boundary_hip_ho;
> charset=us-ascii
> Content-transfer-encoding: 7bit
> Precedence: bulk
>
>
> --This_is_the_boundary_hip_ho
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> You appear to be using an email application that won't properly
> display the graphical (or HTML) version of our newsletter. Because
> we want you to enjoy reading Apple eNews, we recommend that you
> visit the following site and switch to the plain text version of
> this newsletter:
>
>
http://www.apple.com/enews/change/
>
> If you have trouble reading today's issue of Apple eNews, please
> consider visiting the following web page where it has been posted
> for your enjoyment:
>
> http://www.apple.com/enews/currenteissue/
>
> If you receive a blank message with an enclosure, drag the enclosure
> into the window of your web browser and today's issue of Apple eNews
> will display in your web browser.
>
> Thank you.
>
>
> --This_is_the_boundary_hip_ho
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
>
>
> "
--
http://www.macscripter.net/
http://www.osaxen.com/
------------------------------
Message: 5
Date: Sun, 19 Sep 2004 14:26:13 -0600
From: Johnny AppleScript
Subject: Re: VB or c++ call in script
To: AppleScript U!
sers
Message-ID:
Content-Type: text/plain; charset="US-ASCII"
On 04/09/19 11:15 AM, "Paul Berkowitz" wrote:
> In OS X, it's simple: 'do shell script' command can do absolutely any Unix
> commands and programs.
Can it? I have been unable to create an SSH tunnel via AS. Is there a method
you can share for this?
------------------------------
Message: 6
Date: Sun, 19 Sep 2004 16:27:06 -0400
From: Jason Bourque
Subject: Re: Entourage and HTML Email
To: AppleScript ML 2
Message-ID:
Content-Type: text/plain; charset="US-ASCII"
Are you saying that it isn't a current feature in xmail?
Thanks,
On 9/19/04 3:41 PM, "jj" wrote:
> Hi!
>
> I'm just working in !
this
issue with XMail, and I think I've found the
> "universal" way to create MIME messages compatible with all email clients
> (seems that multipart/mixed is not supported by mozilla-based mua-s and
> others, and multipart/related is the way to go):
>
> ###################################################
> Date: blah
> From: blah
> To: blah
> MIME-version: 1.0
> Content-type: multipart/related; boundary="FLAG1"
>
> This is a MIME multipart message and blah
>
> --FLAG1
> Content-type: multipart/alternative; boundary="FLAG2"
>
> --FLAG2
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> This is the plain text part
>
> --FLAG2
> Content-type: text/html; charset="ISO-8859-1"
> Content-transfer-encoding: quoted-printable
>
>
>
> This is the HTML part
>
&g!
t;
>
> --FLAG2--
>
> --FLAG1--
> ###################################################
>
>
> jj
>
>> Hello,
>>
>> I'm tying to script the HTML email process. The basic process works but I
>> want to add some things I have seen in Apple email from Apple eNews.
>>
>> It has some text above the html body that shows up if the recipient doesn't
>> have HTML Email client. It directs them to some URLs to see the html email.
>> But I tried to add it in the text I get from a template file but I see it in
>> the HTML version when I shouldn't.
>>
>> I want to be able to add the "Content-Type: text/plain; charset=us-ascii"
>> section to the email so it works like apples emails?
>>
>> What am I missing? Any help appreciated.
>>
>> Jason Bourque
>>
>>
>> Appl!
es
Headers
>>
>>
>> " MIME-version: 1.0
>> Content-type: multipart/alternative; boundary=This_is_the_boundary_hip_ho;
>> charset=us-ascii
>> Content-transfer-encoding: 7bit
>> Precedence: bulk
>>
>>
>> --This_is_the_boundary_hip_ho
>> Content-Type: text/plain; charset=us-ascii
>> Content-Transfer-Encoding: 7bit
>>
>> You appear to be using an email application that won't properly
>> display the graphical (or HTML) version of our newsletter. Because
>> we want you to enjoy reading Apple eNews, we recommend that you
>> visit the following site and switch to the plain text version of
>> this newsletter:
>>
>> http://www.apple.com/enews/change/
>>
>> If you have trouble reading today's issue of Apple eNews, please
>> consider visiting the following web page where it has !
been
posted
>> for your enjoyment:
>>
>> http://www.apple.com/enews/currenteissue/
>>
>> If you receive a blank message with an enclosure, drag the enclosure
>> into the window of your web browser and today's issue of Apple eNews
>> will display in your web browser.
>>
>> Thank you.
>>
>>
>> --This_is_the_boundary_hip_ho
>> Content-Type: text/html; charset=us-ascii
>> Content-Transfer-Encoding: 7bit
>>
>>
>>
>> "
------------------------------
Message: 7
Date: Sun, 19 Sep 2004 22:33:06 +0200
From: Jean-Baptiste LE STANG
Subject: Re: VB or c++ call in script
To: Johnny AppleScript
Cc: AppleScript Users
Message-ID:
<email@hidden>
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Don't forget that for port lower than 1024 you'll have to be root. BTW
I'm not sure you'll be able to return from 'do shell script' without
force-quiting your script.
++ JB
Le 19 sept. 04, à 22:26, Johnny AppleScript a écrit :
> On 04/09/19 11:15 AM, "Paul Berkowitz" wrote:
>
>> In OS X, it's simple: 'do shell script' command can do absolutely any
>> Unix
>> commands and programs.
>
> Can it? I have been unable to create an SSH tunnel via AS. Is there a
> method
> you can share for this?
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update y!
our
jj"
wrote:
>
>> Hi!
>>
>> I'm just working in this issue with XMail, and I think I've found the
>> "universal" way to create MIME messages compatible with all email
>> clients
>> (seems that multipart/mixed is not supported by mozilla-based mua-s
>> and
>> others, and multipart/related is the way to go):
>>
>> ###################################################
>> Date: blah
>> From: blah
>> To: blah
>> MIME-version: 1.0
>> Content-type: multipart/related; boundary="FLAG1"
>>
>> This is a MIME multipart message and blah
>>
>> --FLAG1
>> Content-type: multipart/alternative; boundary="FLAG2"
>>
>> --FLAG2
>> Content-Type: text/plain; charset=us-ascii
>> Content-Transfer-Encoding: 7bit
>>
>> This is the plain text
part
>>
>> --FLAG2
>> Content-type: text/html; charset="ISO-8859-1"
>> Content-transfer-encoding: quoted-printable
>>
>>
>>
>> This is the HTML part
>>
>>
>>
>> --FLAG2--
>>
>> --FLAG1--
>> ###################################################
>>
>>
>> jj
>>
>>> Hello,
>>>
>>> I'm tying to script the HTML email process. The basic process works
>>> but I
>>> want to add some things I have seen in Apple email from Apple eNews.
>>>
>>> It has some text above the html body that shows up if the recipient
>>> doesn't
>>> have HTML Email client. It directs them to some URLs to see the html
>>> email.
>>> But I tried to add it in the text I get from a template file but I
>>> see it in
>>> the HTML version when I shouldn't.
>>>
>>> I want to be able to add the "Content-Type: text/plain;
>>> charset=us-ascii"
>>> section to the email so it works like apples emails?
>>>
>>> What am I missing? Any help appreciated.
>>>
>>> Jason Bourque
>>>
>>>
>>> Apples Headers
>>>
>>>
>>> " MIME-version: 1.0
>>> Content-type: multipart/alternative;
>>> boundary=This_is_the_boundary_hip_ho;
>>> charset=us-ascii
>>> Content-transfer-encoding: 7bit
>>> Precedence: bulk
>>>
>>>
>>> --This_is_the_boundary_hip_ho
>>> Content-Type: text/plain; charset=us-ascii
>>> Content-Transfer-Encoding: 7bit
>>>
>>> You appear to be using an ema!
il
application that won't properly
>>> display the graphical (or HTML) version of our newsletter. Because
>>> we want you to enjoy reading Apple eNews, we recommend that you
>>> visit the following site and switch to the plain text version of
>>> this newsletter:
>>>
>>> http://www.apple.com/enews/change/
>>>
>>> If you have trouble reading today's issue of Apple eNews, please
>>> consider visiting the following web page where it has been posted
>>> for your enjoyment:
>>>
>>> http://www.apple.com/enews/currenteissue/
>>>
>>> If you receive a blank message with an enclosure, drag the enclosure
>>> into the window of your web browser and today's issue of Apple eNews
>>> will display in your web browser.
>>>
>>> Thank you.
>>>
>>>
>>&!
gt;
charset="ISO-8859-1"
On 9/19/04 3:26 PM, "Johnny AppleScript" wrote:
>> In OS X, it's simple: 'do shell script' command can do absolutely any Unix
>> commands and programs.
>
> Can it? I have been unable to create an SSH tunnel via AS. Is there a method
> you can share for this?
What it cannot do is create interactive command streams. The command has to
run once, and be done, and it can report back a status/result.
john
--
The cops never think it¹s as funny as you do.
------------------------------
Message: 10
Date: Sun, 19 Sep 2004 17:03:28 -0400
From: Jason Bourque
Subject: Re: Entourage and HTML Email
To: AppleScript ML 2
Message-ID:
Content-Type: text/plain; charset="ISO-8859-1"
Ok, where can I get the download of
it?
Thanks,
Jason Bourque
On 9/19/04 4:38 PM, "Jean-Baptiste LE STANG"
wrote:
> the 'send raw mail' function of XMail lets you send whatever you want,
> but you're responsible for formating the content of the mail.
>
> ++ JB
>
> Le 19 sept. 04, à 22:27, Jason Bourque a écrit :
>
>> Are you saying that it isn't a current feature in xmail?
>>
>> Thanks,
>>
>>
>> On 9/19/04 3:41 PM, "jj" wrote:
>>
>>> Hi!
>>>
>>> I'm just working in this issue with XMail, and I think I've found the
>>> "universal" way to create MIME messages compatible with all email
>>> clients
>>> (seems that multipart/mixed is not supported by mozilla-based mua-s
>>> and
>>> others, and multipart/related is the way to
go):
>>>
>>> ###################################################
=== message truncated ===
Yahoo! India Matrimony: Find your life partner
online.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden