|
Re: System Events - Property Lists
Ok, I now think it IS because I don’t have a Property List File Object,
Creation:
set myParentDictionary to make new property list item with properties {kind:record}
— File Object in
set
Ok, I now think it IS because I don’t have a Property List File Object,
Creation:
set myParentDictionary to make new property list item with properties {kind:record}
— File Object in
set
|
By
Dave
·
#256
·
|
|
Re: System Events - Property Lists
Hi,
it doesn’t look if it is:
Since it accepts a property list. I can write it ok and look at the file in XCode, however when I come to read back the values it gives error:
value of property list
Hi,
it doesn’t look if it is:
Since it accepts a property list. I can write it ok and look at the file in XCode, however when I come to read back the values it gives error:
value of property list
|
By
Dave
·
#255
·
|
|
System Events - Property Lists
Hi All,
I have a question about the System Events Property List Suite.
I have code to setup a property list file and it seems to work ok.
It creates it and sets it to the initial values:
set
Hi All,
I have a question about the System Events Property List Suite.
I have code to setup a property list file and it seems to work ok.
It creates it and sets it to the initial values:
set
|
By
Dave
·
#254
·
|
|
Re: Testing the list
Yes it is.
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
Yes it is.
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
|
By
Jean-Christophe Helary <jean.christophe.helary@...>
·
#253
·
|
|
Re: Testing the list
Yep
By
Willis Grant
·
#252
·
|
|
Re: Help with POSIX File/Folder Paths
I posted this a few days ago, I’ve sorted it out now, took a while for my brain to re-enter AppleScript Mode!
I posted this a few days ago, I’ve sorted it out now, took a while for my brain to re-enter AppleScript Mode!
|
By
Dave
·
#251
·
|
|
Testing the list
Is this thing on?
--
Steve Mills
Drummer, Mac geek
Is this thing on?
--
Steve Mills
Drummer, Mac geek
|
By
Steve Mills
·
#250
·
|
|
Re: Help with POSIX File/Folder Paths
Opps, found a typeo:
Folder actually looks like this:
Test1.tp2
Test1 (Folder)
Test2.tp2
Test3.tp2
Test4.tp2
Test4 (Folder)
and the return should be:
myFileList: Test1.tp2,
Opps, found a typeo:
Folder actually looks like this:
Test1.tp2
Test1 (Folder)
Test2.tp2
Test3.tp2
Test4.tp2
Test4 (Folder)
and the return should be:
myFileList: Test1.tp2,
|
By
Dave
·
#249
·
|
|
Help with POSIX File/Folder Paths
Hi,
I’m modifying a large existing script. The Script does a lot of File Munging and passes things around as POSIX file/folder paths.
I haven’t done any AppleScript in a very long time and I
Hi,
I’m modifying a large existing script. The Script does a lot of File Munging and passes things around as POSIX file/folder paths.
I haven’t done any AppleScript in a very long time and I
|
By
Dave
·
#248
·
|
|
Acrobat and PDF page boxes
The following script returns a page box and bleed box even if the PDF it is run on does not contain said boxes.
tell application id "com.adobe.Acrobat.Pro"
try
set trimSize to get trim box of
The following script returns a page box and bleed box even if the PDF it is run on does not contain said boxes.
tell application id "com.adobe.Acrobat.Pro"
try
set trimSize to get trim box of
|
By
rocketjam@...
·
#247
·
|
|
Problems accessing properties of "window" class in System Prefences
Hello,
Whenever I try to refer to properties of the class «window» of Processes Suite "System Events» raises an error despite said properties being part of the dictionary for «window» element.
Hello,
Whenever I try to refer to properties of the class «window» of Processes Suite "System Events» raises an error despite said properties being part of the dictionary for «window» element.
|
By
Ilya Shebalin
·
#246
·
|
|
Re: Automator task working with Mail
2019/02/06 4:09、Keith Kaiser <wa0tjt@...>のメール:
Welcome to AppleScript Mailing List.
You’d better to make “Service” workflow to open fixed URL (https://www.qrz.com/lookup/) and
2019/02/06 4:09、Keith Kaiser <wa0tjt@...>のメール:
Welcome to AppleScript Mailing List.
You’d better to make “Service” workflow to open fixed URL (https://www.qrz.com/lookup/) and
|
By
Takaaki Naganoya
·
#245
·
|
|
Automator task working with Mail
I want to select a callsign (short string) in a Mail document, right click it and have it open; https://www.qrz.com/lookup/wa0tjt
the clicked string would be the wa0tjt part.
I created a 'Run Shell
I want to select a callsign (short string) in a Mail document, right click it and have it open; https://www.qrz.com/lookup/wa0tjt
the clicked string would be the wa0tjt part.
I created a 'Run Shell
|
By
Keith Kaiser
·
#244
·
|
|
Re: Dynamic creation of an AppleScript via AppleScript
On top of what Chris said, you can also create and run AppleScripts as .sh files.
Just write your AppleScript with a shebang targeting osascript:
#! /usr/bin/osascript
display dialog "hello,
On top of what Chris said, you can also create and run AppleScripts as .sh files.
Just write your AppleScript with a shebang targeting osascript:
#! /usr/bin/osascript
display dialog "hello,
|
By
2551phil
·
#243
·
|
|
Re: Dynamic creation of an AppleScript via AppleScript
Hey Markus,
Have a look at these two post on the Applescript Users List.
--
Best Regards,
Chris
https://lists.apple.com/archives/applescript-users/2015/Nov/msg00138.html
use framework
Hey Markus,
Have a look at these two post on the Applescript Users List.
--
Best Regards,
Chris
https://lists.apple.com/archives/applescript-users/2015/Nov/msg00138.html
use framework
|
By
Christopher Stone
·
#242
·
|
|
Dynamic creation of an AppleScript via AppleScript
Hi,
I want to create an AppleScript .scpt file programmatically without using Script Editor. The goal is to have some Apple Script commands in a plain text file to be used as a template. I want to
Hi,
I want to create an AppleScript .scpt file programmatically without using Script Editor. The goal is to have some Apple Script commands in a plain text file to be used as a template. I want to
|
By
Markus Ruggiero
·
#241
·
|
|
Re: AppleScript script unable to respond to a script statement correctly
Let's say in one loop itemRef contains a reference to item 3 of RecList. If the loop before called "set RecList to every record of RecList", and item 2 of RecList was not a record, then what was item
Let's say in one loop itemRef contains a reference to item 3 of RecList. If the loop before called "set RecList to every record of RecList", and item 2 of RecList was not a record, then what was item
|
By
Shane Stanley
·
#240
·
|
|
Re: AppleScript script unable to respond to a script statement correctly
Could I kindly ask you to elaborate a bit?
24.06.2018, в 5:19, Shane Stanley написал(а):
Could I kindly ask you to elaborate a bit?
24.06.2018, в 5:19, Shane Stanley написал(а):
|
By
Ilya Shebalin
·
#239
·
|
|
Re: AppleScript script unable to respond to a script statement correctly
You're redefining the value, and length, of RecList within you loop. That's a recipe for chaos.
--
Shane Stanley <sstanley@...>
<www.macosxautomation.com/applescript/apps/>,
You're redefining the value, and length, of RecList within you loop. That's a recipe for chaos.
--
Shane Stanley <sstanley@...>
<www.macosxautomation.com/applescript/apps/>,
|
By
Shane Stanley
·
#238
·
|
|
AppleScript script unable to respond to a script statement correctly
Hello,
I wrote a script which re-arranges items in a continuous order. The items are records each containing two properties: text which is a paragraph of the original text and a number which denotes
Hello,
I wrote a script which re-arranges items in a continuous order. The items are records each containing two properties: text which is a paragraph of the original text and a number which denotes
|
By
Ilya Shebalin
·
#237
·
|