PDA

View Full Version : برقراری ارتباط صوتی با Agent ها



Gladiator
سه شنبه 02 اردیبهشت 1382, 12:08 عصر
با سلام

امیدوارم حال همگی خوب باشه ...

دوستان اگر در مورد نحوه برقراری ارتباط ( صدور فرمان ) با Agent های مایکروسافت اطلاعاتی دارید ممنون میشم اگر به ما هم یه توضیحی بدین .

با تشکر .
گلادیاتور .

khafanovich
سه شنبه 02 اردیبهشت 1382, 23:23 عصر
گلادیور جان سلام.....
ببخشید من یک سوال داشتم....
شما توانسته اید فونت بالون agent ها رو تغییر بدهید...

البته ببخشید که در اینجا این سوال رو مطرح کردم...
چون من هنوز نتوانسته ام این کار را بکنم...
ببخشید.

Gladiator
سه شنبه 02 اردیبهشت 1382, 23:43 عصر
با سلام

دوست عزیز من تا به حال نیازی نداشتم . ولی سوال شما رو در این مورد دیدم و جواب آقای نصیری رو هم بررسی کردم ولی نتونستم جوابی بگیرم .

اگر تونستم فونتشو عوض کنم خبرت میکنم .

Gladiator
چهارشنبه 03 اردیبهشت 1382, 00:05 صبح
خفن جون

توی سایت مایکروسافت جستجو کن

من یه آدرس پیدا کردم ببین بدرد میخوره یا نه

من هنوز امتحانش نکردم .

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msagent/paface_6a05.asp

موفق باشی .

Gladiator
چهارشنبه 03 اردیبهشت 1382, 00:11 صبح
Platform SDK: Agent

FontCharSet Property
Description
Returns or sets the character set for the font displayed in the specified character's word balloon.
Syntax
agent.Characters ("CharacterID").Balloon.FontCharSet [ = value] Part Description
value An integer value that specifies the character set used by the font. The following are some common settings for value:
0 Standard Windows characters (ANSI).

1 Default character set.

2 The symbol character set.

128 Double-byte character set (DBCS) unique to the Japanese version of Windows.

129 Double-byte character set (DBCS) unique to the Korean version of Windows.

134 Double-byte character set (DBCS) unique to the Simplified Chinese version of Windows.

136 Double-byte character set (DBCS) unique to the Traditional Chinese version of Windows.

255 Extended characters normally displayed by Microsoft MS-DOS® applications.

For other character set values, consult the Platform SDK documentation.



Remarks
The default value for the character set of a character's word balloon is set in the Microsoft Agent Character Editor. In addition, the user can override the character-set settings for all characters in the Microsoft Agent property sheet.

This property applies only to your client application's use of the character; the setting does not affect other clients of the character or other characters of your client application.

Note If you are using a character that you did not compile, check the FontName and FontCharSet properties for the character to determine whether they are appropriate for your locale. You may need to set these values before using the Speak method to ensure appropriate text display within the word balloon.




منبع : سایت مایکروسافت .

Vahid_Nasiri
پنج شنبه 04 اردیبهشت 1382, 00:50 صبح
نوشدارو بعد از مرگ سهراب برای خفن جان! :wink: :lol:




// Simple MS-Agent example for Delphi.
procedure TForm1.FormCreate(Sender: TObject);
begin
// import microsoft agent active-x control 1st!
Agent1.Characters.Load( 'Merlin', 'Merlin.acs');
with Agent1.Characters.Character('Merlin') do
begin
MoveTo(320,200,32);
Show(0);
Play('Announce');
Play('Wave');
Balloon.FontName := 'Comic sans ms';
Balloon.FontSize :=10 ;
Speak('Salaam! Mokhlesim!','');
Play('DoMagic1');
Play('Surprised');
Play('Acknowledge');
Play('Congratulate_2');
Hide(0);
end ;
end;

khafanovich
پنج شنبه 04 اردیبهشت 1382, 08:24 صبح
دست شما درد نکنه :)
ما شماره 41 کفش همه دوستانیم...
باز هم ممنون .....
موفق باشید.

robochoo
چهارشنبه 18 آذر 1383, 19:19 عصر
salam
age dstorat agent ha ro kamel mikhahid be sait microsoft unit agent beravid
hame chiz kamel ast
bye