Create a Card with Your Favorite Websites: and add buttons with images and code to go to each of your favorite websites:
Example of a card with your favorite websites: add buttons with images and code to go to each of your favorite websites:
The following is a sample of the code from each button in the first column:
on mouseUp launch url "https://www.gmail.com/" end mouseUp
on mouseUp launch url "https://family.sis.pgcps.org/schoolmax/reset.do?0Mjumkz13-SgYEjWekr3%3dxguw3YEa.aU7zaju.xnn.xGOSG-OG- Sh%2bSS%256UOd%256U6D.qhhgwEkeUsrgwUVm3sEV" // pasted from a normal browser window after going to this site to get this url end mouseUp
on mouseUp launch url "http://www.collegeboard.org/" end mouseUp etc
Notes: if a filename has a space in the document name then revBrowser will silently fail. Replacing space with %20 cures this. replace " " with "%20" in myUrl
(more examples at the bottom of this page....
How To Do The Code:
1. Launch url - Opens a url (file/website/application/etc) in the correct application
Use the launch url command to open a url using the default action for the current system. The command performs an action appropriate to the protocol and address provided in the given URL.
Using:
urlToOpen is the url to launch. Can be in the following forms:
• http: url - will launch in the default browser application if available.
• file: path - open the file in the associated application
• tel: url - open the dialer with a given phone number
Examples:
launch url "http://www.livecode.com" launch url "file:/Users/ben/Desktop/test.pdf"
launch url "tel:44 7818 8822"
You can open up websites:
launch url "http://google.com"
launch url "http://www.livecode.com" with "C:\Program Files\Google\Chrome\Application\chrome.exe"
launch url "file:/Users/ben/Desktop/test.pdf"
launch "http://google.com" with "C:\Program Files\Google\Chrome\Application\chrome.exe" You can also open up documents:
launch url "file:/Users/ben/Desktop/test.pdf"
You can even start a phone call
launch url "tel:301 521 3333" launch url "tel:1 301 521 3333"
2. Launch Document - Opens a file/document/website/etc with the operating system's default program. The simplest way to display a document is to use the "launch document" command. It is the easiest way. This opens the document with the default program on your computer e.g Word, Excel, Safari, Chrome, etc
launch document "Bell Schedule.pdf"
launch document "Bell Schedule.pdf" - open up a pdf or jpg (cut and saved from the ERHS website) launch document "MyReport.doc" - open up a Word document in Word or Pages launch document "Expenses.xls" - open up a spreadsheet in Numbers or Excel launch document "Presentation.ppt" - open up a PowerPoint show
Now create one of your own with Your personal links, documents, pictures... experiment to see what works best for you
Examples:
|