text
stringlengths 0
15.7k
| source
stringlengths 6
112
|
---|---|
set stringTabs to stringTabs & ","
|
json_tabs.scpt
|
set stringTabs to stringTabs & "]"
|
json_tabs.scpt
|
return stringTabs
|
json_tabs.scpt
|
end whatTabs
|
json_tabs.scpt
|
my whatTabs()
|
json_tabs.scpt
|
property _delimiter : ", "
|
Export with Comment Tags.applescript
|
set _items to selected items of browser window 1
|
Export with Comment Tags.applescript
|
if _items is missing value then return
|
Export with Comment Tags.applescript
|
set _itemc to count of (_items as list)
|
Export with Comment Tags.applescript
|
if _itemc is 1 then
|
Export with Comment Tags.applescript
|
set _dst to choose file name with prompt "Export selected item as:" default name (get name of item 1 of _items)
|
Export with Comment Tags.applescript
|
set _dst to choose folder with prompt "Export selected items to:"
|
Export with Comment Tags.applescript
|
set _files to export _items to _dst
|
Export with Comment Tags.applescript
|
set _filec to count of (_files as list)
|
Export with Comment Tags.applescript
|
if _filec is not equal to _itemc then
|
Export with Comment Tags.applescript
|
display alert "Export with Comment Tags error:" message "The number of exported files (" & _filec & ") does not match the number of selected items (" & _itemc & "). Comment tags cannot be applied." as critical
|
Export with Comment Tags.applescript
|
set _tid to AppleScript's text item delimiters
|
Export with Comment Tags.applescript
|
set AppleScript's text item delimiters to {_delimiter}
|
Export with Comment Tags.applescript
|
repeat with _i from 1 to _itemc
|
Export with Comment Tags.applescript
|
set _tags to name of tags of item _i of _items
|
Export with Comment Tags.applescript
|
if (count of _tags) is greater than 0 then
|
Export with Comment Tags.applescript
|
set _comments to _tags as string
|
Export with Comment Tags.applescript
|
set _file to item _i of (_files as list)
|
Export with Comment Tags.applescript
|
tell application "Finder" to set comment of (_file as alias) to _comments
|
Export with Comment Tags.applescript
|
set AppleScript's text item delimiters to _tid
|
Export with Comment Tags.applescript
|
tell application "FileMaker Pro"
|
Script 25-4.applescript
|
tell database "Inventory"
|
Script 25-4.applescript
|
tell table "equipment"
|
Script 25-4.applescript
|
tell (every record whose cell "model" is "DP-121")
|
Script 25-4.applescript
|
set cell "status" to "obsolete"
|
Script 25-4.applescript
|
set calColors to {}
|
get colors.applescript
|
repeat with theCal in calendars
|
get colors.applescript
|
set calColors to calColors & {{name:name of theCal, color:color of theCal}}
|
get colors.applescript
|
calColors
|
get colors.applescript
|
set sdcardPath to ":Volumes:NO NAME:PRIVATE:AVCHD:BDMV:STREAM"
|
SetPhotoDates.applescript
|
set clipList to (get selection)
|
SetPhotoDates.applescript
|
log clipList
|
SetPhotoDates.applescript
|
set lowestClipNum to 999
|
SetPhotoDates.applescript
|
repeat with clip in clipList
|
SetPhotoDates.applescript
|
set clipName to filename of clip
|
SetPhotoDates.applescript
|
set clipNum to (my getClipNumber(clipName))
|
SetPhotoDates.applescript
|
log lowestClipNum & " <? " & clipNum
|
SetPhotoDates.applescript
|
if clipNum < lowestClipNum then
|
SetPhotoDates.applescript
|
set lowestClipNum to clipNum
|
SetPhotoDates.applescript
|
set startingPhotosClip to lowestClipNum
|
SetPhotoDates.applescript
|
set startingMTSClip to startingPhotosClip - 1
|
SetPhotoDates.applescript
|
log startingPhotosClip & "; " & startingMTSClip
|
SetPhotoDates.applescript
|
set MTSNum to (clipNum) + startingMTSClip - startingPhotosClip
|
SetPhotoDates.applescript
|
log (get filename of clip)
|
SetPhotoDates.applescript
|
log "clipNum = " & clipNum & "; MTSNum = " & MTSNum
|
SetPhotoDates.applescript
|
if MTSNum < 10 then
|
SetPhotoDates.applescript
|
set MTSPath to sdcardPath & ":0000" & MTSNum & ".MTS"
|
SetPhotoDates.applescript
|
else if MTSNum < 100 then
|
SetPhotoDates.applescript
|
set MTSPath to sdcardPath & ":000" & MTSNum & ".MTS"
|
SetPhotoDates.applescript
|
set MTSPath to sdcardPath & ":00" & MTSNum & ".MTS"
|
SetPhotoDates.applescript
|
log MTSPath
|
SetPhotoDates.applescript
|
set changeDate to creation date of (info for file MTSPath)
|
SetPhotoDates.applescript
|
log changeDate
|
SetPhotoDates.applescript
|
set date of clip to changeDate
|
SetPhotoDates.applescript
|
on getClipNumber(clipName)
|
SetPhotoDates.applescript
|
if length of clipName is 11 then
|
SetPhotoDates.applescript
|
set clipNum to ((character 7 of clipName) as string) as number
|
SetPhotoDates.applescript
|
else if length of clipName is 12 then
|
SetPhotoDates.applescript
|
set clipNum to ((characters 7 through 8 of clipName) as string) as number
|
SetPhotoDates.applescript
|
else if length of clipName is 13 then
|
SetPhotoDates.applescript
|
set clipNum to ((characters 7 through 9 of clipName) as string) as number
|
SetPhotoDates.applescript
|
return clipNum
|
SetPhotoDates.applescript
|
end getClipNumber
|
SetPhotoDates.applescript
|
display dialog "Name of the Blog Post" default answer ""
|
of_blog_post_template.applescript
|
set postName to (text returned of result)
|
of_blog_post_template.applescript
|
set currentUser to (name of current user)
|
of_blog_post_template.applescript
|
set pContext to first flattened context where its name = "Blog"
|
of_blog_post_template.applescript
|
set tContext to first flattened context where its name = "Computer"
|
of_blog_post_template.applescript
|
set myFolder to first flattened folder where its name = "Blog"
|
of_blog_post_template.applescript
|
set dateToday to (current date)
|
of_blog_post_template.applescript
|
set MyProject1 to make new project with properties {name:postName, context:pContext} at end of project of myFolder
|
of_blog_post_template.applescript
|
tell MyProject1
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"Folder Created in dropbox to store pictures", context:pContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"Pictures downloaded and stored in folder", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"Draft Started", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"Post Finished", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"Review and spell check", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"Final Read through", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"usual final paragraph added", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"Also like blog code", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"tags assigned", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"post scheduled", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"Tinyurl created", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"Bento Updated", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"Tweets about post", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"G+ about post", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set MyAction to make new task with properties {name:"Clean Up dropbox folder", context:tContext, start date:dateToday}
|
of_blog_post_template.applescript
|
set mainFolder to "Macintosh HD:Users:craigdba:Dropbox:Geek Computers:Posts:blog" as alias
|
of_blog_post_template.applescript
|
make new folder at folder mainFolder with properties {name:postName, location:mainFolder}
|
of_blog_post_template.applescript
|
set theURL to URL of front document
|
safari_url.applescript
|
set the clipboard to theURL & return
|
safari_url.applescript
|
set jiraBaseURL to "https://mileiq.atlassian.net/browse/"
|
Open JIRA copy 4.applescript
|
tell application "Microsoft Edge Dev"
|
Open JIRA copy 4.applescript
|
set numParagraphs to (number of paragraphs of (the clipboard))
|
Open JIRA copy 4.applescript
|
set URLtoOpen to jiraBaseURL & (the clipboard)
|
Open JIRA copy 4.applescript
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.