Jump to content

İşletim Sistemini Tespit Edip Komut Verme


PColik
 Share

Recommended Posts

Arkadaşlar ben AMS ile hazırladığım projemde şöyle bir şey olmasını istiyorum:

 

  • Program açılır açılmaz işletim sistemini denetleyecek.
  • Eğer işletim sistem Windows XP ise CheckBox1 seçilecek
  • İşletim sistemi Windows Vista, 7, 8 veya 8.1 ise de CheckBox2 seçilecek.

Şimdiden teşekkürler arkadaşlar...

Link to comment
Share on other sites

System.GetOSName();

ile sistem adını alabilirsin

 

os_name = System.GetOSName();
if os_name == "Windows 7" then
CheckBox.SetChecked("CheckBox1", true);
end

Şeklinde koşullayarak da istediğin CheckBox'ı işaretleyebilirsin.

 
Link to comment
Share on other sites

windows 8 için ?

 

Help dosyasına baksaydın keşke.Farkeden birşey yok sistem adı yazman yetiyor.Helpdeki sistem isimleri;

Windows 8
Windows Server 2012
Windows 7
Windows Server 2008 R2
Windows Vista
Windows Server 2008
Windows XP
Windows Server 2003
Windows 2000
Windows NT 4
Windows NT 3
Windows ME
Windows 98
Windows 95
Edited by NotToday
Link to comment
Share on other sites

Windows 8.1'i algılatmak için 8.2.0.0 sürümünü kullanmanız gerekmektedir. ondan önceki sürümler Windows 8'e kadar algılayabiliyor.

 

 

 

New Version Available: 8.2.0.0
Today (September 25, 2013) we have released a new version of AutoPlay Media Studio (v8.2.0.0). Commercial users can download the new full installer from your customer portal.

This release contains the following features and bug fixes:
  • Feature: Updated AutoPlay Media Studio's design environment to support Windows 8.1.
  • Feature: Updated AutoPlay Media Studio's runtime manifests to support Windows 8.1.
  • Feature: Updated the 'System.GetOSName' action with Windows 8.1 and Windows Server 2012 R2.
  • Fix: Updated the constants for the 'System.GetOSProductInfo' action.
  • Fix: Updated IRScriptEditor.exe to 2.0.1001.0.
  • Fix: Fixed some missing object types in the 'DialogEx.SetFocus' action's action wizard properties.
  • Fix: Fixed a bug where performing 'Page.Jump' actions on the On Startup event would cause script to still be run on some of the first page's events.
  • Fix: Fixed a couple display issues on the Quick Action tab of the object's properties dialog.
  • Fix: Fixed a bug where some object fonts would always be anti-aliased regardless of the object's font settings.
  • Fix: Fixed a bug in the Script Explorer where if the same event was showing in both script editor panes, there was a potential for losing changes. It now prevents you from showing the same event in both editors.
  • Fix: Added a prompt to AutoPlay's uninstall that asks if you want to remove the software's preferences or not.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...