تبلیغات :
ماهان سرور
آکوستیک ، فوم شانه تخم مرغی ، پنل صداگیر ، یونولیت
دستگاه جوجه کشی حرفه ای
فروش آنلاین لباس کودک
خرید فالوور ایرانی
خرید فالوور اینستاگرام
خرید ممبر تلگرام

[ + افزودن آگهی متنی جدید ]




نمايش نتايج 1 به 4 از 4

نام تاپيک: msagent به چه درد ميخوره؟

  1. #1
    داره خودمونی میشه saeid_saeid's Avatar
    تاريخ عضويت
    Jun 2005
    محل سكونت
    روي زمين
    پست ها
    153

    9 msagent به چه درد ميخوره؟

    سلام.
    مي‌خواستم بدونم هد msagent كه تو دايركتري ويندوز هستش به چه دردي ميخوره.مثل خوره افتاده تو جونم. اگه ميدونين بگينو منو خلاصم كنين. مر30

  2. #2
    پروفشنال MasterData's Avatar
    تاريخ عضويت
    Jul 2005
    محل سكونت
    مشهدالرضا
    پست ها
    623

    پيش فرض

    موقعي كه داري با اكسپلورر جستحو ميكني ديدي اون سگه بالا پايين ميپره
    اون يكي از agentهاي ويندوز هست

  3. #3
    حـــــرفـه ای mpsjavad's Avatar
    تاريخ عضويت
    Feb 2005
    محل سكونت
    ¤¤ بندرعباس ¤¤ ، ديار گرما ، شرجي و عشق
    پست ها
    2,077

    پيش فرض

    با سلام ..

    در تاييد گفته هاي جناب MasterData ...


    NAME

    Win32::MSAgent - Interface module for the Microsoft Agent

    SYNOPSIS

    use Win32::MSAgent;
    my $agent = Win32::MSAgent->new('Genie');

    my $char = $agent->Characters('Genie');
    $char->SoundEffectsOn(1);
    $char->Show();

    $char->MoveTo(300,300);
    sleep(5);

    my $olenum = $c->AnimationNames();
    my $names = Win32::OLE::Enum->new($olenum);
    my @animations = $names->All();

    foreach my $animation (@animations)
    {
    my $request = $char->Play($animation);
    $char->Speak($animation);
    my $i = 0;
    while (($request->Status == 2) || ($request->Status == 4))
    { $char->Stop($request) if $i >10; sleep(1); $i++}
    }

    DESCRIPTION

    Win32::MSAgent allows you to use the Microsoft Agent 2.0 OLE control in your perl scripts. From the Microsoft Website: "With the Microsoft Agent set of software services, developers can easily enhance the user interface of their applications and Web pages with interactive personalities in the form of animated characters. These characters can move freely within the computer display, speak aloud (and by displaying text onscreen), and even listen for spoken voice commands."

    Since the MS Agent itself is only available on MS Windows platforms, this module will only work on those.

    See the included demo.pl for some sample code.

    PREREQUISITES

    In order to use the MSAgent in your scripts, you need to download and install some components. They can all be downloaded for free from [ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ] for more information on installation of the neccesary components, visit [ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]

    1. Microsoft Agent Core Components
    2. Localized Language Components
    3. MS Agent Character files (.acs files)
    4. Text To Speech engine for your language
    5. SAPI 4.0 runtime
    Optionally you can install the Speech Recognition Engines and the Speech Control Panel. The Speech Recognition part of MS Agent is not supported in this version of Win32::MSAgent

    USAGE

    See the Microsoft Agent API reference for a complete description of all objects, properties and methods. This module has some extra methods, which are described below.

    $agent = Win32::MSAgent->new([charactername])
    The constructor optionally takes the name of the character to load. It loads the MS Agent OLE control, connects to it, and if the character name is supplied, it loads that character in the Characters object already. It returns the Win32::MSAgent object itself.

    GetInstalledLanguages
    This method returns a list of all installed languages with their countryname. It may look like ('Dutch (Netherlands)', 'Dutch (Belgium)', 'English (United States)', 'Portuguese (Brazil)'). Some speechengines (notably the Fluency TTS engines) don't return a languageID. In this case this language is ignored, because the Microsoft Agent needs a languageID to be able to work.

    GetInstalledVoices
    This method takes a language as returned by GetInstalledLanguages and returns a list of all installed voices with their language. It may look like ('Adult female (Dutch)', 'Microsoft Sam (US English)')

    Language2LanguageID
    This method takes a language as returned by GetInstalledLanguages and returns the corresponding LanguageID that Win32::SAPI knows. This also converts the 'unknown' that might be returned by GetInstalledLanguages back to a 0.

    Voice2ModeID
    This method takes a voice as returned by GetInstalledVoices and returns the corresponding ModeID that Win32::SAPI4 knows.

    GetInstalledCharacters
    This method checks the harddrive (at default locations) for the existance of Agent Characters and returns their names in an array

    اينم منبع :

    کد:
    برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید

    حالا مشكلتون با اين برنامه و اين پوشه چي هست ؟؟
    Last edited by mpsjavad; 20-09-2005 at 19:49. دليل: يافتن اطلاعات جديد

  4. #4
    داره خودمونی میشه saeid_saeid's Avatar
    تاريخ عضويت
    Jun 2005
    محل سكونت
    روي زمين
    پست ها
    153

    پيش فرض

    بابا ايول .
    منو راحت كردينا.شب خوابم نميبرد.حالا راحت ميتونم بخوابم.مر30

Thread Information

Users Browsing this Thread

هم اکنون 1 کاربر در حال مشاهده این تاپیک میباشد. (0 کاربر عضو شده و 1 مهمان)

User Tag List

قوانين ايجاد تاپيک در انجمن

  • شما نمی توانید تاپیک ایحاد کنید
  • شما نمی توانید پاسخی ارسال کنید
  • شما نمی توانید فایل پیوست کنید
  • شما نمی توانید پاسخ خود را ویرایش کنید
  •