|
|||
|
Looking for how to reference the clipboard object on a Mac through a
browser? I have an .asp page that I wrote which when you click on a button it copies text to the clipboard so you can paste it in other places. Problem is the clipboard object doesn't exists on a Mac? So I need to figure out how to reference the Mac Clipboard and copy text to the clipboard through and ASP page. Hope that makes sense, thanks in advance to any help. |
|
|
||||
|
||||
|
|
|
|||
|
I wrote a paper on OLE and Windows which discussed the clipboard. The
Clipboard is part of the OLE system which includes a two-part connection. I think is is client-server. Also known as Container - Automation server if i recall. What you have is a container which is the Clipboard. The overstructure of these component technologies is ActiveX which is a standard for object computing and development of interfaces and interpreters that connect memory to the CPU. If you have any reference to Java for the Mac this would lead one to think that OLE is Mac compliant. And the Clipboard is just any container by its own name. Its a shared container for multiple applications that implement their own features for sharing objects taken off the Clipboard. If you need a container on a Mac what you can do is find one there, or use the virtual memory map that other applications use. Memory is pooled that way on these multi-tasking machines. If not a Java ActiveX situation you need to use COM which is probably built into the MAC operating system. Usee some COM component to call a file or a memory manager and put your memory stores in there. I'm into connected architectures i'm not able to locate the paper. this is related OLE material. Related OLE Some of this information is about issues concerning Superbase LANs and the uses of file access permissions and OLE programming techniques throughout a Superbase LAN. An OLE link or embed, using Superbase can be implemented throught the use of an External data type field. An External data type field holds a reference nuumber to the embedded object. Superbase can only act as a host application. From the Clipboard where the server has placed its embed, use PAste Special from Superbase and that will create the reference nuumber to the embedded object (use Ext data type with 14 chars in length)see Dalgleish p. 511-512. The ramifications of OLE is another subject. Lets takes a look at the background of OLE that I've looked into in the past, as we can relate back from Microsoft SQL server toward the Superbase LAN which is another. Microsoft Windows application. Is has been coming clearer, that Microsoft's ActiveX is a step beyond the type of implementation which Superbase has devised for the local LAN database whcih its multiple installation LAN version offers. Microsoft has reached further with the Internet Explorer browser, and Active X controls. Microsoft SQL Server offers the capability to publish real-time information, and provide interaction and customization for resources made available to your organization via an intranet. Microsoft SQL Server is in effect a network operating system, a LAN which allows complex intranet systems applications. These can be expanded in agreement with Microsoft's "Active Internet" strategy. This was the strategy that lead to the development of ActiveX technology which allows usrs to create interactive content using software components i.e, OLE DB, scripting languages (VBScript), and other embedded software which operates within HTML pagees. Active X is based opon OLE controls, and the data sharing that has been facilitated previously by OLE. SQL Server also provides user and appliation security, data integrity and concurrency controls, data stream encryption, data replication, and transparent distributed transactions. At the basic level OLE offers the ability to integrate a collaborative effort among the users of the Microsoft Office suite of applications, and the Lotus SmartSuite suite of applications. This is the TeamComputing approach, that makes a LAN so useful. A Lotus 1-2-3 worksheet can be pasted into a Word Pro document (Lotus Word Pro) as a worksheet (Clipboard), or using the Paste-Special command to paste it as a formatted table or text. OLE is in fact a feature of windows that allow the sharing of dynamic data between applications as well. Borland's 32 bit Paradox 7.0 is less complex than Microsoft SQL Server for a middle-sized database for intranet database systems. Borland's 7.0 provides ease of database creation, maintenance, and the dissemination of the collection of data. The expert wizards help you to create tables, produce reports or data entry forms, perform mail merges, and to import data from other sources. The Borland 7.0 system is compatible with other database technology and it can convert other database files into Paradoix files; in a file to file exchange. Borland's Paradox also supports a variety of the major business applicaton suites that are currently available (Microsoft Office, and Perfect Office). to facilitate data sharing among a host of applications.Additionally the Paradox MS Exchange/MAPI support, you have the option of distributing some, or all of your data, via email. The data email can serve as a fail-safe in the event of a hardware crash. Microsoft's "Active Internet" strategy has evolved with corporate communications in mind. And in conjunction with their "Active Internet" strategy, Microsoft has invested considerable time, effort, and financial resources into the development of their ActiveX technology, which is a robust and impressive mixing of technologies that will allow users to create and maintain interactive content using a number of software components, scripting languages (see VB script), and other currently available Microsoft applications by embedding them directly into either static or dynamically generated HTML pages. ActiveX is based in part upon OLE controls, and the data sharing that has previously been facilitated by OLE. Microsoft SQL Server also provides user and application security, data integrity and concurrency controls, data stream encryption, data replication, and transparent distributed transactions. WordPerfect lets you link or embed spreadsheet, database, and ASCII- or ANSI- delimited text files as regular WordPerfect text. This seems to approximate a word-processing special formatting program such as Adobe *.pdf documents. It seems to be a convenient approach and allows the user to embed a text file, spreadsheet, database, and ASCII or ANSI delimited textinto a W ordPerfect document. TYPES OF FILES The above paragraphs mention OLE DB, but the question persists for the issue of what is OLE? As I am browsing on a computer with WordPerfect 10 installed, I looked into the Help Files for the search term "server", What was returned looks to be an evaluation of OLE, and the Linking and Embedding properties which it enables. WordPerfect 10 supports object linking and embedding (OLE). Object linking and embedding is the process of inserting an object created in one application (the server) into another application (the client). An object can be text, a graphic, a chart, a spreadsheet, a sound or video clip, or any file created by an OLE-compliant application. To share information with Windows applications created before Windows 95, you must use Dynamic Data Exchange (DDE) instead of OLE. In this section you'll learn about: linking and embedding objects linking and embedding data created in other formats as regular text linking and embedding TextArt images linking and embedding video linking, embedding and using sound changing links updating links and editing OLE objects changing and hiding link icons Linking and embedding objects - WordPerfect lets you link and embed objects from any application registered with Windows as being OLE- or DDE-compliant. You can also link or embed selected information from a file. When you link information, it resides in the source (server) file where it was created. It displays in WordPerfect (the client file) in a graphic frame or as an icon. If you change the object in the source file, you can update the link in the WordPerfect file too. Linking is useful when you want to be able to edit an object in a single location and have the edits reflected in the linked locations as well. The server application is used to create and edit linked OLE objects, either in the source application or in WordPerfect. If you want to edit DDE linked information, the server application must be used. When you embed an object in a WordPerfect document, it is contained completely in the document file. The information is copied to WordPerfect but retains all the properties of the source application. An embedded object increases the size of a file and is not updated when you make changes in the source file. Embedding is useful if you want to insert an object and not have it change when its source file changes. You can embed an object in WordPerfect by creating a new object or by dragging the object into WordPerfect. You can embed multiple copies of an object by creating a Windows scrap file. You can also embed documents located on the Internet in a WordPerfect file as an object. Microsoft Personal Web Servers and Microsoft Access -Data AccessPages as they function as OLE -compliant applications Some SQL related information, not copied to this file, remains on the other file located on //SIMONE. The topic of this study is Relational Databases and networks (Network Relational Databases). Whatever information now here, which would not later moved to a Superbase topic section will emerge with more clarity after the present editing. Then the file located on //SIMONE can be re-edited as well with copy-paste. Computer Software The computer's processing unit has a list of instructions built into it by the manufacturer. The computer software will be used to give the computer your instructions. Programming languages like BASIC, Pascal, Logo, FORTRAN, and application programs (for processing words, data, and graphics) written in programming languages work with and around the computer's built-in list of instructions. The issue with the chapter "Taking Charge of the Computer" Radlow p. 104 is software program development. He considers general issues about programming languages and control structures which tell the computer which operations to perform in what order. Radlow includes another chapter about programming languages, Chapter 9 is designed to provide a working knowledge of BASIC. In order to use a modern computer you have to learn to use its instructions set. The computer is a logic machine. The computer is also a general purpose machine in that it can run several types of programs; it only has to be reconfigured before it can turn from one job to another Radlow p. 104. The reconfiguration of the all purpose computer is performed by using software written in a programming language. A typical computer software application is a spreadsheet language. It is used by the general user to keep track of accounts and to plot the course for business. Two examples of spreadsheet languages are VisiCalc and MultiPlan. The spreadsheet is the electronic cousin of the paper worksheets, or ledger sheets used in double entry accounting. Financial Simulation and Spreadsheets In accounting. a worksheet or spreadsheet is an extra-wide piece of paper divided into rows and columns. With it the user can give an organized presentation of financial data and financial calculations. Spreadsheet programs put the rows and columns of a large worksheet into computer memory, and display part of the worksheet on the computer's screen. The part of the worksheet that is visible onscreen is called a window to the larger worksheet in memory. There are commands in the program for viewing any of the screen sized boxes. Accounting and financial work is done using a spreadsheet because accounting itself is a way of modeling reality, and the generally accepted principles of accounting are the most widely used and recognized modeling rules in our society. Accounting principles have been used to model the framework, of Pentagon procurement, to find out why it wastes the taxpayers money. A spreadsheet works with multirow and multicolumn, or two-dimensional, arrays. This means that the spreadsheet formulas are not restricted to one row or to one column of data. With a spreadsheet, formulas can refer to one row at a time, to one column at a time, or to a two dimensional array (a block) of rows and columns with equal ease. Electronic spreadsheets are so easy to use, that usually the user does not perceive that they are in fact spreadsheet languages (languages). Yet they are langages that can reconfigure the computer even more radically than other languages are able to do. Some spreadsheets are able to sort alphanumeric data. With Multiplan, for eaxample we can alphabetize the NAMES column of the spreadsheet, which lists names in the vertical column. The rows are then also rearranged at the same time. A column of numerical data entries listed vertically can be sorted in ascending or descending order, by the number (1,2,3,4). The rows will again be rearranged to correspond with the numerical data in the sorted column. Spreadsheets are especially useful with what-if queries of financial spreadsheets. This will be discussed in Chapter 13 Radlow, which describes the use of the spreadsheet for business. If programming languages are distinguished by the fact that they reconfigure the computer for new calculations, then spreadsheets can be called computer languages. They reconfigure the computer so that it will store and manipulate numbers and text in a large number of onscreen and offscreen locations. The offscreen locations are in computer memory and can be called up at any time. We note that it is also possible to store data and formulas in a number of different worksheets, each holding 16,065 cells in each spreadsheet, with links between the related worksheets. Calculations in one of the linked worksheets affect cell values in all of the others. Financial Modeling The trasnsaction-recording functions of an accounting department are not in themselves accounting. They are the raw materials for accounting. One would say that transaction records form the database used in accounting. A firm's accounting department has the accounts receivable and accounts payable systems. Both of these are computer-implemented. The computer system records receivables, prints customer statements, controls credit, and records payments. Payables are amounts owed by the firm. The computer system verifies these amounts and prints checks for supplies of raw materials, overhead expense, payroll, taxes, and stockholder dividends. Accounting is the evaluation of records to show profit or loss, managerial efficiency or inefficiency,, changes in value, and gains or attrition in material and immaterial resources. By balancing these quantities against one another, the accountant builds a financial model of an enterprise. It is then possible to assess the current financial status of the enterprise (or institution), its progress toward meeting its financial goals, and its future prospects. This is done with the generally accepted accounting principles of objectivity, consistency, disclosure (that is supplementing data with explanations where necessary), conservatism, and fairness. For this the accountant must have professional experience, integrity, judgement, and intuition. Naturally, the computer is used in storing, processing, and retrieving the financial data the accountant uses in putting together a detailed financial model. Accurate, readily retrieved data is fundamental, but the computer is only now a tool. It cannot be substituted for human judgement in accounting, any more than it is ablew to be in engineering or science. The spreadsheet program introduces a new dimension. But it doesn't substitute for human judgement either. It enables us to use the computer more effectively. Radlow p. 385 Sppose a manufacturing company's management has been thinking about automating one of its factories. That will take capital. Raising capital costs money. How will the cost of raising capital affect profit and loss statements over the next several years. Radlow p. 386 Each spreadsheet window can be used for another question, and the combined data in memory is a financial model of the company's situation when and if it automates the factory see example p 387 Radlow... The cells in a spreadsheet have a value rule. One of the key ideas of contemporary software design is to divide the computer conceptually into smaller computers., or objects. The objects in a spreadsheet program are the cells. Each active, or value-holding cell in a spreadsheet has a value-rule. This rule gives the cell the computerlike capability of determining what type value it will hold (that is, whether the value is to be a number or a piece of text). It can also determine the relationship, if any, of the cell's value to values in other cells. The simplest value rules create static cells, capable only of holding data that has been entered. In a government agency, the receivables are the agency's budget. The payables include funds committed to contractors as well as payroll and overhead, and omit taxes and dividends. A system, whether it is a mechanism, an organism, a process, or an organization, is an assemblage of interrelated elements. The system's environment is the part of the real world that directly affects the system's functioning. Any action of the environment on the system is called an input,; and the reaction of the system is called an output. An input is transformed into output, the system passes from its original situation (state) into a next state. A computer program is a list of instructions, that we have in mind for the computer to do. Once a program is written as a series of individual basic instructions that the computer understands, the program is named. Anytime the program needs to be executed the user can issue just the one instruction, which is the name of the program. A step-by-step Radlow p. 109 procedure for solving a problem is called an algorithm. A program is certainly an algorithm, but an algorithm is not a program. Not unless it is written in instructions that the computer understands (basic computer instructions). Basic Structures A procedure is an algorithm that functions within another algorithm. The procedure would be called from within the larger algorithm, which is the program. The main module of the program, is known as the main module. The procedure would most likely include a return statement, which takes control back to the larger algorithm that called the procedure. Control structres serve as the way to instruct a computer what operations to perform and in what order. Three types of structures would be: sequencing branching looping Radlow p. 110 considers the development of algorithms which apply to sequencing, branching, and looping instructions. By learning to write algorithms in a pseudo language, you can learn how programming languages communicate with computers. Branching A branching instruction is used after the condition is tested. A computer processor is built to test, to see if a condition is true or false. Typically the programmer should debug the program by checking for either of the outcomes that are expected from the decision. The corresponding control structure is known as branching. "spxChrome" <klein@spxchrome.com> wrote in message news:1143165400.092063.45460@g10g2000cwb.googlegro ups.com... > |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| BSF4Rexx problem with nested invocations | E.Duijs | Newsgroup comp.lang.rexx | 3 | 04-04-2009 09:47 PM |
| Re: Hash object (was Re: Dynamically created dataset using hash | Dorfman, Paul | Newsgroup comp.soft-sys.sas | 0 | 08-28-2006 06:40 AM |
| Hash object (was Re: Dynamically created dataset using hash object?) | Scott Bass | Newsgroup comp.soft-sys.sas | 1 | 08-27-2006 10:16 PM |
| Re: forward a method programmatically within a composite object | Workman, Rob | Newsgroup comp.soft-sys.sas | 0 | 05-22-2006 03:15 PM |
| Re: Frame object attribute references | Tim Muir | Newsgroup comp.soft-sys.sas | 0 | 07-28-2005 03:04 AM |