Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ITEMIDLIST strings
#1
I tried:

Macro Macro23
Code:
Copy      Help
Dir d1
foreach(d1 "$17$ 8A012E006401062031080300000000000000020000007E000000010000001100000050000000000045006E0065007200670079005F00500068006F006E0065005F004D006100780000005C005C003F005C0075007300620023007600690064005F00300062006200340026007000690064005F00320030003000380023003200380037003100310034003000310030003700340030003300380023007B00360061006300320037003800370038002D0061003600660061002D0034003100350035002D0062006100380035002D006600390038006600340039003100640034006600330033007D0000000D00000003D5150C17D0CE4790167B3F978721CC020000009A97D42643E626469E2B736DC0C92FDC0C0000001F0000002200000045006E0065007200670079005F00500068006F006E0065005F004D00610078000000932D058FCAABC54FA5ACB01DF4DBE59802000000480000006B46EA08A4E33643A1F3A44D2B5C438C0000741A595E96DFD3488D671733BCEE28BA3C6D783575B0B94988DD029876E11C01 4A050000440505203110030000001A00200000004073070000000000000000000000800200000B0000001900000014000000070000005400610072006A0065007400610020005300440000005300490044002D007B00320030003000300031002C002C00330031003900390038003300340035003200310036007D0000004A0065007200E100720071007500690063006F002000670065006E00E9007200690063006F0000007B00450046003200310030003700440035002D0041003500320041002D0034003200340033002D0041003200360042002D003600320044003400310037003600440037003600300033007D0000007B00340041004400320043003800350045002D0035004500320044002D0034003500450035002D0038003800360034002D003400460032003200390045003300430036004300460030007D0000007B00310041003300330046003700450034002D0041004600310033002D0034003800460035002D0039003900340045002D003700370033003600390044004600450030003400410033007D0000007B00390032003600310042003000330043002D0033004400370038002D0034003500310039002D0038003500450033002D003000320043003500450031004600350030004200420039007D0000007B00360038003000410044004600350032002D0039003500300041002D0034003000340031002D0039004200340031002D003600350045003300390033003600340038003100350035007D0000007B00320038004400380044003300310045002D0032003400390043002D0034003500340045002D0041004100420043002D003300340038003800330031003600380045003600330034007D0000007B00320037004500320045003300390032002D0041003100310031002D0034003800450030002D0041004200300043002D004500310037003700300035004100300035004600380035007D0000000D00000003D5150C17D0CE4790167B3F978721CC0F0000007A05A301D674804EBEA7DC4C212CE50A0200000013000000040000007A05A301D674804EBEA7DC4C212CE50A030000001F000000280000004A0065007200E100720071007500690063006F002000670065006E00E9007200690063006F0000007A05A301D674804EBEA7DC4C212CE50A0B00000013000000000000007A05A301D674804EBEA7DC4C212CE50A040000001500000000004073070000007A05A301D674804EBEA7DC4C212CE50A05000000150000000000F52D000000007A05A301D674804EBEA7DC4C212CE50A060000001500000000000040000000007A05A301D674804EBEA7DC4C212CE50A070000001F000000160000005400610072006A0065007400610020005300440000000D496BEFD85C7A43AFFCDA8B60EE4A3C050000001F000000320000005300490044002D007B00320030003000300031002C002C00330031003900390038003300340035003200310036007D0000000D496BEFD85C7A43AFFCDA8B60EE4A3C040000001F000000160000005400610072006A0065007400610020005300440000007A05A301D674804EBEA7DC4C212CE50A080000001F0000000200000000000D496BEFD85C7A43AFFCDA8B60EE4A3C0600000048000000000001306CAE044898BAC57B46965FE70D496BEFD85C7A43AFFCDA8B60EE4A3C1A0000000B00000000000D496BEFD85C7A43AFFCDA8B60EE4A3C07000000480000006001ED99FF17444C9D981D7A6F941921932D058FCAABC54FA5ACB01DF4DBE5980200000048000000BC5BF023DE152A4CA55BA9AF5CE412EF0D496BEFD85C7A43AFFCDA8B60EE4A3C170000001F0000000E00000073003200300030003000310000000000 BC020000B60206201907FB0000000200200000000000000000000000000000000000004936EB6580D00192E3E22711A1E048AB0CE17705A05F85FA0100000A0000000A00000027000000520069006E00670074006F006E00650073000000520069006E00670074006F006E006500730000007B00300030003000300035004100410041002D0030003000300031002D0030003000300032002D0030003000300030002D003000300030003000300030003000300030003000300030007D0000000D00000003D5150C17D0CE4790167B3F978721CC0A0000000D496BEFD85C7A43AFFCDA8B60EE4A3C020000001F0000000C0000006F00350041004100410000000D496BEFD85C7A43AFFCDA8B60EE4A3C13000000070000008C3080FA1E91E4400D496BEFD85C7A43AFFCDA8B60EE4A3C0600000048000000000001306CAE044898BAC57B46965FE70D496BEFD85C7A43AFFCDA8B60EE4A3C070000004800000092E3E22711A1E048AB0CE17705A05F850D496BEFD85C7A43AFFCDA8B60EE4A3C040000001F00000014000000520069006E00670074006F006E006500730000000D496BEFD85C7A43AFFCDA8B60EE4A3C170000001F0000000E00000073003200300030003000310000000D496BEFD85C7A43AFFCDA8B60EE4A3C050000001F0000004E0000007B00300030003000300035004100410041002D0030003000300031002D0030003000300032002D0030003000300030002D003000300030003000300030003000300030003000300030007D0000000D496BEFD85C7A43AFFCDA8B60EE4A3C1A0000000B000000FFFF5850544DCE4F784595C88698A9BC0F494EDC00001F0000002000000032003000310035003000360031003100540030003500340032003500340000000D496BEFD85C7A43AFFCDA8B60EE4A3C0C0000001F00000014000000520069006E00670074006F006E006500730000000000\*" FE_Dir)
,str path1=d1.FullPath
,out path1
,

