Menu

Showing posts with label Chrome. Show all posts
Showing posts with label Chrome. Show all posts

Friday, November 29, 2013

[Batch Script] วิธีการเปิดเบราว์เซอร์ Chrome ด้วยตำแหน่งที่ต่างกัน
[Batch Script] How to Open Chrome Browsers with Difference Position

สมมติว่า ;C:\Program Files (x86)\Google\Chrome\Application ถูกเพิ่มไปยังพาธของระบบ
Suppose that ;C:\Program Files (x86)\Google\Chrome\Application is added to system path

สำหรับการเปิดเบราว์เซอร์ Chrome 2 เบราว์เซอร์ด้วยตำแหน่งที่ต่างกัน ลองสคริปต์ด้านล่าง
For opening two Chrome browsers with difference position, try below script
start chrome --window-position=100,100 --new-window
start chrome --window-position=400,400 --new-window

หมายเหตุ: ปิดเบราว์เซอร์ Chrome ทั้งหมดก่อนรันสคริปต์นี้
Notice: Close all Chrome browsers before running this batch script

Tuesday, October 29, 2013

[Batch Script] คำสั่งและตัวเลือกสำหรับบราวเซอร์ Chrome
[Batch Script] Chrome Browser Command Line

สมมติว่า ;C:\Program Files (x86)\Google\Chrome\Application ถูกเพิ่มไปยัง system path (ตาม วิธีการเพิ่มค่าใหม่ใน System Path)
Suppose that ;C:\Program Files (x86)\Google\Chrome\Application is added to system path (follow How to Add New Values to System Path)

เพื่อเปิดบราวเซอร์ Chrome ใช้คำสั่ง
To open Chrome browser, use command
start chrome

เพื่อเปิด URL ที่ต้องการด้วยบราวเซอร์ Chrome ใช้คำสั่ง
To open Chrome browser with specified URL, use command
start chrome "url"