I am a non-developer (research worker), using a Mac, recently learned that AppleScript to improve the efficiency of a lot of help, hope to learn AppleScript. But the latest 10.10 systems will be released, and the new swift language is said to be able to achieve AppleScript functions. I would like to know the recent dev
The predecessor of AppleScript
This article is to read the notes of William R. Cook of "applescript.
This article describes the universal scripting language applescript on Mac OS and the universal inter-process communication mechanism Apple Events.Data Objects in Scriptable applications that support scripts include (child) elements (elements) and properties (properties) fields. (Sub) element fields can have multiple values. These values
The following Apple script can be used as an administrator to execute a command or program with inherited permissions.Do shell script ' chmod 777/tmp ' with administrator privilegesYou can do it in objective-c. Nsdictionary *error = [nsdictionary new]; NSString *script = @ "do shell script \" chmod 777/tmp\ "with administrator privileges"; Nsapplescript *applescript = [[Nsapplescript alloc] initwithsource:script];
AppleScript Quick StartAppleScript, as its name implies, is an apple-developed scripting language that uses AppleScript to manipulate other programs on MacOS systems, click buttons, send messages, simulate automated execution functions, such as opening a browser, emptying the Recycle Bin, and so on. is a very interesting script. Well, to get started quickly, let's start learning about it quickly.I. Let othe
The predecessor of AppleScript is the scripting language HyperTalk used by HyperCard. Apple discovered that HyperTalk's English-like syntax could be used to manipulate other software
AppleScript cycle:(* * 1. Repeat dead Loop *) Set num to 0display dialog num--simplest loop, is dead loop repeatset num to num + 1display dialog numif num≥10 thenexit Repeatend IfEnd Repeat(* 2. Number of cycles repeat n times where n can be a variable, can be a constant *)--Create global variable Numset num to 0global numset N to 6--limit loop n repeat n timesrun dial Ogscriptend repeat--Creating custom scripts Script Dialogscriptset num to num +
To share a movie in the company, in order to be able to play some movie clips simply, use AppleScript and Mplayerx's Seekto function to play the movie for the specified time period.Tell application"Finder"Open Document File"Xxx.mkv"of folder"Movies"of folder"Vector"of folder"Users"of startup disk using application file"Mplayerx.app"of folder"Applications"of Startup disk tell application"Mplayerx"Activate pause delay1SetIsfullscreenafter tofalseTell ap
Reply content:Basic syntax
Coding techniques, coding specifications
Various PHP modules
Learn a CMS or two-time development
Learn about Pdo,ado, data-driven layers, and learn MySQL on the go
Use a framework to help develop
Write all kinds of tools, drivers.
Write a small fra
reading is not enough, actual combat is the most important, so-called learning, such as in the "Python core programming 2" after class exercises/learning some small script/etc., here are several sites for the Python script instance study:
(1). Code share list--Python
(2). Python Code Library
(4). GitHub best choice, more search some related projects, look at someone else's code, copy the wheel!!
4. Advanced entryThe Python advanced section of learning can ref
C ++ experts learn advice and learn with an open mind ~~ [Reprinted], advice and learn modestly
1. Take C ++ as a new language learning (it has nothing to do with C! True .);
2. Read Thinking In C ++ instead of C ++.
3. read "The C ++ Programming Language" and "Inside The C ++ Object Model". Do not read them because they are difficult and we are beginners;
Coding skills and coding specifications
Various PHP m
0 reply content: basic syntax
Coding skills and coding specifications
Various PHP modules
Learning a cms or secondary development
Learn about PDO, ADO, data driver layer, and mysql
Error Reporting Mechanism
Use a framework to help developers
Write tools and drivers.
Write a small framework by yourself (to be honest, you don't have so much energy to write it. You need to understand a lot of
PHP Learning Notes (a) easy to learn php,php learn notes
With the first lesson, we can learn about the PHP environment.
1. Understanding of the environment:
2. Access method:
3. Modify the code and view it.
4. Use of variables
5. Code indentation to have a hierarchical relationship, and the best between the code to keep blank lines
6. Variable N
, unless you write to me like a book, there is no way to force yourself to see), you continue to look down.2:carbon,cocoa These two can be used, C, C++,obj-c (APPLESCRIPT-OBJC) and Swift four languages, these believe enough to learn a large array of. So Cocoa learn to write application layer software is much better, here is mainly OBJC and Swift, of course you ha
ObjectiveCommon problemsSchool curriculum design is not perfect, involving a wide range of what is not in-depth.Teachers lack practical work experience, for example, I often see teachers often teach students to do math problems such as small programs, but in the actual work, we do not play this.In my opinion, to learn a programming language, there is no need to limit the classroom, on the one hand is slow, on the other hand, if you want to
, and my mind is not confused. This makes me admire the opposite of heaven, I have been suffering from an English language from junior high school to the present. At the human language level, I am often killed in seconds.
Therefore, if programming may become your profession, it is necessary to study and practice for 5-10 years, because you may want to learn programming languages, operating systems, algorithms, databases (SQL nosql), web development, a
Learn how to use Mantle in 3 minutes !, Learn mantle in 3 minutes
Recently, it was my turn to explain Mantle at the iOS technology sharing meeting of the company's mobile internet business department. So I went to the Internet to search for materials. Finally, based on the articles in the next three links, I read them in order and summarized them, it took three minutes to share with you what this Mantle was
Talk about how beginners learn php ^_^
The article at the beginning of the list of so many contact, it will inevitably make you feel a bit of ad's meaning, but can not be questioned, there is really so little performance to ^_^, although sometimes too meticulous will be said mother, but fortunately this meticulous for programming, or pretty good!
From silently to others ask how to learn PHP
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.