and it doesn't show any result.

if run:

Macro Macro24
Code:
Copy      Help
run "$17$ 8A012E006401062031080300000000000000020000007E000000010000001100000050000000000045006E0065007200670079005F00500068006F006E0065005F004D006100780000005C005C003F005C0075007300620023007600690064005F00300062006200340026007000690064005F00320030003000380023003200380037003100310034003000310030003700340030003300380023007B00360061006300320037003800370038002D0061003600660061002D0034003100350035002D0062006100380035002D006600390038006600340039003100640034006600330033007D0000000D00000003D5150C17D0CE4790167B3F978721CC020000009A97D42643E626469E2B736DC0C92FDC0C0000001F0000002200000045006E0065007200670079005F00500068006F006E0065005F004D00610078000000932D058FCAABC54FA5ACB01DF4DBE59802000000480000006B46EA08A4E33643A1F3A44D2B5C438C0000741A595E96DFD3488D671733BCEE28BA3C6D783575B0B94988DD029876E11C01 4A050000440505203110030000001A00200000004073070000000000000000000000800200000B0000001900000014000000070000005400610072006A0065007400610020005300440000005300490044002D007B00320030003000300031002C002C00330031003900390038003300340035003200310036007D0000004A0065007200E100720071007500690063006F002000670065006E00E9007200690063006F0000007B00450046003200310030003700440035002D0041003500320041002D0034003200340033002D0041003200360042002D003600320044003400310037003600440037003600300033007D0000007B00340041004400320043003800350045002D0035004500320044002D0034003500450035002D0038003800360034002D003400460032003200390045003300430036004300460030007D0000007B00310041003300330046003700450034002D0041004600310033002D0034003800460035002D0039003900340045002D003700370033003600390044004600450030003400410033007D0000007B00390032003600310042003000330043002D0033004400370038002D0034003500310039002D0038003500450033002D003000320043003500450031004600350030004200420039007D0000007B00360038003000410044004600350032002D0039003500300041002D0034003000340031002D0039004200340031002D003600350045003300390033003600340038003100350035007D0000007B00320038004400380044003300310045002D0032003400390043002D0034003500340045002D0041004100420043002D003300340038003800330031003600380045003600330034007D0000007B00320037004500320045003300390032002D0041003100310031002D0034003800450030002D0041004200300043002D004500310037003700300035004100300035004600380035007D0000000D00000003D5150C17D0CE4790167B3F978721CC0F0000007A05A301D674804EBEA7DC4C212CE50A0200000013000000040000007A05A301D674804EBEA7DC4C212CE50A030000001F000000280000004A0065007200E100720071007500690063006F002000670065006E00E9007200690063006F0000007A05A301D674804EBEA7DC4C212CE50A0B00000013000000000000007A05A301D674804EBEA7DC4C212CE50A040000001500000000004073070000007A05A301D674804EBEA7DC4C212CE50A05000000150000000000F52D000000007A05A301D674804EBEA7DC4C212CE50A060000001500000000000040000000007A05A301D674804EBEA7DC4C212CE50A070000001F000000160000005400610072006A0065007400610020005300440000000D496BEFD85C7A43AFFCDA8B60EE4A3C050000001F000000320000005300490044002D007B00320030003000300031002C002C00330031003900390038003300340035003200310036007D0000000D496BEFD85C7A43AFFCDA8B60EE4A3C040000001F000000160000005400610072006A0065007400610020005300440000007A05A301D674804EBEA7DC4C212CE50A080000001F0000000200000000000D496BEFD85C7A43AFFCDA8B60EE4A3C0600000048000000000001306CAE044898BAC57B46965FE70D496BEFD85C7A43AFFCDA8B60EE4A3C1A0000000B00000000000D496BEFD85C7A43AFFCDA8B60EE4A3C07000000480000006001ED99FF17444C9D981D7A6F941921932D058FCAABC54FA5ACB01DF4DBE5980200000048000000BC5BF023DE152A4CA55BA9AF5CE412EF0D496BEFD85C7A43AFFCDA8B60EE4A3C170000001F0000000E00000073003200300030003000310000000000 BC020000B60206201907FB0000000200200000000000000000000000000000000000004936EB6580D00192E3E22711A1E048AB0CE17705A05F85FA0100000A0000000A00000027000000520069006E00670074006F006E00650073000000520069006E00670074006F006E006500730000007B00300030003000300035004100410041002D0030003000300031002D0030003000300032002D0030003000300030002D003000300030003000300030003000300030003000300030007D0000000D00000003D5150C17D0CE4790167B3F978721CC0A0000000D496BEFD85C7A43AFFCDA8B60EE4A3C020000001F0000000C0000006F00350041004100410000000D496BEFD85C7A43AFFCDA8B60EE4A3C13000000070000008C3080FA1E91E4400D496BEFD85C7A43AFFCDA8B60EE4A3C0600000048000000000001306CAE044898BAC57B46965FE70D496BEFD85C7A43AFFCDA8B60EE4A3C070000004800000092E3E22711A1E048AB0CE17705A05F850D496BEFD85C7A43AFFCDA8B60EE4A3C040000001F00000014000000520069006E00670074006F006E006500730000000D496BEFD85C7A43AFFCDA8B60EE4A3C170000001F0000000E00000073003200300030003000310000000D496BEFD85C7A43AFFCDA8B60EE4A3C050000001F0000004E0000007B00300030003000300035004100410041002D0030003000300031002D0030003000300032002D0030003000300030002D003000300030003000300030003000300030003000300030007D0000000D496BEFD85C7A43AFFCDA8B60EE4A3C1A0000000B000000FFFF5850544DCE4F784595C88698A9BC0F494EDC00001F0000002000000032003000310035003000360031003100540030003500340032003500340000000D496BEFD85C7A43AFFCDA8B60EE4A3C0C0000001F00000014000000520069006E00670074006F006E006500730000000000" ;;Ringtones

open folder correctly.
#2
There are two sets of Windows API filesystem functions - kernel and shell.
run uses shell functions.
FE_Dir uses kernel functions.

Only shell functions support itemidlists, as well as non-file objects.

There are shell API functions to enumerate files and non-file shell objects. QM does not have an easy wrapper function for it.

Example: Enumerate recycle bin items
In the example, replace the SHGetSpecialFolderLocation line to PidlFromStr:
Macro Macro2693
Code:
Copy      Help
;SHGetSpecialFolderLocation(0 CSIDL_BITBUCKET &pidlRB)
pidlRB=PidlFromStr("$17$ ...")
#3
Ok.
Thanks.
#4
In the example, replace the SHGetSpecialFolderLocation line to PidlFromStr:
Macro Macro2693
Code:
Copy      Help
;SHGetSpecialFolderLocation(0 CSIDL_BITBUCKET &pidlRB)
pidlRB=PidlFromStr("$17$ ...")


Forum Jump:


Users browsing this thread: 2 Guest(s)